Use the groupid, artifactid, version and classifier parameters of the goal to achieve that
Ji Le 10 avr. 2012 19:51, "Mehul Sanghvi" <mehul.sang...@gmail.com> a écrit : > > Hi, > &g > > Hi, > > Below is the output of the maven-install-plugin being executed. > What do I have to do so that I can specify the name of the > installed artifact ? If you look at line 26, the artifact got renamed > to mandrage-module-rpm-1.4.0-bin.rpm and that is not > the name that it should have. The name should be the same as the source. > > 24: [2012-04-03_18-05-16] [INFO] --- > maven-install-plugin:2.3.1:install (default-install) @ > mandrake-module-rpm --- > 25: [2012-04-03_18-05-16] [INFO] Installing > > /opt/jenkins/slave/workspace/build-mandrake-master/mandrake-module-rpm/pom.xml > to > /opt/maven-cache/mandrake-master/repository/com/constantcontact/apps/mandrake/mandrake-module-rpm/1.4.0/mandrake-module-rpm-1.4.0.pom > 26: [2012-04-03_18-05-16] [INFO] Installing > > /opt/jenkins/slave/workspace/build-mandrake-master/mandrake-module-rpm/target/rpm/mandrake_20120403_180515-bin/RPMS/noarch/mandrake_20120403_180515-1.4.0-20120403_180515.noarch.rpm > to > /opt/maven-cache/mandrake-master/repository/com/constantcontact/apps/mandrake/mandrake-module-rpm/1.4.0/mandrake-module-rpm-1.4.0-bin.rpm > 27: [2012-04-03_18-05-16] [INFO] Installing > > /opt/jenkins/slave/workspace/build-mandrake-master/mandrake-module-rpm/target/rpmversion.properties > to > /opt/maven-cache/mandrake-master/repository/com/constantcontact/apps/mandrake/mandrake-module-rpm/1.4.0/mandrake-module-rpm-1.4.0-rpmversion.properties > 28: [2012-04-03_18-05-16] [INFO] > > > > > cheers, > > mehul > -- > Mehul N. Sanghvi > email: mehul.sang...@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >