On Friday, May 6, 2011 1:28:10 AM UTC+1, Juan Pablo Gardella wrote: > > If you use maven resolve this problem with this: > > <dependency> > <groupId>javax.validation</groupId> > <artifactId>validation-api</artifactId> > <version>1.0.0.GA <http://1.0.0.ga/></version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>javax.validation</groupId> > <artifactId>validation-api</artifactId> > <version>1.0.0.GA <http://1.0.0.ga/></version> > <classifier>sources</classifier> > <scope>provided</scope> > </dependency> > > You need to define in Ivy this dependencies. You must declare the > dependency plus the classifier. Ivy support this > <https://issues.apache.org/jira/browse/IVY-418>but > I don't know Ivy to paste the code that define a dependency with classifier >
<?xml version="1.0" encoding="UTF-8"?> <ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd" *xmlns:m="http://ant.apache.org/ivy/maven"*> <dependency org="javax.validation" name="validation-api" rev="1.0.0.GA"> <artifact name="validation-api"/> <artifact name="validation-api" *m:classifier="sources"*/> </dependency> I had already tried this yesterday and did not work. But now it's working:) -- 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.
