- <!-- license plugin Run mvn clean before running from the command line
- mvn license:update-file-header -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>license-maven-plugin</artifactId>
- <version>1.9</version>
- <configuration>
- <extraExtensions>
- <!-- Used to add or change the header style <fileTypeYouAreMapping>
- fileTypeMappedInto </fileTypeYouAreMapping> -->
- <drl>java</drl>
- <ccf>properties</ccf>
-
- <!-- Because the typical sql comment type confuses the update algorithm -->
- <sql>java</sql>
- </extraExtensions>
- <licenseName>apache_v2</licenseName>
-
- <inceptionYear>2017</inceptionYear>
- <organizationName>AT&T Intellectual Property. All rights
- reserved.</organizationName>
-
- <!-- Once you have established the tags and delimiter, they cannot be
- changed -->
- <processStartTag>============LICENSE_START=======================================================</processStartTag>
- <processEndTag>============LICENSE_END=========================================================</processEndTag>
- <sectionDelimiter>================================================================================</sectionDelimiter>
- <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
- <canUpdateCopyright>true</canUpdateCopyright>
- <canUpdateDescription>true</canUpdateDescription>
- <canUpdateLicense>true</canUpdateLicense>
- <emptyLineAfterHeader>true</emptyLineAfterHeader>
- <roots>
- <!-- Default is src, target/generated-sources, target/processed-sources -->
-
- <!-- Everything except the files in the excludes section -->
- <root>/</root>
- </roots>
- <excludes>
- <!-- Files which are to be excluded. The pom.xml is excluded because
- the start/end tags and the delimiters are in the body of the file. This confuses
- the algorithm. So, this file must be manually updated with a license header. -->
- <exclude>pom.xml</exclude>
- </excludes>
- </configuration>
- </plugin>