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

Vladimir Sitnikov commented on MNG-6677:
----------------------------------------

{quote}Please make a proposal how you would like the next POM version look 
like.{quote}

For instance:
{code:xml}
<licenseExpression>(Apache-2.0 AND MIT) OR (Apache-2.0 AND 
BSD-3-Clause)</licenseExpression>
<licenses>
  <license>
      <name>Tomcat BSD-Style License</name>
      <url>tomcat.apache.org/license-bsd.txt</url>
  </license>
  <license>
      <name>Tomcat MIT-Style License</name>
      <url>tomcat.apache.org/license-mit.txt</url>
  </license>
</licenses>
{code}

> Ability to declare machine-readable license identifier for project
> ------------------------------------------------------------------
>
>                 Key: MNG-6677
>                 URL: https://issues.apache.org/jira/browse/MNG-6677
>             Project: Maven
>          Issue Type: Improvement
>          Components: POM
>    Affects Versions: 3.6.1
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>
> Current model for license is something, yet it is not machine-friendly.
> Developers tend to put random data into 
> {{<license><name>...</name><url>...</url>}}, and it is hard to analyze in 
> automatic way.
> What if we could use SPDX license identifiers/expressions for license 
> information?
> Note: currently POM allows to list multiple <license> tags, and it is not 
> clear how they should be treated (and? or?). So a machine-readable field 
> should probably allow for AND/OR license expressions.
> So it would be nice if there was a way to declare a machine-readable license 
> tag.
> I'm not affiliated with SPDX, however OSGi use those ids: 
> https://osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module-bundle-license



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to