Closed sergehuber closed 7 years ago
Use a .donotdel instead?
Sure or another solution would be to force the creation of the directory in the test code if it doesn't exist.
I've added more features in my fork, here's the description :
New features:
License summary:
will generate something like this :
License summary:
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/)
License name aliases. It is often the case that projects use different wording for the same license. Now it is possible to define aliases to avoid having different names in the NOTICE file. Example:
<licenseNameAliases>
<property>
<name>Apache License, Version 2.0</name>
<value>The Apache Software License, Version 2.0</value>
</property>
<property>
<name>Apache 2</name>
<value>The Apache Software License, Version 2.0</value>
</property>
<property>
<name>ALv2</name>
<value>The Apache Software License, Version 2.0</value>
</property>
<property>
<name>Apache 2.0 License</name>
<value>The Apache Software License, Version 2.0</value>
</property>
<property>
<name>Apache License 2.0</name>
<value>The Apache Software License, Version 2.0</value>
</property>
<property>
<name>Apache License Version 2.0</name>
<value>The Apache Software License, Version 2.0</value>
</property>
</licenseNameAliases>
I hope these will be interesting to you because it would be great to have them in the main project.
Renamed the dummy.txt file to .donotdel
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 ?
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.
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 ?
Don't know. I suspect they will drop it but I am not affiliated with the project anymore.
@sergehuber Great improvements ! do you have a snapshot published anywhere?
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.
@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.
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.
This dummy text file is just there to force the creation of the test-repo directory otherwise the tests will fail.