Yes, I just did. It works fine for me.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>
  <archiveClasses>true</archiveClasses>     
  </configuration>
</plugin>   

It creates a jar name with the final name I specified

 ..
   <finalName>myproject</finalName>
 </build>

It adds it to the WEB-INF/lib folder. You have to do a
"mvn clean package". The simple goal war will not
recompile it and that might be the reason why you
don't see it.
This is a beginner's guess though. :)

Attila

> Date: Wed, 30 Aug 2006 13:15:51 +0200
> From: "Jeff Mutonho" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[email protected]>
> Subject: maven-war-plugin : <archiveClasses>
> 
> Has anyone successfully used the
> <archiveClasses>true</archiveClasses>
> parameter to bundles war class files into a jar?
> I have added it to my configuration section of
> maven-war-plugin , but it
> does not seem to have an effect.No classes jar is
> created.
> 
> -- 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to