mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -46,50 +46,49 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<version>2.0.1.alfresco-1</version>
|
|
||||||
<configuration>
|
|
||||||
<verbose>${license.verbose}</verbose>
|
|
||||||
<addSvnKeyWords>false</addSvnKeyWords>
|
|
||||||
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
|
||||||
|
|
||||||
<!-- header configuration -->
|
|
||||||
<organizationName>Alfresco Software Limited</organizationName>
|
|
||||||
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
|
||||||
<canUpdateCopyright>true</canUpdateCopyright>
|
|
||||||
<canUpdateDescription>true</canUpdateDescription>
|
|
||||||
|
|
||||||
<!-- licence configuration -->
|
|
||||||
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
|
||||||
|
|
||||||
<!-- dry run options -->
|
|
||||||
<dryRun>${license.update.dryrun}</dryRun>
|
|
||||||
<failOnMissingHeader>true</failOnMissingHeader>
|
|
||||||
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
|
||||||
|
|
||||||
<!-- default root -->
|
|
||||||
<roots>
|
|
||||||
<root>src</root>
|
|
||||||
</roots>
|
|
||||||
|
|
||||||
<!-- exculsions -->
|
|
||||||
<excludes>
|
|
||||||
<exclude>**/package-info.java</exclude>
|
|
||||||
<exclude>**/*.properties</exclude>
|
|
||||||
<exclude>**/*.css</exclude>
|
|
||||||
<exclude>**/*.xml</exclude>
|
|
||||||
<exclude>**/*.json</exclude>
|
|
||||||
<exclude>**/*.txt</exclude>
|
|
||||||
<exclude>**/*.html</exclude>
|
|
||||||
</excludes>
|
|
||||||
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>first</id>
|
<id>first</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>update-file-header</goal>
|
<goal>update-file-header</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>process-sources</phase>
|
<phase>none</phase>
|
||||||
|
<configuration>
|
||||||
|
<verbose>${license.verbose}</verbose>
|
||||||
|
<addSvnKeyWords>false</addSvnKeyWords>
|
||||||
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
||||||
|
|
||||||
|
<!-- header configuration -->
|
||||||
|
<organizationName>Alfresco Software Limited</organizationName>
|
||||||
|
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
|
<canUpdateCopyright>true</canUpdateCopyright>
|
||||||
|
<canUpdateDescription>true</canUpdateDescription>
|
||||||
|
|
||||||
|
<!-- license configuration -->
|
||||||
|
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
||||||
|
|
||||||
|
<!-- dry run options -->
|
||||||
|
<dryRun>${license.update.dryrun}</dryRun>
|
||||||
|
<failOnMissingHeader>true</failOnMissingHeader>
|
||||||
|
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
||||||
|
|
||||||
|
<!-- default root -->
|
||||||
|
<roots>
|
||||||
|
<root>src</root>
|
||||||
|
</roots>
|
||||||
|
|
||||||
|
<!-- exclusions -->
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/package-info.java</exclude>
|
||||||
|
<exclude>**/*.properties</exclude>
|
||||||
|
<exclude>**/*.css</exclude>
|
||||||
|
<exclude>**/*.xml</exclude>
|
||||||
|
<exclude>**/*.json</exclude>
|
||||||
|
<exclude>**/*.txt</exclude>
|
||||||
|
<exclude>**/*.html</exclude>
|
||||||
|
</excludes>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@@ -37,6 +37,16 @@
|
|||||||
<skipTests>${skip.automationtests}</skipTests>
|
<skipTests>${skip.automationtests}</skipTests>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>third-party-licenses</id>
|
||||||
|
<phase>none</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -10,17 +10,22 @@
|
|||||||
<version>14.73-SNAPSHOT</version>
|
<version>14.73-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<executions>
|
||||||
<licenseName>alfresco_community</licenseName>
|
<execution>
|
||||||
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
<id>first</id>
|
||||||
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
<phase>process-sources</phase>
|
||||||
</configuration>
|
<configuration>
|
||||||
|
<licenseName>alfresco_community</licenseName>
|
||||||
|
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
||||||
|
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@@ -320,17 +320,23 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<configuration>
|
<executions>
|
||||||
<licenseName>alfresco_community</licenseName>
|
<execution>
|
||||||
<roots>
|
<id>first</id>
|
||||||
<root>source/java</root>
|
<phase>process-sources</phase>
|
||||||
<root>unit-test/java</root>
|
<configuration>
|
||||||
<root>source/compatibility</root>
|
<licenseName>alfresco_community</licenseName>
|
||||||
<root>config</root>
|
<roots>
|
||||||
<root>test/java</root>
|
<root>source/java</root>
|
||||||
<root>test/resources</root>
|
<root>unit-test/java</root>
|
||||||
</roots>
|
<root>source/compatibility</root>
|
||||||
</configuration>
|
<root>config</root>
|
||||||
|
<root>test/java</root>
|
||||||
|
<root>test/resources</root>
|
||||||
|
</roots>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
8
pom.xml
8
pom.xml
@@ -925,7 +925,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<failOnMissing>true</failOnMissing>
|
<failOnMissing>true</failOnMissing>
|
||||||
<excludedScopes>provided,test</excludedScopes>
|
<excludedScopes>provided,test</excludedScopes>
|
||||||
<excludedGroups>org.alfresco</excludedGroups>
|
<excludedGroups>^(org\.alfresco|com\.alfresco|org\.activiti).*</excludedGroups>
|
||||||
<failIfWarning>false</failIfWarning>
|
<failIfWarning>false</failIfWarning>
|
||||||
<includedLicenses>
|
<includedLicenses>
|
||||||
https://raw.githubusercontent.com/Alfresco/third-party-license-overrides/master/includedLicenses.txt
|
https://raw.githubusercontent.com/Alfresco/third-party-license-overrides/master/includedLicenses.txt
|
||||||
@@ -949,5 +949,11 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -176,15 +176,6 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<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>
|
<plugins>
|
||||||
<!-- Create a jar of test classes -->
|
<!-- Create a jar of test classes -->
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -271,21 +262,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<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>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>check-licenses</id>
|
<id>check-licenses</id>
|
||||||
@@ -293,6 +269,21 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>check-file-header</goal>
|
<goal>check-file-header</goal>
|
||||||
</goals>
|
</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>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@@ -988,21 +988,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<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>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>check-licenses</id>
|
<id>check-licenses</id>
|
||||||
@@ -1010,6 +995,21 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>check-file-header</goal>
|
<goal>check-file-header</goal>
|
||||||
</goals>
|
</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>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
Reference in New Issue
Block a user