finalName only affects the artifacts produced in target.

Otherwise, Maven uses the "proper" name derived from the pom.xml
groupId and artifactId to name the item.

There is no way to sync these names unless you change the name in the
artifactId.

Wayne

On 10/19/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to