add-third-party goal uses wrong url for license
-----------------------------------------------

                 Key: MOJO-1727
                 URL: https://jira.codehaus.org/browse/MOJO-1727
             Project: Mojo
          Issue Type: Bug
          Components: license
    Affects Versions: license-maven-plugin-beta-3
            Reporter: Farrukh Najmi


In my project I have the following pom which is the super-pom for many of the 
sub-projects (modules) of my project.

{code}
<project ...>
    ...
    <name>myProject</name>
    <url>http://www.acme.com/</url>
    <licenses>
      <license>
        <name>ACME End User License Agreement(EULA) V1</name>
        <url>http://www.acme.com/licenses/acme-enduser-license-1.0.html</url>
        <distribution>manual</distribution>
      </license>
    </licenses>
    ...
</project>
{code}

Note that the project.url is different from the project.licenses.license.url.

When I run the license:add-third-party goal I find that the URL used in the 
THIRD-PARTY.txt file generated by the goal is the project.url  instead of 
project.licenses.license.url.

I have made sure that the project.licenses.license.name matches the value 
specified for my_license in license.properties.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to