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

Paul Gier pgier at redhat.com
Fri Sep 5 10:46:53 EDT 2008


I don't think the "generateReleasePoms" option in the release plugin 
ever worked properly.  So I think you are right that that is what is 
causing the problem.  In addition I don't think we need to use this 
option.  One of the main things that it's supposed to accomplish is to 
resolve all the plugins to specific versions.  But this is already done 
by maven 2.0.9 and our own parent pom, so the plugin versions are 
already locked down in the regular poms.

I removed this option from the most recent parent pom 4.0.CR1, so I 
think if we just update the MC builds to a more recent version it will 
be ok.  I will release the parent as 4.0 today so that we have a GA version.


Carlo de Wolf wrote:
> 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
>>     
>
> _______________________________________________
> 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