Jasig / maven-notice-plugin

Apache License 2.0
7 stars 16 forks source link

Fix compilation issue & new features for license summary, improved notice messages, copyrights and more... #4

Closed sergehuber closed 7 years ago

sergehuber commented 8 years ago

This dummy text file is just there to force the creation of the test-repo directory otherwise the tests will fail.

mmoayyed commented 8 years ago

Use a .donotdel instead?

sergehuber commented 8 years ago

Sure or another solution would be to force the creation of the directory in the test code if it doesn't exist.

sergehuber commented 8 years ago

I've added more features in my fork, here's the description :

New features:

License summary:

GENERATED_LICENSE_SUMMARY

will generate something like this :

License summary:

  1. Apache (1 occurences)
  2. Apache License (2 occurences)
  3. Apache Public License 2.0 (1 occurences)
  4. Apache Software License 2.0 (1 occurences)
  5. Apache Software Licenses (1 occurences)
  6. Bouncy Castle Licence (2 occurences)
  7. BSD (4 occurences)
  8. BSD 3-Clause (6 occurences)
  9. BSD licence (2 occurences)
  10. CDDL + GPLv2 with classpath exception (1 occurences)

These license summaries also have a new settings : licenseSummaryMessage with a default value of : {0}. {1} ({2} occurences) where: {0} - index in the list {1} - license name {2} - occurences of the license

This product includes the software OPS4J Base - Execution. Licensed under the The Apache Software License, Version 2.0. Copyright (C) 2006-2015 OPS4J - Open Participation Software for Java (http://www.ops4j.org/)

I hope these will be interesting to you because it would be great to have them in the main project.

sergehuber commented 8 years ago

Renamed the dummy.txt file to .donotdel

sergehuber commented 8 years ago

I would love to get feedback on these changes, and possibly see how I can help in getting them merged as I have want to use these improvements in multiple projects. Let me know how I can help ?

mmoayyed commented 8 years ago

I think the only project under the Jasig foundation that uses this plugin is uPortal. (and even uPortal is moving towards Gradle in the future) So for the time being, you may want to either ping @apetro , @drewwills, @jameswennmacher or @timlevett and see whether they are able to help you.

...or completely fork the repo as I suspect this project may be retiring soon. But that is just my guess.

sergehuber commented 8 years ago

Well I have forked it already, and indeed if the plan is to retire it I will maintain my own fork.

Btw are you saying that uPortal will be moving this functionality to Gradle ?

mmoayyed commented 8 years ago

Don't know. I suspect they will drop it but I am not affiliated with the project anymore.

cvgaviao commented 8 years ago

@sergehuber Great improvements ! do you have a snapshot published anywhere?

apetro commented 8 years ago

Hi @sergehuber . I don't see an Apereo ICLA on file in your name. Cf. https://github.com/Jasig/maven-notice-plugin/pull/7/files . ICLA would help smooth accepting contributions.

ChristianMurphy commented 7 years ago

@sergehuber uPortal has transitioned to Gradle as the build system. It is likely that uPortal will look to move to a Gradle based plugin at some point.

ChristianMurphy commented 7 years ago

Hey @sergehuber, thanks for the pull request! Unfortunately are merge conflicts that have cropped up that are blocking these changes from being merged. I'm going to close this PR, feel free to re-open it if you have time to resolve the merge conflicts.