maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] (MRRESOURCES-53) use of remote resources plugin breaks ability to use test-jar artifacts
Date Mon, 08 Jul 2013 17:19:05 GMT


Daniel Kulp closed MRRESOURCES-53.

       Resolution: Fixed
    Fix Version/s: 1.5
         Assignee: Daniel Kulp

Added a new configuration option to allow specifying the scopes used for resolving dependencies.
 Also, made the default "runtime" instead of "test" in most cases.
> use of remote resources plugin breaks ability to use test-jar artifacts
> -----------------------------------------------------------------------
>                 Key: MRRESOURCES-53
>                 URL:
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Scott Carey
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 1.5
>         Attachments:
> I have a dead simple project configuration that breaks if I inherit from org.apache:apache
. If I disable the remote resources plugin portion, it works.  
> The plugin is trying to resolve a test-jar artifact during the compile phase, but such
an artifact does not exist until the test-compile phase.
> To reproduce: unpack the project provided.  run 'mvn clean compile'.   that will fail.
 test-compile will work.  If you install, then compile will work because it will find the
test-jar in the local repo.  You must not have any related snapshot artifacts in the local
repo related to this project to reproduce.
> If you break the inheritance to the apache parent, it will work.  Or, you can override
the usage of the remote resources plugin and disable it to get the project to function.
> It seems to work if I assign the plugin to operate in a late phase -- such as prepare-package.
 Perhaps all that is required is that the plugin operate in as late a phase as it can by default?
> If it must operate in compile however, it cannot look for dependencies that are not generated
until test-compile such as test-jar types.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message