[jboss-user] [JBoss Tools] New message: "Re: JBoss Maven Problem"

Gilles Dupont Tagne Tagne do-not-reply at jboss.com
Tue Jan 26 03:30:48 EST 2010


User development,

A new message was posted in the thread "JBoss Maven Problem":

http://community.jboss.org/message/522206#522206

Author  : Gilles Dupont Tagne Tagne
Profile : http://community.jboss.org/people/tagnegilles

Message:
--------------------------------------------------------------
Hi Peter, I found out a solution how to delete the dev directory before building the package. I put this plugin in my pom.xml
 
               <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>1.3</version>
                    <executions>
                         <execution>
            <id>DeleteDevDirectoryTask</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <inherited>false</inherited>
            <configuration>
                 <tasks>
                      <delete dir="${basedir}/WebContent/WEB-INF/dev"/>
                 </tasks>
            </configuration>
          </execution>
                    </executions>
               </plugin>

 
Now i am able to deploy the project without a problem. it's work. Thanks for your advices

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/522206#522206




More information about the jboss-user mailing list