Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: plugin-testing-tools
-
Labels:None
-
Number of attachments :
Description
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