Most likely you had the MyApp.1.0-2008***.jar in the
${warSourceDirectory}/WEB-INF/lib folder prior to running the build the
second time. Maybe you ran "mvn war:inplace" between the two builds?

HTH,
-Olivier

On Wed, 2008-04-30 at 15:30 -0400, Stanley Lee wrote:
> Hi,
> 
> I define a MyApp.war which depends on MyApp.jar. Like
> <dependency>
>             <groupId>com.mine</groupId>
>             <artifactId>MyApp</artifactId>
>             <version>1.0-SNAPSHOT</version>
> </dependency>
> 
> When I generate WAR, it runs fine in first time. In next run, it includes
> two MyApp jars: one is MyApp.1.0-2008***.jar, which is last build; another
> is MyApp.1.0-SNAPSHOT.jar, which is latest build.
> 
> My question is:
> - Why that redundant file MyApp.1.0-2008***.jar is there? How can I remove
> it?
> 
> Thanks.


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

Reply via email to