Hey,
${gxt.version} 2.1.1 it's GXT version :

<groupId>com.extjs</groupId>
<artifactId>gxt</artifactId>
<version>${gxt.version}</version>
<type>jar</type>

Not Gwt !

Bye,

On 18/10/2010 13:53, Ron Wheeler wrote:
 Wrong version?

<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwt.version}</version>
<scope>runtime</scope>

<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gxt.version}</version>
<scope>runtime</scope>

Don't see 2.1.1 in Maven Central but do see 2.0.0
Is 2.1.1 found somewhere else?


Ron

On 18/10/2010 5:20 AM, Xavier Carpentier wrote:
 Hey,

I work to migrate Gwt project (2.1-SNAPSHOT version) to maven project and I have a problem on dependency.

Exception : "org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:compile (default) on project com.***.***.ui: artifact not found - Failure to find com.google.gwt:gwt-dev:jar:linux:2.1-SNAPSHOT in http://repository.codehaus.org/org/codehaus/mojo/ was cached in the local repository, resolution will not be reattempted until the update interval of codehaus-maven-repo has elapsed or updates are forced"

I use Maven 3.

Why this error ? How can I repair this ?

Look at my pom.xml :

<?xml version="1.0" encoding="UTF-8"?>
<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";>
<!--    POM generated by gwt-maven-plugin archetype  -->
<modelVersion>4.0.0</modelVersion>
<groupId>com.greenivory.greendget</groupId>
<artifactId>com.greendget.rss.ui</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>RssReader</name>
<properties>

<!-- convenience to define GWT version in one place -->
<gwt.version>2.1-SNAPSHOT</gwt.version>
<gxt.version>2.1.1</gxt.version>

<!--  tell the compiler we can use 1.5 -->
<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>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwt.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.greenivory.plumpeacock</groupId>
<artifactId>com.***.***.sdk.ui</artifactId>
<version>1.0-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.extjs</groupId>
<artifactId>gxt</artifactId>
<version>${gxt.version}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<!-- test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
</dependencies>

<repositories>
<repository>
<id>codehaus-maven-repo</id>
<name>Codehaus repo</name>
<url>http://repository.codehaus.org/org/codehaus/mojo/</url>
</repository>
<repository>
<id>google-maven-snapshot-repository</id>
<name>Google Maven Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/google-snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>

</repositories>

<build>
<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>
<runTarget>com.greendget.rss.ui.client.RssReader/Rss.html</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>
</plugins>
</build>

</project>


Regards,


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




--

Carpentier Xavier
Ingénieur Développement - x.carpent...@greenivory.com <mailto:x.carpent...@greenivory.com> - http://www.greenivory.com <http://www.greenivory.com/>

*GreenIvory Europe*
10 rue Saint Wendelin
67500 Haguenau
France  *GreenIvory America*
Suite 200
3608 Shannon Road
Durham NC 27707
USA
Tél.    +33 9 50 53 10 34       Tel.    +1 (617) 862-2319
Fax     +33 9 50 53 10 34       Fax     +1 (919) 493-8837
GSM     +33 6 68 81 87 68

Consider the environment. Don't print this e-mail unless you need to.
To avoid excessive data transfer, we've removed our logo.

Reply via email to