It works fine using maven 1.0.2
I did'nt try maven 1.1beta-1
This is the only project I've that uses commons-attributes.
Please notice I'm using windows installer and had to copy "lib/endorsed"
from my maven 1.0.2 dir into maven 1.1 because xerces was required :
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
Plugin cache will be regenerated
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
I've made some test. My project extends a parent project (for
common-build and dependencies). When I manually merge project.xml, it
works fine.
When I get back to projet -extends- I get stackOverFlow.
Here are my project.xml, if it can gives some idea :
Parent projet.xml (project path : "/commons-build") :
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<pomVersion>3</pomVersion>
<id>commons-sandbox</id>
<groupId>com.capgemini</groupId>
<artifactId/>
<name>commons-sandbox</name>
<currentVersion>1.0</currentVersion>
<shortDescription>
Bac à sable pour le développement des composants communs
</shortDescription>
<description>
Bac à sable pour le développement des composants communs.
</description>
<url/>
<logo/>
<issueTrackingUrl>http://ubuntu:8080/scarab/issues</issueTrackingUrl>
<inceptionYear>2005</inceptionYear>
<gumpRepositoryId/>
<siteAddress>http://ubuntu/sandbox</siteAddress>
<siteDirectory>/var/www/sandbox</siteDirectory>
<developers>
<developer>
<id>ndeloof</id>
<name>Nicolas De Loof</name>
<email>[EMAIL PROTECTED]</email>
<roles/>
</developer>
</developers>
<contributors/>
<licenses/>
<versions/>
<reports>
<report>maven-dashboard-plugin</report>
</reports>
<repository>
<connection>
scm:cvs:pserver:[EMAIL PROTECTED]:2402/user2/commons/commons/cvsroot:sandbox</connection>
<developerConnection>
scm:cvs:pserver:[EMAIL PROTECTED]:2402/user2/commons/commons/cvsroot:sandbox</developerConnection>
</repository>
<organization>
<name>Capgemini</name>
<url>http://www.capgemini.com</url>
<logo>http://www.capgemini.com/international/logo.gif</logo>
</organization>
<properties/>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<aspectSourceDirectory/>
<integrationUnitTestSourceDirectory/>
<sourceModifications/>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>*.properties</include>
<include>*.xml</include>
</includes>
</resource>
</resources>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes/>
</unitTest>
<defaultGoal>jar:install</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<properties>
<description>API de normalisation des logs</description>
</properties>
</dependency>
</dependencies>
</project>
artifact project.xml :
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>${basedir}/../commons-build/project.xml</extend>
<id>ccc-configuration</id>
<name>configuration</name>
<currentVersion>0.1-SNAPSHOT</currentVersion>
<description>Outils autour de jakarta
commons-configuration</description>
<developers>
<developer>
<id>ndeloof</id>
<name>Nicolas De Loof</name>
<email>[EMAIL PROTECTED]</email>
<roles/>
</developer>
</developers>
<reports>
<report>maven-jcoverage-plugin</report>
<report>maven-tasks-plugin</report>
<report>maven-changes-plugin</report>
<report>maven-javadoc-plugin</report>
<report>maven-junit-report-plugin</report>
<report>maven-simian-plugin</report>
<report>maven-tasklist-plugin</report>
<report>maven-checkstyle-plugin</report>
<report>maven-jdepend-plugin</report>
<report>maven-jxr-plugin</report>
<report>maven-pmd-plugin</report>
</reports>
<dependencies>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.1</version>
<properties>
<eclipse.source>true</eclipse.source>
<description>Outil de configuration Apache
Jakarta</description>
</properties>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
<properties>
<eclipse.source>true</eclipse.source>
<description>Manipulation des types de base</description>
</properties>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${dependencies.spring.version}</version>
<type>jar</type>
<properties>
<eclipse.source>true</eclipse.source>
<description>Conteneur léger pour l'injection de
dépendances</description>
</properties>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${dependencies.spring.version}</version>
<type>jar</type>
<properties>
<eclipse.source>true</eclipse.source>
<description>Contextes pour l'injection de
dépendances</description>
</properties>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${dependencies.spring.version}</version>
<type>jar</type>
<properties>
<eclipse.source>true</eclipse.source>
<description>Contextes pour l'injection de
dépendances</description>
</properties>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring-support</artifactId>
<version>${dependencies.spring.version}</version>
<type>jar</type>
<properties>
<eclipse.source>true</eclipse.source>
<description>Support optionnel (jmx)</description>
</properties>
</dependency>
<dependency>
<groupId>commons-attributes</groupId>
<artifactId>commons-attributes-api</artifactId>
<version>2.1</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
<description>Annotations sous JDK 1.4</description>
<scope>compile,test,runtime</scope>
</properties>
</dependency>
<dependency>
<groupId>commons-attributes</groupId>
<artifactId>commons-attributes-compiler</artifactId>
<version>2.1</version>
<type>jar</type>
<properties>
<description>Annotations sous JDK 1.4</description>
<scope>compile</scope>
</properties>
</dependency>
<dependency>
<groupId>commons-attributes</groupId>
<artifactId>commons-attributes-plugin</artifactId>
<version>2.1</version>
<type>plugin</type>
<properties>
<description>Annotations sous JDK 1.4</description>
<scope>compile</scope>
</properties>
</dependency>
<dependency>
<groupId>cgey-commons</groupId>
<artifactId>cgey-commons-configuration</artifactId>
<version>1.2.4</version>
<properties>
<description>Librairie historique de
configuration</description>
<scope>compile</scope>
</properties>
</dependency>
</dependencies>
</project>
Brett Porter a écrit :
No, in fact it should be backwards compatible. The only plugins that have
required an update so far (findbugs) is because the project.xml that they
came with was invalid.
Does the exception occur on other projects using commons-attributes? Did it
work in 1.0.2? beta-1?
Thanks,
Brett
On 9/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I've tryed maven 1.1 beta2 on a simple project that uses
commons-attributs for metadata. I get StackOverflowException.
Does maven 1.1 has so much changes that it requires update from all
plugins ?
LA CONSTRUCTION A ╚CHOU╚
Fichier... D:\Maven
1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly
╚lement... ant:attribute-compiler
Ligne..... 43
Colonne... 62
java.lang.StackOverflowError
org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal
[java:compile] -- D:\Maven 1.1-beta-2\cache\commons-attrib
utes-plugin-2.1\plugin.jelly:43:62: <ant:attribute-compiler>
java.lang.StackOverflowError
at org.apache.maven.werkz.Goal.fire(Goal.java:637)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: D:\Maven
1.1-beta-2\cache\commons-attributes-plugin-2.1\plugin.jelly:43:62:
<ant:attri
bute-compiler> java.lang.StackOverflowError
at
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java
:690)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:267)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
MavenGoalTag.java:78)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:109)
at org.apache.maven.werkz.Goal.fire(Goal.java:656)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(
MavenAttainGoalTag.java:114)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.maven.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:103)
at org.apache.maven.werkz.Goal.firePreGoalCallbacks(Goal.java:708)
at org.apache.maven.werkz.Goal.fire(Goal.java:633)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
MÚmoire Finale : 3M/6M
Temps total : 10 secondes
Fini le : mercredi 14 septembre 2005 08:46:08 CEST
This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute, or
use this message or any part thereof. If you receive this message in error,
please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]