[jboss-dev] where is this source 1.3 coming from?
Scott Stark
sstark at redhat.com
Thu Sep 4 23:53:43 EDT 2008
This only happens during a mvn release:prepare. If I do a release:clean
I'm able to run a compile. Something the release plugin is using is
setting the source incorrectly.
Scott Stark wrote:
> I'm not able to compile the jboss-man project currently because
> something is pulling in a -source 1.3 setting which does not work with
> annotations.
>
> [531][valkyrie: trunk]$ mvn compile
> [INFO] Scanning for projects...
> [INFO] NOTE: Using release-pom:
> /Users/svn/JBossAS/projects/jboss-man/trunk/release-pom.xml in reactor
> build.
> [INFO] NOTE: Using release-pom:
> /Users/svn/JBossAS/projects/jboss-man/trunk/metatype/release-pom.xml
> in reactor build.
> [INFO] NOTE: Using release-pom:
> /Users/svn/JBossAS/projects/jboss-man/trunk/managed/release-pom.xml in
> reactor build.
> [INFO] NOTE: Using release-pom:
> /Users/svn/JBossAS/projects/jboss-man/trunk/build/release-pom.xml in
> reactor build.
> [INFO] Reactor build order:
> [INFO] JBoss Metatype
> [INFO] JBoss Managed
> [INFO] JBoss Managed Distribution Build
> [INFO] JBoss Managed Parent POM
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JBoss Metatype
> [INFO] task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 53 source files to
> /Users/svn/JBossAS/projects/jboss-man/trunk/metatype/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /Users/svn/JBossAS/projects/jboss-man/trunk/metatype/src/main/java/org/jboss/metatype/api/annotations/CompositeKey.java:[35,1]
> annotations are not supported in -source 1.3
> (try -source 1.5 to enable annotations)
> @Target({ElementType.METHOD})
>
> /Users/svn/JBossAS/projects/jboss-man/trunk/metatype/src/main/java/org/jboss/metatype/plugins/types/DefaultMetaTypeFactory.java:[91,72]
> generics are not supported in -source 1.3
>
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list