On 4/16/07, Andreas Andreou <[EMAIL PROTECTED]> wrote:

Force an earlier version to the maven-war-plugin, i.e.
open the pom.xml file and right after
<artifactId>maven-war-plugin</artifactId>
add
<version>2.0.2</version>

As mentioned before by Alexandru, you'll have to make some changes to the
AppModule class, i.e. remove the Id and Contribute annotations.



Thanks, I also have to modify pom.xml with the followings:

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-war-plugin</artifactId>
               <version>2.0.2</version>
               <configuration>
                   <archiveClasses>true</archiveClasses>
               </configuration>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-resources-plugin</artifactId>
               <version>2.2</version>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-eclipse-plugin</artifactId>
               <version>2.3</version>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-clean-plugin</artifactId>
               <version>2.1</version>
           </plugin>


And now it's works :)
Thanks
Zsombor

Reply via email to