[AAI-92 Amsterdam] Update license
[aai/sparky-fe.git] / pom_license.xml
diff --git a/pom_license.xml b/pom_license.xml
new file mode 100644 (file)
index 0000000..40bf42b
--- /dev/null
@@ -0,0 +1,82 @@
+<!--
+
+    ============LICENSE_START=======================================================
+    org.onap.aai
+    ================================================================================
+    Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+    Copyright © 2017 Amdocs
+    ================================================================================
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+    ============LICENSE_END=========================================================
+
+    ECOMP is a trademark and service mark of AT&T Intellectual Property.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.amdocs.aaiee</groupId>
+    <artifactId>sparky-fe-license</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <name>Sparky FE - NPM Extensions</name>
+    <url>http://maven.apache.org</url>
+
+    <dependencies>
+    </dependencies>
+
+    <properties>
+       <nexusproxy>${nexusTarget}</nexusproxy>
+    </properties>
+
+
+    <build>
+        <plugins>
+
+            <!-- license plugin -->
+                       <plugin>
+                               <groupId>com.mycila</groupId>
+                               <artifactId>license-maven-plugin</artifactId>
+                               <version>3.0</version>
+
+                               <configuration>
+                                       <header>LICENSE</header>
+                    <excludes>
+                        <exclude>resources/scss/bootstrap/**</exclude>
+                        <exclude>resources/scss/bootstrap-cust/**</exclude>
+                    </excludes>
+                                       <includes>
+                                               <include>src/**/*.js</include>
+                        <include>src/**/*.jsx</include>
+                        <include>src/**/*.html</include>
+                        <include>*.js</include>
+                        <include>*.xml</include>
+                        <include>resources/scss/**/*.scss</include>
+                                       </includes>
+                    <mapping>
+                        <JSX>SLASHSTAR_STYLE</JSX>
+                        <SCSS>JAVADOC_STYLE</SCSS>
+                    </mapping>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>format</goal>
+                                               </goals>
+                                               <phase>process-sources</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+        </plugins>
+
+    </build>
+</project>