I am running mvn install and have this in my ear pom.xml:

   <build>

       <finalName>npi-${env}-${project.version}</finalName>

       <plugins>

           <plugin>
               <artifactId>maven-ear-plugin</artifactId>
               <configuration>
                   <version>1.4</version>
                   <archive>
                       <manifest>
                           <addClasspath>true</addClasspath>
                       </manifest>
                   </archive>
                   <modules>
                       <webModule>
                           <groupId>org.delta.npi.project-web</groupId>
                           <artifactId>npi-webproject</artifactId>
                           <contextRoot>npi</contextRoot>
                       </webModule>
                   </modules>
               </configuration>
           </plugin>


       </plugins>
   </build>


in target, I get npi-uat-2.0.2.ear created, but in my repository I get
project-ear-2.0.2.ear

How can I synch the names and append the ${env} to it?



--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Reply via email to