[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-42) Import of POM Metadata does not account for System Properties
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Wed May 9 17:04:17 EDT 2012
[ https://issues.jboss.org/browse/SHRINKRES-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger updated SHRINKRES-42:
-------------------------------------
Labels: starter (was: )
> Import of POM Metadata does not account for System Properties
> -------------------------------------------------------------
>
> Key: SHRINKRES-42
> URL: https://issues.jboss.org/browse/SHRINKRES-42
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: impl-maven
> Affects Versions: 1.0.0-beta-6
> Reporter: Tomáš Schlosser
> Assignee: Andrew Rubinger
> Labels: starter
> Attachments: stack
>
>
> When using MavenDependencyResolver and dependencies with system scope, i.e.
> {noformat}
> <dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.6</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>
> {noformat}
> I get an exception saying that shrinkwrap requires absolute path.
> From trace: {code}Caused by: org.jboss.shrinkwrap.resolver.api.ResolutionException: Found 1 problems while building POM model from /home/tschloss/git/brms/pom.xml1/ [ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${java.home}/../lib/tools.jar @ org.jboss.qa:brms:5.3.0.BRMS-ER6, /home/tschloss/git/brms/pom.xml
> at org.jboss.shrinkwrap.resolver.impl.maven.MavenRepositorySystem.loadPom(MavenRepositorySystem.java:154)
> at org.jboss.shrinkwrap.resolver.impl.maven.MavenRepositorySystem.loadPom(MavenRepositorySystem.java:126)
> at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl.loadMetadataFromPom(MavenBuilderImpl.java:153)
> at org.jboss.qa.brms.container.tools.ContainerTestWrapper.getDroolsDependencies(ContainerTestWrapper.java:73)
> at org.jboss.qa.brms.container.tools.ContainerTestWrapper.createTestsEar(ContainerTestWrapper.java:35)
> at org.jboss.qa.brms.container.tools.ManualContainerTestWrapper.deployManual(ManualContainerTestWrapper.java:27)
> ... 79 more
> Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for org.jboss.qa:brms:5.3.0.BRMS-ER6
> [ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${java.home}/../lib/tools.jar @ {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list