Re: Formal identification of license in a POM license element

2022-02-12 Thread Gary Gregory
Hi Michael,

I'm looking for an intersection where Maven and this CFF plugin can be made
to work together, I don't know where that is. I'd be willing to offer a PR
here or there but there would need to be agreement on what the
solution would be.

Gary

On Sat, Feb 12, 2022, 04:48 Michael Osipov  wrote:

> https://issues.apache.org/jira/browse/MNG-6677
>
> Gary, don't confuse an ID with a name. Those are two different things. I
> guess adding an ID element is currently impossible. Even if, what about
> expressions SPDX supports? How to mdel that?
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


Re: Formal identification of license in a POM license element

2022-02-12 Thread Michael Osipov

https://issues.apache.org/jira/browse/MNG-6677

Gary, don't confuse an ID with a name. Those are two different things. I 
guess adding an ID element is currently impossible. Even if, what about 
expressions SPDX supports? How to mdel that?


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Formal identification of license in a POM license element

2022-02-11 Thread Bernd Eckenfels
There is some discussion about this here: 
https://github.com/spdx/spdx-maven-plugin/issues/24

Personally I used the SPX URL for the Pom entry (but that has the disadvantage 
that some auditors want a tagged Repo location to the license). I think the 
SPDX maven plug-in can compare the url.

Here are some OSI sourced entries as well:

https://github.com/OpenSourceOrg/licenses/tree/master/licenses

Gruss
Bernd

--
http://bernd.eckenfels.net

Von: Gary Gregory 
Gesendet: Friday, February 11, 2022 7:48:58 PM
An: Maven Developers List 
Betreff: Formal identification of license in a POM license element

Hi All:

While researching GitHub's citation support [1], I found that there is a
plugin to convert a pom.xml into a CFF file [2]. I'd like to generate a CFF
file for Apache Commons Components like Commons Lang, Commons IO, and so
on. This plugin works but does not generate a license field [3] because the
POM license element does not hold a slot to identify a license with a
formal ID, in this case, the Linux Foundation SPDX ID [4]
https://spdx.dev/ids/

Any thoughts about supporting such a field for example "spdxID" or even
just "id" ?


   1. 
   2. 
   3. Apache-2.0 
   4. Apache License, Version 2.0
   5. https://www.apache.org/licenses/LICENSE-2.0.txt
   6. repo
   7. A business-friendly OSS license
   8. 
   9. 


?
Gary
[1]
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
[2] https://github.com/hexatomic/cff-maven-plugin
[3] https://github.com/hexatomic/cff-maven-plugin/issues/28
[4] https://spdx.dev/ids/


Formal identification of license in a POM license element

2022-02-11 Thread Gary Gregory
Hi All:

While researching GitHub's citation support [1], I found that there is a
plugin to convert a pom.xml into a CFF file [2]. I'd like to generate a CFF
file for Apache Commons Components like Commons Lang, Commons IO, and so
on. This plugin works but does not generate a license field [3] because the
POM license element does not hold a slot to identify a license with a
formal ID, in this case, the Linux Foundation SPDX ID [4]
https://spdx.dev/ids/

Any thoughts about supporting such a field for example "spdxID" or even
just "id" ?


   1. 
   2. 
   3. Apache-2.0 
   4. Apache License, Version 2.0
   5. https://www.apache.org/licenses/LICENSE-2.0.txt
   6. repo
   7. A business-friendly OSS license
   8. 
   9. 


?
Gary
[1]
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
[2] https://github.com/hexatomic/cff-maven-plugin
[3] https://github.com/hexatomic/cff-maven-plugin/issues/28
[4] https://spdx.dev/ids/