incorrect definition of property maven.repo.local in modules/integration/pom.xml
--------------------------------------------------------------------------------

                 Key: AXIS2-3438
                 URL: https://issues.apache.org/jira/browse/AXIS2-3438
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Integration
    Affects Versions: nightly
         Environment: Windows, JRE 1.5.0_12, maven 2.0.8
            Reporter: Etienne Dube
            Priority: Minor
         Attachments: modules_integration_pom_xml.diff

Line 577 in modules/integration/pom.xml sets the maven.repo.local ant property 
as follows:
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>

It breaks the build if the maven repository is not at the default location. The 
ant property should be set in the following way instead:
<property name="maven.repo.local" value="${settings.localRepository}"/>

Thus, the settings.localRepository maven property is correctly propagated as 
the maven.repo.local ant property.

Also, it would be worth taking a look at these lines in the following files, as 
they may exhibit the same problem (though I haven't encountered any issue 
related to this while doing a "mvn install"):

modules/samples/script/mail-test.xml: 32
    <property name="maven.repo.local" value="${user.home}/.maven/repository/"/>

modules/samples/script/wsdl-test.xml: 22
     <property name="maven.repo.local" value="${user.home}/.maven/repository/" 
/>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to