mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Added update header plugin to community repo
This commit is contained in:
12
license/alfresco_community/header.txt
Normal file
12
license/alfresco_community/header.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Alfresco is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Alfresco is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
1
license/alfresco_community/license.txt
Normal file
1
license/alfresco_community/license.txt
Normal file
@@ -0,0 +1 @@
|
||||
Just put something in here!!
|
1
license/description.ftl
Normal file
1
license/description.ftl
Normal file
@@ -0,0 +1 @@
|
||||
This file is part of Alfresco.
|
2
license/licenses.properties
Normal file
2
license/licenses.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
alfresco_community=Alfresco Community
|
||||
alfresco_enterprise=Alfresco Enterprise
|
6
pom.xml
6
pom.xml
@@ -94,6 +94,12 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote</argLine>
|
||||
|
||||
<!-- license properties -->
|
||||
<license.org.name>Alfresco Software Limited</license.org.name>
|
||||
<license.update.dryrun>true</license.update.dryrun>
|
||||
<license.verbose>false</license.verbose>
|
||||
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
@@ -232,8 +232,34 @@
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<configuration>
|
||||
<verbose>false</verbose>
|
||||
<addSvnKeyWords>false</addSvnKeyWords>
|
||||
|
||||
<verbose>${license.verbose}</verbose>
|
||||
<addSvnKeyWords>false</addSvnKeyWords>
|
||||
|
||||
<!-- header configuration -->
|
||||
<organizationName>${license.org.name}</organizationName>
|
||||
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||
<canUpdateCopyright>true</canUpdateCopyright>
|
||||
<canUpdateDescription>true</canUpdateDescription>
|
||||
|
||||
<!-- licence configuration -->
|
||||
<addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
|
||||
<licenseName>alfresco_community</licenseName>
|
||||
<licenseResolver>file:/${project.parent.parent.basedir}/license</licenseResolver>
|
||||
|
||||
<!-- dry run options -->
|
||||
<dryRun>${license.update.dryrun}</dryRun>
|
||||
<failOnMissingHeader>true</failOnMissingHeader>
|
||||
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
||||
|
||||
<!-- source roots to check -->
|
||||
<roots>
|
||||
<root>source</root>
|
||||
<root>test</root>
|
||||
<root>unit-test</root>
|
||||
<root>config</root>
|
||||
</roots>
|
||||
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
@@ -242,15 +268,6 @@
|
||||
<goal>update-file-header</goal>
|
||||
</goals>
|
||||
<phase>process-sources</phase>
|
||||
<configuration>
|
||||
<licenseName>gpl_v3</licenseName>
|
||||
<roots>
|
||||
<root>source</root>
|
||||
<root>test</root>
|
||||
<root>unit-test</root>
|
||||
<root>config</root>
|
||||
</roots>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
@@ -289,7 +306,7 @@
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<execute></execute>
|
||||
<ignore></ignore>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
|
Reference in New Issue
Block a user