Issue Details (XML | Word | Printable)

Key: MPMULTIPROJECT-70
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Matthew Purland
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Multi-Project Plugin

Multiproject plugin not using dependencies when maven.jar.override = on

Created: 25/Aug/06 05:09 PM   Updated: 25/Aug/06 05:09 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive jira.zip (3.28 MB)

Environment: Windows 2000 Professional. Maven 1.1. Beta 3.


 Description  « Hide

When using the multiproject plugin with a project with multiple projects, dependencies defined in projectbase.xml, and all projects that have a project.xml file extend from projectbase.xml. If maven.jar.override = on is specified and the correct overridden jar artifactId is present then when running the test goal for a project from within multiproject, dependencies are given to unit tests that are run.

Please see attached zip file for more detailed information. When using attached file, please place the contents of "local_repo" into your local repository for a successful test run/workaround to provide proof of working vs. nonworking.

The only workaround I've found is to take the jars that are depended upon and place them into the local repository and depend on them as regular dependencies and take out maven.jar.override. However, this doesn't necessarily solve the problem that if you have a vendor jar that you can't place in ibiblio or a remote repository without setting up a maven repository server such as proximity or continuum.

I will try to provide a test in the future.



There are no entries against this issue.