Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 2.1.0
-
Fix Version/s: None
-
Component/s: POM
-
Labels:None
-
Environment:Windows Vista
-
Complexity:Intermediate
-
Number of attachments :
Description
If a system path dependency is used, the depencies are not included.
I cannot build my project anymore and I'm stuck.
This is the error I get:
[WARNING] POM for 'net.sf:microlog-instrument:pom:1.1.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[DEBUG] Reason: Failed to validate POM for project net.sf:microlog-instrument at
Artifact [net.sf:microlog-instrument:pom:1.1.1:compile]
[DEBUG]
Validation Errors:
[DEBUG] For managed dependency Dependency {groupId=com.sun.wtk, artifactId=jsr21
1, version=2.2, type=jar}: system-scoped dependency must specify an absolute pat
h systemPath.
[DEBUG] For managed dependency Dependency {groupId=com.sun.wtk, artifactId=jsr08
2, version=2.2, type=jar}: system-scoped dependency must specify an absolute pat
h systemPath.
[DEBUG] For managed dependency Dependency {groupId=com.sun.wtk, artifactId=jsr75
, version=2.2, type=jar}: system-scoped dependency must specify an absolute path
systemPath.
[DEBUG] For managed dependency Dependency {groupId=com.sun.wtk, artifactId=wma20
, version=2.2, type=jar}: system-scoped dependency must specify an absolute path
systemPath.
Issue Links
| This issue relates to: | ||||
| MNG-4148 | Apply profiles from settings.xml to POMs built from the repository |
|
|
|
In your POM I see {{<systemPath>${wtk.home}/lib/jsr211.jar</systemPath>}}. The error message suggests that the property wtk.home was not resolved (hence no absolute path) so you should check your environmental setup.