[jboss-dev] where is this source 1.3 coming from?

Carlo de Wolf cdewolf at redhat.com
Fri Sep 5 02:28:36 EDT 2008


Yes, that is the problem. See
https://jira.jboss.org/jira/browse/JBBUILD-470 and associated thread.

I'm also seeing:
[carlo at nymph metatype]$ grep carlo release-pom.xml 
      <url>file:///home/carlo/work/repository.jboss.org/maven2</url>
    <maven.repository.root>/home/carlo/work/repository.jboss.org/maven2</maven.repository.root>
    <jboss.repository.root>/home/carlo/work/repository.jboss.org</jboss.repository.root>
    <maven.cvs.root>/home/carlo/work/repository.jboss.org/maven2</maven.cvs.root>

Could those become a problem?

Carlo

On Fri, 2008-09-05 at 08:19 +0200, Carlo de Wolf wrote:
> I've seen this before. The source setting didn't end up in the
> release-pom.xml.
> 
> Can't recall where that issue went.
> 
> Carlo
> 
> On Thu, 2008-09-04 at 20:53 -0700, Scott Stark wrote:
> > 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
> > 
> > _______________________________________________
> > jboss-development mailing list
> > jboss-development at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-development
> 
> _______________________________________________
> 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