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

                 Key: MPMULTIPROJECT-70
                 URL: http://jira.codehaus.org/browse/MPMULTIPROJECT-70
             Project: maven-multiproject-plugin
          Issue Type: Bug
         Environment: Windows 2000 Professional.  Maven 1.1. Beta 3.
            Reporter: Matthew Purland
         Attachments: jira.zip

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.

-- 
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

        

Reply via email to