ACS-2365 Ensure we run license reporting against all submodules by default. (#877)

* ACS-2365 Ensure we run license reporting against all submodules by default.

* Fix a couple of typos in comments.

* ACS-2365 Ignore all internal libraries.
This commit is contained in:
Tom Page
2022-01-07 16:41:37 +00:00
committed by GitHub
parent 00f68e591e
commit 61db08cc87
7 changed files with 112 additions and 95 deletions

View File

@@ -176,15 +176,6 @@
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.1.alfresco-1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Create a jar of test classes -->
<plugin>
@@ -271,21 +262,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<organizationName>Alfresco Software Limited</organizationName>
<failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
<licenseResolver>classpath://alfresco</licenseResolver>
<licenseName>${licenseName}</licenseName>
<roots>
<root>src</root>
</roots>
<includes>
<include>**/*.java</include>
<include>**/*.jsp</include>
</includes>
</configuration>
<executions>
<execution>
<id>check-licenses</id>
@@ -293,6 +269,21 @@
<goals>
<goal>check-file-header</goal>
</goals>
<configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<organizationName>Alfresco Software Limited</organizationName>
<failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
<licenseResolver>classpath://alfresco</licenseResolver>
<licenseName>${licenseName}</licenseName>
<roots>
<root>src</root>
</roots>
<includes>
<include>**/*.java</include>
<include>**/*.jsp</include>
</includes>
</configuration>
</execution>
</executions>
<dependencies>