I have a jar file and an accompanying POM file that describes the jar
file's metadata (name etc.) and dependencies, but contains no
repo/deployment info. Can I upload both files to my (Sonatype Nexus or
local/filesystem) repo so that they end up as one project/artifact, just
as they would if I only had the jar and let the pom be generated
automatically by the deploy:deploy-file plugin?
If I run
mvn deploy:deploy-file -Dfile=mylib.jar DpomFile=mypom.pom
-DgeneratePom=false -Durl=<repourl>
, it apparently just uploads the jar under the name <groupid-artifactid
from mypom.pom>-<timestamp>.pom.
So how do I do this correctly?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]