[ 
https://issues.apache.org/jira/browse/SLING-5662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15270281#comment-15270281
 ] 

Robert Munteanu commented on SLING-5662:
----------------------------------------

The plug-in pages don't make it immediately obvious, but do you know how the 
plug-in checks for the license URL? The Sling projects ( and I assume Felix and 
Jackrabbit as well ) inherit the license settings from the Apache parent pom ( 
see 
http://svn.apache.org/viewvc/maven/pom/tags/apache-17/pom.xml?view=markup#l45 
for the license block ).

Running {{mvn help:effective-pom}} does show a correct license POM block for 
{{org.apache.sling.api}}

{code:xml}
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

{code}

> Maven license report extracted URLs are 404
> -------------------------------------------
>
>                 Key: SLING-5662
>                 URL: https://issues.apache.org/jira/browse/SLING-5662
>             Project: Sling
>          Issue Type: Bug
>          Components: Distribution
>            Reporter: Bruce Edge
>            Priority: Trivial
>
> The maven license plugin that extracts licenses from 3rd party components:
>               <groupId>org.codehaus.mojo</groupId>
>               <artifactId>license-maven-plugin</artifactId>
>               <version>1.8</version>
> The extracted URLs for all of the sling components all 404.
>      (The Apache Software License, Version 2.0) Apache Sling API 
> (org.apache.sling:org.apache.sling.api:2.4.2 - 
> http://sling.apache.org/org.apache.sling.api)
>      (The Apache Software License, Version 2.0) Apache Sling Commons OSGi 
> support (org.apache.sling:org.apache.sling.commons.osgi:2.2.2 - 
> http://sling.apache.org/org.apache.sling.commons.osgi)
>      (The Apache Software License, Version 2.0) Apache Sling Event Support 
> (org.apache.sling:org.apache.sling.event:3.3.0 - 
> http://sling.apache.org/org.apache.sling.event)
>      (The Apache Software License, Version 2.0) Apache Sling Wrapper Bundle 
> for the JCR API (org.apache.sling:org.apache.sling.jcr.jcr-wrapper:2.0.0 - 
> http://sling.apache.org/org.apache.sling.jcr.jcr-wrapper)
>      (The Apache Software License, Version 2.0) Apache Sling Query 
> (org.apache.sling:org.apache.sling.query:3.0.0 - 
> http://sling.apache.org/org.apache.sling.query)
>      (The Apache Software License, Version 2.0) Apache Sling Default POST 
> Servlets (org.apache.sling:org.apache.sling.servlets.post:2.3.6 - 
> http://sling.apache.org/org.apache.sling.servlets.post)
> The same is true for all of the felix & jackrabbit components. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to