You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rodrigozc <ro...@gmail.com> on 2011/09/15 13:46:04 UTC

Project With Many Artifacts - Maven Install Artifacts Problem

Hi,

I have a project which generates six artifacts, one jar and five zips, when
I install them in repository all zips are installed with the same name.

Look the output of install below:
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-1.1.jar*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix-trapper\1.1\*za
bbix-trapper-1.1.jar*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_ia_32-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_ia_64-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_parisc_32-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\za
bbix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_parisc_64-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\za
bbix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-linux_x86_32-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabb
ix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-linux_x86_64-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabb
ix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
[INFO] Installing C:\Documents and
Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-win_x86_32-1.1-bin.zip*
to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
-trapper\1.1\*zabbix-trapper-1.1-bin.zip*

Can I fix that?

Thanks!!!

--
View this message in context: http://maven.40175.n5.nabble.com/Project-With-Many-Artifacts-Maven-Install-Artifacts-Problem-tp4806469p4806469.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


RE: Project With Many Artifacts - Maven Install Artifacts Problem

Posted by Robert Scholte <rf...@codehaus.org>.


Check the build-helper-maven-plugin 


http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
 

-Robert


> Date: Thu, 15 Sep 2011 04:46:04 -0700
> From: rodrigo.zampieri@gmail.com
> To: users@maven.apache.org
> Subject: Project With Many Artifacts - Maven Install Artifacts Problem
> 
> Hi,
> 
> I have a project which generates six artifacts, one jar and five zips, when
> I install them in repository all zips are installed with the same name.
> 
> Look the output of install below:
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-1.1.jar*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix-trapper\1.1\*za
> bbix-trapper-1.1.jar*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_ia_32-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
> -trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_ia_64-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
> -trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_parisc_32-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\za
> bbix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-hpux_parisc_64-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\za
> bbix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-linux_x86_32-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabb
> ix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-linux_x86_64-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabb
> ix-trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> [INFO] Installing C:\Documents and
> Settings\92035067\workspace\zabbix-trapper\target\*zabbix-trapper-win_x86_32-1.1-bin.zip*
> to \.m2\book-repository\br\com\claro\zabbixtrapper\zabbix
> -trapper\1.1\*zabbix-trapper-1.1-bin.zip*
> 
> Can I fix that?
> 
> Thanks!!!
> 
> --
> View this message in context: http://maven.40175.n5.nabble.com/Project-With-Many-Artifacts-Maven-Install-Artifacts-Problem-tp4806469p4806469.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>  		 	   		  
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org