What version of Maven are you using? There are bugs about this, but they all appear to have been resolved prior to 2.0.2.
-Stephen On 2/22/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > 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] > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
