Woonsan Ko created PLUTO-718:
--------------------------------
Summary: Configure RAT to exclude or fix license headers
Key: PLUTO-718
URL: https://issues.apache.org/jira/browse/PLUTO-718
Project: Pluto
Issue Type: Improvement
Reporter: Woonsan Ko
Assignee: Scott Nicklous
While checking the release candidate for 3.0.1, apache-rat:check finds some
errors, some of which are just what should have been excluded in configuration,
some are possibly to be fixed in source headers.
For example, portlet-app_2_0.xsd should probably contain a proper license
header while most should be excluded in apache rat configuration.
Here's some detail:
1. pluto-container
{noformat}
/tmp/pluto-release/pluto-3.0.1/pluto-container/src/main/resources/org/apache/pluto/container/impl/portlet-app_2_0.xsd
/tmp/pluto-release/pluto-3.0.1/pluto-container/src/main/resources/org/apache/pluto/container/impl/portlet-app_3_0.xsd
/tmp/pluto-release/pluto-3.0.1/pluto-container/src/main/resources/org/apache/pluto/container/impl/portlet-app_1_0.xsd
/tmp/pluto-release/pluto-3.0.1/pluto-container/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
{noformat}
2. pluto-container-driver-api
{noformat}
/tmp/pluto-release/pluto-3.0.1/pluto-container-driver-api/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer
{noformat}
3. pluto-portal
{noformat}
/tmp/pluto-release/pluto-3.0.1/pluto-portal/src/main/webapp/META-INF/JAXB-LICENSE
{noformat}
4. pluto-util
{noformat}
/tmp/pluto-release/pluto-3.0.1/pluto-util/src/test/resources/org/apache/pluto/util/assemble/web-app_2_3.dtd
/tmp/pluto-release/pluto-3.0.1/pluto-util/src/main/resources/org/apache/pluto/util/descriptors/web/web-app_2_3.dtd
{noformat}
5. portlet-tck_3.0
{noformat}
/tmp/pluto-release/pluto-3.0.1/portlet-tck_3.0/src/main/javadoc/doc-files/JSR286ApidocGenerated.csv
/tmp/pluto-release/pluto-3.0.1/portlet-tck_3.0/src/main/javadoc/doc-files/JSR286ApidocAssertions.csv
/tmp/pluto-release/pluto-3.0.1/portlet-tck_3.0/src/main/javadoc/doc-files/JSR286SpecAssertions.csv
/tmp/pluto-release/pluto-3.0.1/portlet-tck_3.0/src/main/javadoc/doc-files/JSR286TCDispatchTableAssertions.csv
/tmp/pluto-release/pluto-3.0.1/portlet-tck_3.0/src/main/javadoc/doc-files/JSR286SpecAssertionsDispatcher.csv
{noformat}
6. PortletHubDemo, PortletV3AnnotatedDemo, PortletV3Demo
{noformat}
..../src/main/resources/log4j.properties
{noformat}
7. maven-archetypes/generic-portlet-archetype
{noformat}
src/main/resources/archetype-resources/pom.xml
src/main/resources/archetype-resources/build.gradle
src/main/resources/archetype-resources/src/main/resources/log4j.properties
src/main/resources/archetype-resources/src/main/webapp/resources/css/main.css
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/portlet.xml
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/views/portletViewMode.jspx
src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/HelloWorldPortlet.java
{noformat}
8. maven-archetypes/bean-portlet-archetype
{noformat}
src/main/resources/archetype-resources/pom.xml
src/main/resources/archetype-resources/build.gradle
src/main/resources/archetype-resources/src/main/resources/log4j.properties
src/main/resources/archetype-resources/src/main/webapp/resources/css/main.css
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/views/portletViewMode.jspx
src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/HelloWorldPortlet.java
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)