Remove use of license plugin 32/3232/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 9 Apr 2020 14:08:41 +0000 (16:08 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 9 Apr 2020 14:08:50 +0000 (16:08 +0200)
Change-Id: Ifada7e06e62e78f29763cbf0dcc3fd20402b73ad
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
pom.xml
webapp-backend/pom.xml
webapp-frontend/pom.xml

diff --git a/pom.xml b/pom.xml
index c95b41c..3963a39 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -37,15 +37,7 @@ limitations under the License.
        <version>1.0.0-SNAPSHOT</version>
        <properties>
                <java.version>11</java.version>
-               <!-- Properties for the license-maven-plugin in child POMs -->
-               <lmp.organization.name>AT&amp;T Intellectual Property</lmp.organization.name>
-               <lmp.project.name>O-RAN-SC</lmp.project.name>
-               <lmp.inception.year>2019</lmp.inception.year>
-               <lmp.license.name>apache_v2</lmp.license.name>
-               <lmp.process.start.tag>========================LICENSE_START=================================</lmp.process.start.tag>
-               <lmp.process.end.tag>========================LICENSE_END===================================</lmp.process.end.tag>
         <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
-        <license-maven-plugin.version>1.20</license-maven-plugin.version>
        </properties>
        <modules>
                <module>webapp-frontend</module>
@@ -53,28 +45,6 @@ limitations under the License.
        </modules>
        <build>
                <plugins>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>license-maven-plugin</artifactId>
-                               <configuration>
-                                       <organizationName>${lmp.organization.name}</organizationName>
-                                       <inceptionYear>${lmp.inception.year}</inceptionYear>
-                                       <projectName>${lmp.project.name}</projectName>
-                                       <licenseName>${lmp.license.name}</licenseName>
-                                       <processStartTag>${lmp.process.start.tag}</processStartTag>
-                                       <processEndTag>${lmp.process.end.tag}</processEndTag>
-                                       <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>first</id>
-                                               <goals>
-                                                       <goal>update-file-header</goal>
-                                               </goals>
-                                               <phase>process-sources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
@@ -111,14 +81,5 @@ limitations under the License.
                                <version>${sonar-maven-plugin.version}</version>
                        </plugin>
                </plugins>
-               <pluginManagement>
-                       <plugins>
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>license-maven-plugin</artifactId>
-                                       <version>${license-maven-plugin.version}</version>
-                               </plugin>
-                       </plugins>
-               </pluginManagement>
        </build>
 </project>
index ff92311..be9a13e 100644 (file)
@@ -211,19 +211,6 @@ limitations under the License.
                     use mvn spotless:apply to rewrite source files use mvn spotless:check to
                     validate source files -->
             </plugin>
-            <plugin>
-                <!-- Most configuration and all execution is inherited -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>license-maven-plugin</artifactId>
-                <configuration>
-                    <roots>
-                        <root>src</root>
-                    </roots>
-                    <excludes>
-                        <exclude>**/*.json</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
             <!-- Add the build number to the jar manifest. Spring-Boot uses a complex 
                                packaging process that makes access to the original Manifest.MF very difficult. 
                                However, Java provides access to the implementation version for a package, 
index b12bbd1..8e3b432 100644 (file)
@@ -32,20 +32,6 @@ limitations under the License.
        <name>Non-RT RIC Control Panel Webapp frontend</name>
        <build>
                <plugins>
-                       <plugin>
-                               <!-- Most configuration and all execution is inherited -->
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>license-maven-plugin</artifactId>
-                               <configuration>
-                                       <roots>
-                                               <root>e2e</root>
-                                               <root>src</root>
-                                       </roots>
-                                       <excludes>
-                                               <exclude>**/*.json</exclude>
-                                       </excludes>
-                               </configuration>
-                       </plugin>
                        <plugin>
                                <groupId>com.github.eirslett</groupId>
                                <artifactId>frontend-maven-plugin</artifactId>