You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Weintraub <qa...@gmail.com> on 2009/02/03 19:07:55 UTC

Deployment of non-Maven Files into Maven Repository

We have a project that produces about a dozen separate JAR files.
These JARS are in turn used by a project that is built with Maven. I
can do the deployment like this:

$ mvn deploy:deploy-file -DrepositoryId="snapshot" \
    -Durl="http://aladdin.solbright.com:8082/nexus/content/repositories/snapshots/"
\
    -Dfile="_build/tmp/api-lib/adbilling.jar" \
    -DgroupId="com.solbright" -DartifactId="adbilling" \
    -Dversion="1.0-SNAPSHOT" \
    -Dpackaging="jar" -DgeneratePom="true"

For each one. That works. It goes into my Maven repository, and my
Maven project can do the download. However, I am using Hudson which
makes it a bit difficult to use a shell script (not impossible, but
difficult).

It would be nicer if I could use a pom.xml to set all of these
settings. Actually, what I really want is a way in a POM file where I
can specify all of these files at once. That is, specify in the pom
all of the files that need to be deployed.

Is that possible without specifying multiple POM files?

--
David Weintraub
qazwart@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org