nexus3上传jar包

1.选择仓库位置

nexus3上传jar包_第1张图片

 

 2.填写jar包信息

nexus3上传jar包_第2张图片

 

 3.查看上传的jar包信息

nexus3上传jar包_第3张图片

 

 nexus3上传jar包_第4张图片

 

 上传成功。

4.maven的settings.xml完整配置

xml version="1.0" encoding="UTF-8"?>




<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  
  <localRepository>L:\Tools\MavenRepositorylocalRepository>
  

  

  
  <pluginGroups>
    
  pluginGroups>

  
  <proxies>
    
  proxies>

  
  <servers>
    

    <server>
      
      <id>my-releaseid>
      
      <username>testusername>
      <password>123456password>
    server>


    
  servers>

  
  <mirrors>
    
    
    
    <mirror>
      <id>alimavenid>
      <name>aliyun mavenname>
      <url>http://maven.aliyun.com/nexus/content/groups/public/url>
      <mirrorOf>centralmirrorOf>        
    mirror>
    
    
    <mirror>
      
      <id>my-releaseid>
      
      <name>my-release-repositoryname>
      <url>http://192.168.83.230:8081/repository/my-release/url>
      <mirrorOf>!central,*mirrorOf>        
    mirror>
    
    
  mirrors>

  
  <profiles>
    

    
    <profile>    
    <id>jdk-1.8id>    
     <activation>    
          <activeByDefault>trueactiveByDefault>    
          <jdk>1.8jdk>    
     activation>    
        <properties>    
        <maven.compiler.source>1.8maven.compiler.source>    
        <maven.compiler.target>1.8maven.compiler.target>    
        <maven.compiler.compilerVersion>1.8maven.compiler.compilerVersion>    
        properties>    
    profile>
    
  profiles>

  
settings>

你可能感兴趣的:(nexus3上传jar包)