I'm persuading my Team Leader to use Maven as build tool, but I have to
demonstrate him that with Maven we'll handle our project dependencies
effortless.

I've obtained good results, but I have some problems with some jar libraries
provided, through a quite complex installation process, by a software.

So I've tried to create an "empty" Maven artifact which has these libraries
as system dependencies (yes, the dependency scope is system).

After I installed the artifact, I inserted it as a compile dependency for
another project called, for example, ABC. But when I try to resolve projects
dependencies I obtain the following message:

    [WARNING] POM for ''<artifact-info>" is invalid. It will be ignored for
artifact resolution.
                       Reason: Failed to validate POM for project
<artifact-info>

And the resolution fails.

Instead if I put these libraries as system dependencies of project ABC,
everything works. I think, because it's not written in Maven documentation,
that system dependencies are not transitive....I'm right ??

But my question is: I can use these external libraries as dependencies
without put them in a local repository ??

Thank you for help,

Claudio Di Vita
-- 
View this message in context: 
http://www.nabble.com/Add-third-parties-libraries-as-dependencies-tf4964483s177.html#a14220690
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to