[
https://issues.apache.org/jira/browse/KARAF-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083949#comment-16083949
]
ASF GitHub Bot commented on KARAF-5164:
---------------------------------------
GitHub user grgrzybek opened a pull request:
https://github.com/apache/karaf/pull/329
[KARAF-5164] Use Maven reactor to resolve artifacts needed by VerifyM…
…ojo and AssemblyMojo
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/karaf grgrzybek-KARAF-5164-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/329.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #329
----
commit 58827d8b6e47d1b1c11b33ab942acadfbcbc3f80
Author: Grzegorz Grzybek <[email protected]>
Date: 2017-07-12T13:06:58Z
[KARAF-5164] Use Maven reactor to resolve artifacts needed by VerifyMojo
and AssemblyMojo
----
> karaf-maven-plugin fails to verify artifacts if only available within local
> reactor
> -----------------------------------------------------------------------------------
>
> Key: KARAF-5164
> URL: https://issues.apache.org/jira/browse/KARAF-5164
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 4.2.0
> Reporter: Patrick Fink
> Assignee: Grzegorz Grzybek
> Priority: Minor
> Labels: maven
>
> When the karaf-maven-plugin is used as part of the build process (e.g. to
> verify features), it currently requires that the verified artifacts are
> available in the local repository while it's not sufficient that they're
> avaible within the local reactor.
> This means, build processes which contain the karaf-maven-plugin to verify
> features, fail when the user don't wants to install artifacts in their local
> repository. So,e.g.
> `mvn clean install` works fine and like expected while commands like
> `mvn clean package` or `mvn clean verify` will fail with resolution errors
> (if the artifacts just built are not already available within the local repo).
> The karaf-maven-plugin should support artifacts which are not available in
> the local repository, but in the local reactor.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)