[jbpm-dev] [Design of JBoss jBPM] - another maven assembly question
tom.baeyens@jboss.com
do-not-reply at jboss.com
Sat Apr 25 02:10:28 EDT 2009
In the distro, I have finaName specified in the pom build and in the assembly execution:
<project>
| ...
| <artifactId>jbpm-distro</artifactId>
| ...
| <build>
| <finalName>jbpm-${project.version}</finalName>
|
| <plugins>
| <plugin>
| <artifactId>maven-assembly-plugin</artifactId>
| <version>2.2-beta-3</version>
| <executions>
| <execution>
| <id>create-distribution-package</id>
| <phase>package</phase>
| <goals>
| <goal>single</goal>
| </goals>
| <configuration>
| <finalName>jbpm-${version}</finalName>
| ...
|
and in the assembly descriptor
<assembly>
| <id>jbpm.distribution</id>
| <finalName>jbpm-${version}</finalName>
|
still mvn stubbornly installs the distribution file as jbpm-distro-${version}.zip
[INFO] [install:install]
| [INFO] Installing C:\wsjbpm4tbaeyens\jbpm4\modules\distro\pom.xml to C:\Documents and Settings\tom\.m2\repository\org\jbpm\jbpm4\jbpm-distro\4.0.0-SNAPSHOT\jbpm-distro-4.0.0-SNAPSHOT.pom
| [INFO] Installing C:\wsjbpm4tbaeyens\jbpm4\modules\distro\target\jbpm.jar to C:\Documents and Settings\tom\.m2\repository\org\jbpm\jbpm4\jbpm-distro\4.0.0-SNAPSHOT\jbpm-distro-4.0.0-SNAPSHOT.jar
| [INFO] Installing C:\wsjbpm4tbaeyens\jbpm4\modules\distro\target\jbpm-4.0.0-SNAPSHOT.zip to C:\Documents and Settings\tom\.m2\repository\org\jbpm\jbpm4\jbpm-distro\4.0.0-SNAPSHOT\jbpm-distro-4.0.0-SNAPSHOT.zip
| [INFO] ------------------------------------------------------------------------
| [INFO] BUILD SUCCESSFUL
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 32 seconds
| [INFO] Finished at: Sat Apr 25 11:50:19 CEST 2009
| [INFO] Final Memory: 22M/1016M
| [INFO] ------------------------------------------------------------------------
|
anyone got an idea what i'm missing ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226716#4226716
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226716
More information about the jbpm-dev
mailing list