![]() With a pom file: mvn deploy:deploy-file -DgeneratePom=false -DrepositoryId=nexus -Durl= -DpomFile=pom.xml -Dfile=target/project-1.0.0.jar ![]() You can deploy files using the "deploy-file" goal on the Maven deploy plugin.Įxample without a pom file: mvn deploy:deploy-file -DgroupId=com.somecompany -DartifactId=project -Dversion=1.0.0 -DgeneratePom=true -Dpackaging=jar -DrepositoryId=nexus -Durl= -Dfile=target/project-1.0.0.jar Using curl you can do this with: curl -v -u admin:admin123 -upload-file pom.xml Maven "deploy-file" Deployment You can do an HTTP PUT of a file into /content/repositories//. ![]() ![]() (See this article for Nexus Repo 3) Direct Deploy There are several ways to upload artifacts into Nexus Repo 2 without running a build. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |