Author: kmorin Date: 2009-08-26 12:40:39 +0200 (Wed, 26 Aug 2009) New Revision: 1587 Modified: trunk/guix-test-gwt/pom.xml Log: add missing dependencies Modified: trunk/guix-test-gwt/pom.xml =================================================================== --- trunk/guix-test-gwt/pom.xml 2009-08-26 10:28:12 UTC (rev 1586) +++ trunk/guix-test-gwt/pom.xml 2009-08-26 10:40:39 UTC (rev 1587) @@ -12,45 +12,63 @@ <artifactId>guix-test-gwt</artifactId> <dependencies> - <dependency> - <groupId>com.google.gwt</groupId> - <artifactId>gwt-servlet</artifactId> - <scope>runtime</scope> - </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-servlet</artifactId> + <scope>runtime</scope> + </dependency> - <dependency> - <groupId>com.google.gwt</groupId> - <artifactId>gwt-user</artifactId> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-user</artifactId> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>com.google.gwt</groupId> - <artifactId>gwt-dev</artifactId> - <type>zip</type> - <classifier>${platform}-libs</classifier> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-dev</artifactId> + <type>zip</type> + <classifier>${platform}-libs</classifier> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>com.google.gwt</groupId> - <artifactId>gwt-dev</artifactId> - <classifier>${platform}</classifier> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-dev</artifactId> + <classifier>${platform}</classifier> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>com.google.code.gwtx</groupId> - <artifactId>gwtx</artifactId> - <version>1.5.0</version> -</dependency> + <dependency> + <groupId>com.google.code.gwtx</groupId> + <artifactId>gwtx</artifactId> + <version>1.5.0</version> + </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> - </dependencies> + <dependency> + <groupId>net.sf.gwt-widget</groupId> + <artifactId>gwt-widgets</artifactId> + <version>0.2.0</version> + </dependency> + <dependency> + <groupId>com.google.code.gwt-math</groupId> + <artifactId>gwt-math</artifactId> + <version>2.0.3</version> + </dependency> + + <dependency> + <groupId>com.google.code.gwtx</groupId> + <artifactId>gwtx</artifactId> + <version>1.5.0</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + </dependencies> + <!-- ************************************************************* --> <!-- *** Build Settings ****************************************** --> <!-- ************************************************************* --> @@ -62,117 +80,115 @@ <name>guix-test-gwt</name> <description>Guix test for GWT</description> - <build> - <resources> - <resource> - <directory>${project.basedir}/src/main/java</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <directory>${project.basedir}/target/generatedFiles/java</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - </resources> - <plugins> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>maven-jetty-plugin</artifactId> - </plugin> + <build> + <resources> + <resource> + <directory>${project.basedir}/src/main/java</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <directory>${project.basedir}/target/generatedFiles/java</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>maven-jetty-plugin</artifactId> + </plugin> <!-- plugin i18n --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-i18n-plugin</artifactId> - <version>1.0.0-alpha-1</version> - </plugin> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <version>1.0.0-alpha-1</version> + </plugin> <!-- configure the GWT-Maven plugin --> - <plugin> - <groupId>com.totsp.gwt</groupId> - <artifactId>maven-googlewebtoolkit2-plugin</artifactId> - <version>2.0-RC1</version> - <configuration> - <logLevel>INFO</logLevel> - <compileTargets> - <value>org.nuiton.guix.Index</value> - </compileTargets> - <runTarget>org.nuiton.guix.Index/Index.html</runTarget> - <style>DETAILED</style> - <noServer>false</noServer> - <extraJvmArgs>-Xmx512m</extraJvmArgs> + <plugin> + <groupId>com.totsp.gwt</groupId> + <artifactId>maven-googlewebtoolkit2-plugin</artifactId> + <version>2.0-RC1</version> + <configuration> + <logLevel>INFO</logLevel> + <compileTargets> + <value>org.nuiton.guix.Index</value> + </compileTargets> + <runTarget>org.nuiton.guix.Index/Index.html</runTarget> + <style>DETAILED</style> + <noServer>false</noServer> + <extraJvmArgs>-Xmx512m</extraJvmArgs> <!-- this parameter is VERY important with automatic mode - has to match the version in your declared deps --> <!-- if this does not match (default if left out is 1.5.3) you will have mysterious errors --> - <gwtVersion>${gwt.version}</gwtVersion> - </configuration> - <executions> - <execution> - <goals> - <!--goal>mergewebxml</goal--> - <goal>compile</goal> - <goal>test</goal> - </goals> - </execution> - </executions> - </plugin> + <gwtVersion>${gwt.version}</gwtVersion> + </configuration> + <executions> + <execution> + <goals> + <goal>compile</goal> + </goals> + </execution> + </executions> + </plugin> <!-- Use the dependency plugin to unpack gwt-dev-PLATFORM-libs.zip --> <!-- (this is a replacement for the old "automatic" mode - useful if you don't have GWT installed already, or you just want a maven way to handle gwt deps) --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack</id> - <phase>compile</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>com.google.gwt</groupId> - <artifactId>gwt-dev</artifactId> - <version>${gwt.version}</version> - <classifier>${platform}-libs</classifier> - <type>zip</type> - <overWrite>false</overWrite> - <outputDirectory>${settings.localRepository}/com/google/gwt/gwt-dev/${gwt.version}</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>unpack</id> + <phase>compile</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-dev</artifactId> + <version>${gwt.version}</version> + <classifier>${platform}-libs</classifier> + <type>zip</type> + <overWrite>false</overWrite> + <outputDirectory>${settings.localRepository}/com/google/gwt/gwt-dev/${gwt.version}</outputDirectory> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> <!-- If you want to use the target/web.xml file mergewebxml produces, tell the war plugin to use it. Also, exclude what you want from the final artifact here. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <configuration> - <warSourceDirectory>${basedir}/target/generatedFiles/webapp</warSourceDirectory> - <warSourceExcludes>.gwt-tmp/**</warSourceExcludes> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <warSourceDirectory>${basedir}/target/generatedFiles/webapp</warSourceDirectory> + <warSourceExcludes>.gwt-tmp/**</warSourceExcludes> + </configuration> + </plugin> <!-- tell the compiler we can use 1.5 --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> - <plugin> + <plugin> <groupId>org.nuiton.guix</groupId> <artifactId>maven-guix-plugin</artifactId> <version>${project.version}</version> @@ -198,11 +214,11 @@ <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> </plugin> - </plugins> - </build> + </plugins> + </build> -<profiles> - <profile> + <profiles> + <profile> <id>gwt-dev-windows</id> <properties> <platform>windows</platform> @@ -225,32 +241,32 @@ <family>mac</family> </os> </activation> - </profile> - <profile> - <id>gwt-dev-linux</id> - <activation> - <activeByDefault>true</activeByDefault> - <os> - <name>Linux</name> - </os> - </activation> - <properties> - <platform>linux</platform> - </properties> - </profile> -</profiles> + </profile> + <profile> + <id>gwt-dev-linux</id> + <activation> + <activeByDefault>true</activeByDefault> + <os> + <name>Linux</name> + </os> + </activation> + <properties> + <platform>linux</platform> + </properties> + </profile> + </profiles> -<repositories> - <repository> - <id>gwt-maven</id> - <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> - </repository> -</repositories> -<pluginRepositories> - <pluginRepository> - <id>gwt-maven-plugins</id> - <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> - </pluginRepository> -</pluginRepositories> + <repositories> + <repository> + <id>gwt-maven</id> + <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>gwt-maven-plugins</id> + <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> + </pluginRepository> + </pluginRepositories> </project> \ No newline at end of file
participants (1)
-
kmorin@users.nuiton.org