Cleanup sparky-be pom
[aai/sparky-be.git] / sparkybe-onap-service / pom.xml
index 684b868..7647010 100644 (file)
@@ -4,16 +4,16 @@
        <parent>
          <groupId>org.onap.aai</groupId>
          <artifactId>sparky-be</artifactId>
-         <version>2.0.1-SNAPSHOT</version>
+         <version>2.0.5-SNAPSHOT</version>
        </parent>
 
        <groupId>org.onap.aai.sparky-be</groupId>
        <artifactId>sparkybe-onap-service</artifactId>
-       <version>2.0.1-SNAPSHOT</version>
+       <version>2.0.5-SNAPSHOT</version>
        <packaging>jar</packaging>
 
        <properties>
-               <java.version>1.11</java.version>
+               <java.version>11</java.version>
                <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
                <frontEndArtifactId>sparky-fe</frontEndArtifactId>
                <frontEndVersion>2.0.0</frontEndVersion>
@@ -123,33 +123,12 @@ some of the depedencies should probably have a scope of provided so they don't a
                        </exclusions>
                </dependency>
 
-
-               <!-- Camel BOM -->
-               <dependency>
-                       <groupId>org.apache.camel</groupId>
-                       <artifactId>camel-spring-boot-dependencies</artifactId>
-                       <version>${camel-spring-boot.version}</version>
-                       <type>pom</type>
-                       <scope>import</scope>
-               </dependency>
-
-               <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
-               <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
-                       </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
-                       </dependency> -->
-
                <!-- Camel -->
                <dependency>
                        <groupId>org.apache.camel</groupId>
                        <artifactId>camel-spring-boot-starter</artifactId>
                </dependency>
 
-               <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
-               <dependency>
-                       <groupId>org.apache.camel</groupId>
-                       <artifactId>camel-restlet</artifactId>
-               </dependency>
-
                <dependency>
                        <groupId>commons-io</groupId>
                        <artifactId>commons-io</artifactId>
@@ -167,11 +146,6 @@ some of the depedencies should probably have a scope of provided so they don't a
                        <artifactId>camel-servlet-starter</artifactId>
                </dependency>
 
-               <dependency>
-                       <groupId>org.springframework.boot</groupId>
-                       <artifactId>spring-boot-starter-actuator</artifactId>
-               </dependency>
-
                <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
                <dependency>
                        <groupId>commons-cli</groupId>
@@ -388,8 +362,9 @@ some of the depedencies should probably have a scope of provided so they don't a
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
+                                       <version>3.8.0</version>
                                        <configuration>
-                                               <release>11</release>
+                                               <release>11</release>  <!--or <release>10</release>-->
                                        </configuration>
                                </plugin>
 
@@ -429,81 +404,6 @@ some of the depedencies should probably have a scope of provided so they don't a
                </pluginManagement>
 
                <plugins>
-<!--                   <plugin>
-                               <groupId>org.springframework.boot</groupId>
-                               <artifactId>spring-boot-maven-plugin</artifactId>
-                       </plugin>
- -->
-
-       <!--            <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <version>2.7</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-docker-file</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>target</outputDirectory>
-                                                       <overwrite>true</overwrite>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>${basedir}/src/main/docker</directory>
-                                                                       <filtering>true</filtering>
-                                                                       <includes>
-                                                                               <include>**/*</include>
-                                                                       </includes>
-                                                               </resource>
-                                                               <resource>
-                                                                       <directory>${basedir}/src/main/bin/</directory>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin> -->
-
-<!--                   <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <version>3.0.0</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-installed</id>
-                                               <phase>install</phase>
-                                               <goals>
-                                                       <goal>copy</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <artifactItems>
-                                                               <artifactItem>
-                                                                       <groupId>${frontEndGroupdId}</groupId>
-                                                                       <artifactId>${frontEndArtifactId}</artifactId>
-                                                                       <version>${frontEndVersion}</version>
-                                                                       <type>war</type>
-                                                                       <outputDirectory>${basedir}/target/</outputDirectory>
-                                                                       <destFileName>aai.war</destFileName>
-                                                               </artifactItem>
-                                                       </artifactItems>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
- -->
-
-<!--                   <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>cobertura-maven-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <phase />
-                                       </execution>
-                               </executions>
-                       </plugin>
- -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>