On 13-12-16 17:31, Tester wrote:
Hi,
I'm able to use the mvn deploy-file commando to upload all the child
libraries (powermock-core, powermock-reflect, ...), with for example, the
following command:
mvn deploy:deploy-file -DpomFile=xxx\powermock-core-1.2.5.pom
-Dfile=xxx\powermock-core-1.2.5.jar -DrepositoryId=third-party-repo -Durl=
http://xxx/repository/3rd_party/
However, I'm still missing the parent pom file powermock-1.2.5.pom on my
nexus. However, with deploy-file I'm unable to upload only the parent file.
Any idea how I can get the parent pom file uploaded as well?
You probably want to specify the packaging option to upload a pom
artifact:
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html#packaging
Note: The reason why we need to upload it to our own nexus, is because
powermock 1.2.5 is not available on the maven repository anymore.
With kind regards,
Frederik
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]