i don“t think you need linux libraries if you use webapp instance of war you
can find the pluging information in
http://mojo.codehaus.org/gwt-maven-plugin/

or if you use war i have this pom


<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/maven-v4_0_0.xsd"*>

<modelVersion>4.0.0</modelVersion>

<parent>

<artifactId>xxx</artifactId>

<groupId>xxx</groupId>

<version>1.0-SNAPSHOT</version>

</parent>

<groupId>xxx</groupId>

<artifactId>xxx</artifactId>

<packaging>war</packaging>

<version>1.0-SNAPSHOT</version>

<name>xxx</name>

<url>http://maven.apache.org</url>

<properties>

<!-- convenience to define GWT version in one place -->

<gwt.version>2.0.4</gwt.version>

<spring.version>3.0.0.RELEASE</spring.version>

<maven.compiler.source>1.6</maven.compiler.source>

<maven.compiler.target>1.6</maven.compiler.target>

<jstl.version>1.1.2</jstl.version>

<gwtHome>C:/*Actinver*/*gwt*-2.0.4</gwtHome>

</properties>

<dependencies>

<!-- GWT dependencies (from central *repo*) -->

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>*gwt*-*servlet*</artifactId>

<version>${gwt.version}</version>

<scope>runtime</scope>

</dependency>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>*gwt*-user</artifactId>

<version>${gwt.version}</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>com.smartgwt</groupId>

<artifactId>*smartgwt*</artifactId>

<version>2.2</version>

</dependency>

 </dependencies>

<build>

<finalName>*Capitales*-web</finalName>

<outputDirectory>war/WEB-INF/classes</outputDirectory>

<plugins>

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>*gwt*-*maven*-*plugin*</artifactId>

<version>1.2</version>

<executions>

<execution>

<goals>

<goal>compile</goal>

<goal>test</goal>

</goals>

</execution>

</executions>

<configuration>

<!--gwtHome>${gwtHome}</gwtHome-->

<runTarget>CapitalesWeb.jsp</runTarget>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>*maven*-compiler-*plugin*</artifactId>

<version>2.0.2</version>

<configuration>

<source>${maven.compiler.source}</source>

<target>${maven.compiler.target}</target>

</configuration>

</plugin>

<plugin>

<artifactId>*maven*-war-*plugin*</artifactId>

<version>2.1-beta-1</version>

<configuration>

<warSourceDirectory>war</warSourceDirectory>

</configuration>

</plugin>

</plugins>

</build>

</project>


2010/7/28 Ovidiu Drumia <[email protected]>

> Hey,
>
> I've started using gwt. I'm currently trying to integrate my new
> project within a maven module suite, using the codehaus gwt-maven
> plugin. My pom.xml file contains gwt dependencies. All is well until I
> try to go beyond the 1.x gwt version. The pom.xml contains the
> following code:
> ...
>    <properties>
>               <gwt-version>x.x.x</gwt-version>
>     </properties>
> ...
>       <dependencies>
> ...
>               <dependency>
>                        <groupId>com.google.gwt</groupId>
>                        <artifactId>gwt-servlet</artifactId>
>                        <version>${gwt-version}</version>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>com.google.gwt</groupId>
>                        <artifactId>gwt-user</artifactId>
>                        <version>${gwt-version}</version>
>                        <scope>provided</scope>
>                </dependency>
>        </dependencies>
>        <build>
>                <plugins>
>                        <plugin>
>                                <groupId>org.codehaus.mojo</groupId>
>                                <artifactId>gwt-maven-plugin</artifactId>
>                                <version>1.1</version>
>                                <executions>
>                                        <execution>
>                                                <goals>
>                                                        <goal>clean</goal>
>                                                        <goal>compile</goal>
>                                                        <goal>eclipse</goal>
>                                                </goals>
>                                        </execution>
>                                </executions>
>                        </plugin>
>                </plugins>
>        </build>
>
> Now until after version 1.7.1 the project compiles. When I try to go
> beyond it, it first tells me to manually download the gwt-
> dev-2.0.4.jar and then install it. I've done that, but afterwards it
> tells me to do the same thing with gwt-dev-2.0.4-linux-lib.zip, but
> the maven2 repo does not contain such a file.
> Will the gwt team publish the remaining needed libraries onto the mvn
> repo?
> Is there any way to use the gwt-maven-plugin and gwt 2.0.4?
> Should I stick to gwt 1.7.1 until the gwt team provides the needed
> linux libraries?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to