You're right about endorsed dir. I've corrected my path (removed any reference to maven 1.0.2) and it works without endorsed dir.
Perhaps I may have read the release note ?

About commons attribute plugin, maven fails in "ant:attribute-compiler" goal. If I remove commons-attribute plugin from dependencies it also fails in "ant:echo" (java.lang.reflect.InvocationTargetException). It seems commons-attributes is working fine and StackOverflow is only a side effect of another bug.

When I merge my parent + project POM, it works fine.

What can I do to trace maven process ? -X dump lot's of interesing debugs that I cannot analyse.

Nico.

PS: I had to remove <packageName> from my POM. It is documented on maven .apache.org/reference to be part of POM v3 XSD but sax parser found it invalid.


Brett Porter a écrit :

On 9/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
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


If you read the line in the release notes and in the downloads page, you have to make sure maven 1.0.2 is not before 1.1-beta-2 in your PATH. You can't use the 1.0.2 shell script with 1.1-beta-2, and you should not need to copy lib/endorsed.

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.


ok... and if you remove commons-attributes it works also? What led you to believe it was commons-attributes that was a problem?

Thanks,
Brett


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]

Reply via email to