aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/pom.xml
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-02-27 17:32:09 +0200
committerIttay Stern <ittay.stern@att.com>2019-02-27 18:59:43 +0200
commite0a102882e8e3ffee2b7c8454f332eb65d523e35 (patch)
treef0e9ce850fcdfd7db44d8ba818c2a237227f1bcc /vid-app-common/pom.xml
parent58cbfa63f239b22e8feb1440919b5fc2cf0118ce (diff)
Add a disabled license-maven-plugin
To use: - Replace phase "none" with "process-sources" to enable plugin. - Set organizationName as desired. - Then run `mvn license:check-file-header`, or even `mvn license:update-file-header`. Issue-ID: VID-427 Change-Id: I8d4a09dfea943a72223a5ac1f7ee8954651da991 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/pom.xml')
-rwxr-xr-xvid-app-common/pom.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 22911c25a..6b73d79ca 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -337,6 +337,75 @@
</includeOnlyProperties>
</configuration>
</plugin>
+
+ <plugin>
+ <!--
+ Replace phase "none" with "process-sources" to enable.
+ Set organizationName as desired.
+ Then run `mvn license:check-file-header`, or even `mvn
+ license:update-file-header`.
+ -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>1.17</version>
+
+ <executions>
+ <execution>
+ <id>first</id>
+ <goals>
+ <goal>update-file-header</goal>
+ </goals>
+ <!-- replace phase "none" with "process-sources" to enable -->
+ <phase>none</phase>
+ </execution>
+ </executions>
+
+ <configuration>
+ <canUpdateCopyright>false</canUpdateCopyright>
+ <canUpdateDescription>false</canUpdateDescription>
+ <licenseName>apache_v2</licenseName>
+ <processStartTag>============LICENSE_START=======================================================</processStartTag>
+ <processEndTag>============LICENSE_END=========================================================</processEndTag>
+ <sectionDelimiter>================================================================================</sectionDelimiter>
+ <projectName>VID</projectName>
+ <inceptionYear>2017</inceptionYear>
+ <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
+ <canUpdateLicense>true</canUpdateLicense>
+ <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
+ <emptyLineAfterHeader>true</emptyLineAfterHeader>
+ <verbose>false</verbose>
+
+ <includes>
+ <include>**/*.java</include>
+ <include>**/*.kt</include>
+ <include>**/*.jsp</include>
+ <include>**/*.xml</include>
+ <include>**/*.js</include>
+ <include>**/*.ts</include>
+ <include>**/*.html</include>
+ <include>**/*.css</include>
+ <include>**/*.sql</include>
+ </includes>
+
+ <extraExtensions>
+ <sql>mysql</sql>
+ </extraExtensions>
+
+ <roots>
+ <root>src/main</root>
+ <root>src/test</root>
+ </roots>
+
+ <excludes>
+ <exclude>**/app/vid/external/**/*</exclude>
+ <exclude>**/main/webapp/WEB-INF/**/*</exclude>
+ <exclude>**/test/resources/WEB-INF/**/*</exclude>
+ <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
+ </excludes>
+
+ </configuration>
+ </plugin>
+
</plugins>
</build>