Install nexus and upload jar package

Time:2020-3-31

Install nexus under windows and configure

1, Download

2. Unzip and start

3. Login, user name: admin, password: admin123

4. Set Maven central warehouse to aliyun

5. Add 3rdparty and 3rdp in Maven public

6. Configure the local Maven file as follows:

  <servers>
     <server>  
            <id>3rdParty</id>  
            <username>admin</username>  
            <password>admin123</password>  
        </server> 
  </servers>
  <mirrors>
    <mirror>
      <id>maven-public</id>
      <mirrorOf>central</mirrorOf>
      <name>awbeci maven respository</name>
      <url>http://localhost:8081/repository/maven-public/</url>
    </mirror>
  </mirrors>

7. Upload the jar package, and enter the command at the location of the jar package:

mvn deploy:deploy-file 
  -DgroupId=your-groupid 
  -DartifactId=your-artifactid
  -Dversion=your-version
  -Dpackaging=jar 
  -Dfile=yourfile
  -Durl=your-3rdparty-url
  -DrepositoryId=your-repository-id

Recommended Today

Configure Apache to support PHP in the Apache main configuration file httpd.conf Include custom profile in

In Apache’s main configuration file / conf/ http.conf Add at the bottom Include “D:workspace_phpapache-php.conf” The file path can be any In D: workspace_ Create under PHP file apache- php.conf file Its specific content is [html] view plain copy PHP-Module setup LoadFile “D:/xampp/php/php5ts.dll” LoadModule php5_module “D:/xampp/php/php5apache2_2.dll” <FilesMatch “.php$”> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch “.phps$”> SetHandler application/x-httpd-php-source </FilesMatch> […]