Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] resolving a POM with systemPaths


Hello Aetherian,

I am referencing an artifact that has system scopes, for example

<dependency>
<groupId>google</groupId>
<artifactId>gdata-spreadsheet</artifactId>
<version>3.0</version>
<type>jar</type>
<scope>system</scope>
<systemPath>${project.basedir}/lib/gdata/gdata-spreadsheet-3.0.jar</systemPath>
</dependency>

This causes Aether's dependency resolution to fail and return no results. If I remove all system scopes from the referenced POM, Aether works fine. Is it possible to have Aether ignore dependencies with a system scope?

Any help is greatly appreciated.

thanks,
Michael

Excerpt of the error:

20:39:02 WARN NaetherRepository - Invalid artifact descriptor for com.slackworks:core:jar:0.0.5-SNAPSHOT: 14 problems were encountered while building the effective model for com.slackworks:core:0.0.5-SNAPSHOT [ERROR] 'dependencies.dependency.systemPath' for google:gdata-spreadsheet:jar must specify an absolute path but is ${project.basedir}/lib/gdata/gdata-spreadsheet-3.0.jar @
....


Back to the top