Thanks, I'll check my pom.xml comparing it with yours. Thank you very much. I'll tell you
On 8 jun, 07:07, Juan Pablo Gardella <gardellajuanpa...@gmail.com> wrote: > See the pom.xml in this > sample<https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home> > . > > Juan > > 2011/6/8 SrArcos <srar...@gmail.com> > > > Hello all, I am trying to compile a GWT proyect with Maven but I am > > not able to package the proyect into a war file. I'm with this for two > > weeks and I'm going crazy. Let's see if anyone can help me, please. > > > The structure or my proyect is this: > > > [code] > > > +JRE System Library (libraries) > > +Maven Dependencies (libraries) > > +test > > +test-classes > > +pom.xml > > +src > > +-main > > | > > +-java > > | | > > | +-gwt/srarcos/library > > | | > > | +-META-INF > > | | | > > | | +-persistence.xml > > | | > > | +-log4j.properties > > | > > +-resources > > | > > +-webapp > > | > > +-Library > > | > > +-WEB-INF > > | | > > | +-lib > > | | > > | +-applicationContext.xml > > | | > > | +-web.xml > > | > > +-index.html > > | > > +-login.jsp > > > [/code] > > > This is my pom.... > > > [code] > > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// > >www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > >http://maven.apache.org/xsd/maven-4.0.0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > > <packaging>war</packaging> > > <name>Library</name> > > <groupId>gwt.srarcos</groupId> > > <artifactId>Library</artifactId> > > <version>1.0.0-SNAPSHOT</version> > > > <reporting> > > <outputDirectory>src/main/webapp</outputDirectory> > > </reporting> > > <properties> > > <project.build.sourceEncoding>ISO-8859-1</ > > project.build.sourceEncoding> > > <java.source>1.6</java.source> > > <java.target>1.6</java.target> > > <maven.compiler.source>1.5</maven.compiler.source> > > <maven.compiler.target>1.5</maven.compiler.target> > > </properties> > > > <build> > > <plugins> > > <plugin> > > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>gwt-maven-plugin</artifactId> > > <version>2.2.0</version> > > <configuration> > > > <module>gwt.srarcos.library.Library</module> > > > <hostedWebapp>src/main/webapp</hostedWebapp> > > <runTarget>index.html</runTarget> > > <gwtVersion>2.2.0</gwtVersion> > > <logLevel>INFO</logLevel> > > <style>OBFUSCATED</style> > > > <webXml>src/main/webapp/WEB-INF/web.xml</webXml> > > </configuration> > > <executions> > > <execution> > > > <phase>prepare-package</phase> > > <goals> > > <goal>compile</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-clean-plugin</artifactId> > > <configuration> > > <filesets> > > <fileset> > > > <directory>src/main/webapp/library</directory> > > </fileset> > > <fileset> > > > <directory>src/main/webapp/WEB-INF/classes</directory> > > </fileset> > > </filesets> > > </configuration> > > </plugin> > > <plugin> > > <artifactId>maven-war-plugin</artifactId> > > <version>2.0.1</version> > > <configuration> > > <archiveClasses>true</archiveClasses> > > > <warSourceDirectory>src/main/webapp</warSourceDirectory> > > > <webXml>src/main/webapp/WEB-INF/web.xml</webXml> > > </configuration> > > </plugin> > > </plugins> > > <sourceDirectory>src/main/java</sourceDirectory> > > > <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory> > > <resources> > > <resource> > > <directory>src/main/resources</directory> > > </resource> > > </resources> > > </build> > > > <repositories> > > <repository> > > <id>repo</id> > > <name>repo</name> > > <url>http://127.0.0.1/artifactory/repo</url> > > </repository> > > </repositories> > > <pluginRepositories> > > <pluginRepository> > > <id>repo</id> > > <name>repo</name> > > <url>http://127.0.0.1/artifactory/repo</url> > > </pluginRepository> > > </pluginRepositories> > > <dependencies> > > <dependency> > > <groupId>antlr</groupId> > > <artifactId>antlr</artifactId> > > <version>2.7.6</version> > > </dependency> > > <dependency> > > <groupId>commons-codec</groupId> > > <artifactId>commons-codec</artifactId> > > <version>1.4</version> > > </dependency> > > <dependency> > > <groupId>commons-collections</groupId> > > <artifactId>commons-collections</artifactId> > > <version>3.1</version> > > </dependency> > > <dependency> > > <groupId>commons-io</groupId> > > <artifactId>commons-io</artifactId> > > <version>1.4</version> > > </dependency> > > <dependency> > > <groupId>dom4j</groupId> > > <artifactId>dom4j</artifactId> > > <version>1.6.1</version> > > </dependency> > > <dependency> > > <groupId>com.google.gwt</groupId> > > <artifactId>gwt-servlet</artifactId> > > <version>2.2.0</version> > > <scope>runtime</scope> > > </dependency> > > <dependency> > > <groupId>com.google.gwt</groupId> > > <artifactId>gwt-user</artifactId> > > <version>2.2.0</version> > > <scope>provided</scope> > > </dependency> > > <dependency> > > <groupId>javax.validation</groupId> > > <artifactId>validation-api</artifactId> > > <version>1.0.0.GA</version> > > </dependency> > > <dependency> > > <groupId>org.json</groupId> > > <artifactId>json</artifactId> > > <version>20090211</version> > > </dependency> > > <dependency> > > <groupId>com.googlecode.gwtupload</groupId> > > <artifactId>gwtupload</artifactId> > > <version>0.6.3-compat</version> > > </dependency> > > <dependency> > > <groupId>org.hibernate</groupId> > > <artifactId>hibernate-core</artifactId> > > <version>3.6.0.Final</version> > > </dependency> > > <dependency> > > > <groupId>org.hibernate.javax.persistence</groupId> > > > <artifactId>hibernate-jpa-2.0-api</artifactId> > > <version>1.0.0.Final</version> > > </dependency> > > <dependency> > > <groupId>org.hibernate</groupId> > > <artifactId>hibernate-validator</artifactId> > > <version>4.1.0.Final</version> > > </dependency> > > <dependency> > > <groupId>org.icepush</groupId> > > <artifactId>icepush</artifactId> > > <version>2.0.0</version> > > </dependency> > > <dependency> > > <groupId>org.icepush</groupId> > > <artifactId>icepush-gwt</artifactId> > > <version>2.0.0</version> > > </dependency> > > <dependency> > > <groupId>javassist</groupId> > > <artifactId>javassist</artifactId> > > <version>3.12.0.GA</version> > > </dependency> > > <dependency> > > <groupId>javax.transaction</groupId> > > ... > > leer más » -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.