update POM config to fix issues on Bamboo

This commit is contained in:
Roy Wetherall
2016-03-02 10:38:33 +11:00
parent a84922be19
commit 9371461975
2 changed files with 104 additions and 105 deletions

View File

@@ -66,53 +66,53 @@
</executions> </executions>
</plugin> </plugin>
<!-- License header generation --> <!-- License header generation -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
<version>1.8</version> <version>1.8</version>
<configuration> <configuration>
<verbose>${license.verbose}</verbose> <verbose>${license.verbose}</verbose>
<addSvnKeyWords>false</addSvnKeyWords> <addSvnKeyWords>false</addSvnKeyWords>
<!-- header configuration --> <!-- header configuration -->
<organizationName>${license.org.name}</organizationName> <organizationName>${license.org.name}</organizationName>
<descriptionTemplate>${project.parent.basedir}/license/description.ftl</descriptionTemplate> <descriptionTemplate>${project.parent.basedir}/license/description.ftl</descriptionTemplate>
<canUpdateCopyright>true</canUpdateCopyright> <canUpdateCopyright>true</canUpdateCopyright>
<canUpdateDescription>true</canUpdateDescription> <canUpdateDescription>true</canUpdateDescription>
<!-- licence configuration --> <!-- licence configuration -->
<addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage> <addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
<licenseName>alfresco_community</licenseName> <licenseName>alfresco_community</licenseName>
<licenseResolver>file:/${project.parent.basedir}/license</licenseResolver> <licenseResolver>file:${project.parent.basedir}/license</licenseResolver>
<!-- dry run options --> <!-- dry run options -->
<dryRun>${license.update.dryrun}</dryRun> <dryRun>${license.update.dryrun}</dryRun>
<failOnMissingHeader>true</failOnMissingHeader> <failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
<!-- exculsions --> <!-- exculsions -->
<excludes> <excludes>
<exclude>**/package-info.java</exclude> <exclude>**/package-info.java</exclude>
<exclude>**/*.properties</exclude> <exclude>**/*.properties</exclude>
<exclude>**/*.css</exclude> <exclude>**/*.css</exclude>
<exclude>**/*.xml</exclude> <exclude>**/*.xml</exclude>
<exclude>**/*.json</exclude> <exclude>**/*.json</exclude>
<exclude>**/*.txt</exclude> <exclude>**/*.txt</exclude>
</excludes> </excludes>
</configuration> </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>process-sources</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>

View File

@@ -224,66 +224,65 @@
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin>
<!-- License header generation -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.8</version>
<configuration>
<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/java</root>
<root>unit-test/java</root>
<root>source/compatibility</root>
<root>config</root>
<root>test/java</root>
<root>test/resources</root>
</roots>
<!-- exculsions -->
<excludes>
<exclude>**/package-info.java</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.css</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.txt</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin> </plugin>
<!-- License header generation -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.8</version>
<configuration>
<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/java</root>
<root>unit-test/java</root>
<root>source/compatibility</root>
<root>config</root>
<root>test/java</root>
<root>test/resources</root>
</roots>
<!-- exculsions -->
<excludes>
<exclude>**/package-info.java</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.css</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.txt</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>