What version of Maven and Java are you using? I just rebuilt trunk using "mvn clean install" and it worked for me on MacOSX with Maven 2.2.1 and Java 1.6.0_20.
-Donald On 7/19/10 12:26 PM, Karan Malhi wrote: > I checked out sources and did mvn clean install, but build failed to > compile. Here is the partial output: > > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java:[122,27] > incompatible types; inferred type argument(s) java.lang.Object do not > conform to bounds of type variable(s) T > found : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T> > required: java.lang.Object > > /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/CustomConstraintValidatorFactoryTest.java:[67,73] > incompatible types; inferred type argument(s) java.lang.Object do not > conform to bounds of type variable(s) T > found : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T> > required: java.lang.Object > > /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/xml/ValidationParserTest.java:[68,35] > incompatible types; inferred type argument(s) java.lang.Object do not > conform to bounds of type variable(s) T > found : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T> > required: java.lang.Object > >
