From: <sha...@us...> - 2010-10-18 17:10:26
|
Revision: 2399 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2399&view=rev Author: shadowtm Date: 2010-10-18 17:10:19 +0000 (Mon, 18 Oct 2010) Log Message: ----------- Fixing GWT problems by changing the scope of the servlet to compile so that it would be visible to the gwt maven plugin which runs during the compile phase. Modified Paths: -------------- trunk/autosparql/pom.xml trunk/pom.xml Modified: trunk/autosparql/pom.xml =================================================================== --- trunk/autosparql/pom.xml 2010-10-18 16:34:09 UTC (rev 2398) +++ trunk/autosparql/pom.xml 2010-10-18 17:10:19 UTC (rev 2399) @@ -14,30 +14,17 @@ <name>AutoSPARQL</name> <version>${dllearner.version}</version> - <properties> - - <!-- convenience to define GWT version in one place --> - <gwt.version>2.0.4</gwt.version> - - <!-- tell the compiler we can use 1.6 --> - <maven.compiler.source>1.6</maven.compiler.source> - <maven.compiler.target>1.6</maven.compiler.target> - - </properties> - <dependencies> <!-- GWT dependencies (from central repo) --> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-servlet</artifactId> - <version>${gwt.version}</version> - <scope>runtime</scope> + <scope>compile</scope> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> - <version>${gwt.version}</version> <scope>provided</scope> </dependency> @@ -45,7 +32,6 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.7</version> <scope>test</scope> </dependency> @@ -69,7 +55,6 @@ <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> - <version>1.2.15</version> <type>jar</type> <scope>compile</scope> </dependency> @@ -89,7 +74,6 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> - <version>1.2</version> <executions> <execution> <goals> @@ -101,7 +85,6 @@ </executions> <configuration> <runTarget>org.dllearner.autosparql.Application/Application.html</runTarget> - <localWorkers/> </configuration> </plugin> <!-- If you want to use the target/web.xml file mergewebxml produces, Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-10-18 16:34:09 UTC (rev 2398) +++ trunk/pom.xml 2010-10-18 17:10:19 UTC (rev 2399) @@ -17,6 +17,8 @@ <dllearner.version>1.0-SNAPSHOT</dllearner.version> <protege.version>1.0-SNAPSHOT</protege.version> <evalplugin.version>1.0-SNAPSHOT</evalplugin.version> + <!-- convenience to define GWT version in one place --> + <gwt.version>2.0.4</gwt.version> </properties> <modules> @@ -91,6 +93,11 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>gwt-maven-plugin</artifactId> + <version>1.2</version> + </plugin> </plugins> </pluginManagement> </build> @@ -290,6 +297,17 @@ <version>1.2.143</version> </dependency> + <!--GWT Dependencies--> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-servlet</artifactId> + <version>${gwt.version}</version> + </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-user</artifactId> + <version>${gwt.version}</version> + </dependency> </dependencies> </dependencyManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |