Hello,

I'm trying to write a plugin ("maven-jet-compiler") that uses some eclipse jars. As they are not available on ibiblio, I first tried to use a <systemPath> to point ot my {eclipse.home} :

<dependency>
           <groupId>org.eclipse.core</groupId>
           <artifactId>runtime</artifactId>
           <version>3.2.0</version>
           <scope>system</scope>
<systemPath>${eclipse.home}/plugins/org.eclipse.core.runtime_3.2.0.v20060603.jar</systemPath>
</dependency>

The plugin compiles well as expected.

Now, in another maven project, I include this plugin. When runing maven, I get a strange POM validation failure :

POM Location: Artifact [info.jmonit:maven-jet-compiler:pom:1.0.0-SNAPSHOT]
Validation Messages:

[0] For dependency Dependency {groupId=org.eclipse.core, artifactId=boot, version=3.1.100, type=jar}: system-scoped dependency must specify an absolute path systemPath.


The POM installed in my local repo as the expected <systemPath>. What's wrong ? Doesn't maven use my profile properties when reading plugins POM ? mvn -X doesn't give me more infos.

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]

Reply via email to