You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2008/07/15 11:17:26 UTC

[jira] Created: (MPLUGINTESTING-6) Support intra-project dependencies when preparing plugins for testing

Support intra-project dependencies when preparing plugins for testing
---------------------------------------------------------------------

                 Key: MPLUGINTESTING-6
                 URL: http://jira.codehaus.org/browse/MPLUGINTESTING-6
             Project: Maven 2.x Plugin Testing
          Issue Type: New Feature
          Components: plugin-testing-tools
            Reporter: Mark Hobson


Consider testing a plugin in the following multi-module project structure:

project
+- api
+- maven-plugin (dependencies: api)

PluginTestTool.preparePluginForUnitTestingWithMavenBuilds will only install a test version of the plugin into the test repository with dependency to the current version of the api module.  We really need a test version of the api module to also be installed into the test repository and the plugin dependency version updated accordingly.

For example, if the above project's version is 1.0-SNAPSHOT, we currently get the following test repository:

project:maven-plugin:testVersion (dependencies: project:api:1.0-SNAPSHOT)
project:api:1.0-SNAPSHOT

Whereas we want:

project:maven-plugin:testVersion (dependencies: project:api:testVersion)
project:api:testVersion

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira