-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
The deploy plugin accepts a classifier parameter (-Dclassifier=) - use this with the values 'tests', 'test-sources' and 'sources' and it should work. See also [1]. Cheers, Johan [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html ranicki wrote: > HI, > > i have several files in one directory of my snapshots-repository. The main > artifact, e.g. > > artifact-name-1.0-SNAPSHOT.jar > > and corresponding files like > > artifact-name-1.0-SNAPSHOT-tests.jar > artifact-name-1.0-SNAPSHOT-test-sources.jar > artifact-name-1.0-SNAPSHOT-sources.jar > > Now i want to copy these artifacts into a second repository by using > mvn-deploy-cmd, e.g: > > mvn deploy:deploy-file -DrepositoryId=... -DuniqueVersion=false > -Durl=file://... -DgroupId=... -DartifactId=... -Dversion=<new Version> > -Dpackaging=jar -Dfile=/.../artifact-name-1.0-SNAPSHOT.jar > > But this cmd only copies the main artifact! How can i deploy the > corresponding files as well? > > Thanks for your help. - -- you too? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ2bjIpHYnED7evioRAratAJ9xYAg3Mr+zLvNCN0kDKL2jVyr7rgCdH5iE 0jS/kpPEvEoYotli0/b1JtM= =SQZk -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org