0 Replies Latest reply on Apr 25, 2009 2:01 AM by Tom Baeyens

    another maven assembly question

    Tom Baeyens Master

      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 ?