<gwt.version>2.1-SNAPSHOT</gwt.version>
which is in
<repositories>
<!-- until gwt 2.1.0 gets final -->
<repository>
<id>google-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>
<name>Google Web Toolkit Repository Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
2010/10/18 Ron Wheeler <[email protected]>:
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Olivier
http://twitter.com/olamy
http://www.linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]