You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2012/11/05 22:35:13 UTC
[jira] (MASSEMBLY-616) do not included artifacts with scope system
as dependencies
[ https://jira.codehaus.org/browse/MASSEMBLY-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MASSEMBLY-616:
--------------------------------------
Description:
If you are building assembly with dependencies included:
{code:xml}
<useTransitiveDependencies>true</useTransitiveDependencies>
{code}
and one of dependencies has scope like that:
{code:xml}
<dependencies>
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
{code}
then assembly plugin tries to fetch that artifact from repository. Artifact of course is not there.
was:
If you are building assembly with dependencies included:
<useTransitiveDependencies>true</useTransitiveDependencies>
and one of dependencies has scope like that:
<dependencies>
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
then assembly plugin tries to fetch that artifact from repository. Artifact of course is not there.
> do not included artifacts with scope system as dependencies
> -----------------------------------------------------------
>
> Key: MASSEMBLY-616
> URL: https://jira.codehaus.org/browse/MASSEMBLY-616
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.3
> Environment: FreeBSD 8, 64bit, openjdk6/7
> Reporter: Radim Kolar
>
> If you are building assembly with dependencies included:
> {code:xml}
> <useTransitiveDependencies>true</useTransitiveDependencies>
> {code}
> and one of dependencies has scope like that:
> {code:xml}
> <dependencies>
> <dependency>
> <groupId>jdk.tools</groupId>
> <artifactId>jdk.tools</artifactId>
> <version>1.6</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>
> </dependencies>
> {code}
> then assembly plugin tries to fetch that artifact from repository. Artifact of course is not there.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira