aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-28 10:25:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-28 10:25:42 +0000
commitbc03349697f98c81701a76059bd4e028d212b14c (patch)
tree5ddac447027fbbb09306158e415731e0f55a7bc1
parent1196463dbf4c6ef051dd7f68580fc7d77c5d054c (diff)
parente0a102882e8e3ffee2b7c8454f332eb65d523e35 (diff)
Merge "Add a disabled license-maven-plugin"
-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>