You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/12/28 00:48:49 UTC
[jira] [Commented] (MASSEMBLY-616) do not included artifacts with
scope system as dependencies
[ https://issues.apache.org/jira/browse/MASSEMBLY-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072290#comment-15072290 ]
Michael Osipov commented on MASSEMBLY-616:
------------------------------------------
Is the JAR included at all? What do you expect to see?
> do not included artifacts with scope system as dependencies
> -----------------------------------------------------------
>
> Key: MASSEMBLY-616
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-616
> Project: Maven 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 was sent by Atlassian JIRA
(v6.3.4#6332)