[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Problem with GWT 2.4
|
I am not able to reproduce the problem. Using clean m2e 1.1-SNAPSHOT
installation, the following trivial project shows both validation-api
and validation-api:sources as dependencies. Are you using m2e-wtp for
web development?
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>gwt-test</groupId>
<artifactId>test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<classifier>sources</classifier>
</dependency>
</dependencies>
</project>
--
Regards,
Igor
On 11-10-07 5:53 AM, Ludovic Pénet wrote:
Dear all,
I have a problem with the version of m2eclipse packages in Eclipse
Indigo and GWT 2.4.
GWT 2.3 had an issue with maven, as the gwt-servlet package include some
classes from javax.validation (see
http://code.google.com/p/google-web-toolkit/issues/detail?id=5468 )
In GWT 2.4, this is solved by a dependency of gwt-user on both
javax.validation:validation-api jar and
javax.validation:validation-api sources jar
(extract from mvn dependency:tree :
[INFO] +- com.google.gwt:gwt-user:jar:2.4.0:compile
[INFO] | +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] | \-
javax.validation:validation-api:jar:sources:1.0.0.GA:compile
).
When I use maven from the command line, both packages are downloaded and
compilation is ok.
When I import the project in eclipse, then compile, I noted that :
1) only the source jar is downloaded and referenced in the project
2) it is not downloaded in expected dir, along with a few other jars, in
target/ instead of target/<myapp>/WEB-INF/lib/
I can live with point 2 (but would prefer to have everything at the
right place), as I always package using command line mavne.
But point 1 is a blocker for me.
Is this a bug ?
Or is there something to configure ?
Thanks in advance,
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users