Whick project failed? your shared component project or a project that use it?
Emmanuel
Nicolas De Loof a écrit :
Hello,
I've just trying to migrate my project to maven2.
It is a shared component, so I have to setup a well designed POM to make
transitive dependencies works as expected.
It defines optional classes to be use with other librairies, that I've
marked in POM as <optional>true</optional>
If I do this, mvn install doesn't download those jars and compilation
fails.
If I don't mark them as optional, maven2 downloads librairies from repo
and all is ok, but resulting POM isn't what I expected.
What's wrong ?
Nico.
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]