Docker Compose file checkin for tr069-adapter
[oam/tr069-adapter.git] / config-data / pom.xml
index 6c70210..830ffa7 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-/*\r
- * ============LICENSE_START========================================================================\r
- * ONAP : tr-069-adapter\r
- * =================================================================================================\r
- * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
- * =================================================================================================\r
- * This tr-069-adapter software file is distributed by CommScope Inc\r
- * under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * This file is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ===============LICENSE_END=======================================================================\r
-*/\r
--->\r
-<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-   <modelVersion>4.0.0</modelVersion>\r
-   <parent>\r
-      <groupId>org.commscope.tr069adapter</groupId>\r
-      <artifactId>tr069adapter</artifactId>\r
-      <version>1.0.0</version>\r
-   </parent>\r
-   <groupId>org.commscope.tr069adapter.config</groupId>\r
-   <artifactId>config-data</artifactId>\r
-   <name>config-data</name>\r
-   <description>Configuration data import project for Spring Boot</description>\r
-   <licenses>\r
-      <license>\r
-         <name>The Apache Software License, Version 2.0</name>\r
-         <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>\r
-      </license>\r
-   </licenses>\r
-   <repositories>\r
-      <repository>\r
-         <id>onap-releases</id>\r
-         <name>onap-releases</name>\r
-         <url>https://nexus.onap.org/content/repositories/releases/</url>\r
-      </repository>\r
-   </repositories>\r
-   <properties>\r
-      <docker.image.name>tr069adapter-acs-initialpnpdb</docker.image.name>\r
-   </properties>\r
-   <dependencies>\r
-      <dependency>\r
-         <groupId>org.springframework.boot</groupId>\r
-         <artifactId>spring-boot-starter-data-jpa</artifactId>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.springframework.boot</groupId>\r
-         <artifactId>spring-boot-starter-web</artifactId>\r
-         <exclusions>\r
-            <exclusion>\r
-               <groupId>org.springframework.boot</groupId>\r
-               <artifactId>spring-boot-starter-logging</artifactId>\r
-            </exclusion>\r
-         </exclusions>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.springframework.boot</groupId>\r
-         <artifactId>spring-boot-starter-log4j2</artifactId>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.mariadb.jdbc</groupId>\r
-         <artifactId>mariadb-java-client</artifactId>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.springframework.boot</groupId>\r
-         <artifactId>spring-boot-starter-test</artifactId>\r
-         <scope>test</scope>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>com.h2database</groupId>\r
-         <artifactId>h2</artifactId>\r
-         <scope>test</scope>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>junit</groupId>\r
-         <artifactId>junit</artifactId>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>junit</groupId>\r
-         <artifactId>junit-dep</artifactId>\r
-         <version>4.11</version>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.springframework.boot</groupId>\r
-         <artifactId>spring-boot-starter-test</artifactId>\r
-         <scope>test</scope>\r
-      </dependency>\r
-      <dependency>\r
-         <groupId>org.commscope.tr069adapter.acs.common</groupId>\r
-         <artifactId>acs-common</artifactId>\r
-         <version>1.0.0</version>\r
-      </dependency>\r
-   </dependencies>\r
-   <build>\r
-      <plugins>\r
-         <plugin>\r
-            <groupId>org.springframework.boot</groupId>\r
-            <artifactId>spring-boot-maven-plugin</artifactId>\r
-         </plugin>\r
-         <plugin>\r
-            <groupId>net.revelc.code.formatter</groupId>\r
-            <artifactId>formatter-maven-plugin</artifactId>\r
-            <version>${formatter-maven-plugin.version}</version>\r
-            <configuration>\r
-               <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>\r
-            </configuration>\r
-            <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format\r
-                                        spotless:apply process-sources -->\r
-         </plugin>\r
-         <plugin>\r
-            <groupId>com.diffplug.spotless</groupId>\r
-            <artifactId>spotless-maven-plugin</artifactId>\r
-            <version>${spotless-maven-plugin.version}</version>\r
-            <configuration>\r
-               <java>\r
-                  <removeUnusedImports />\r
-                  <importOrder>\r
-                     <order>com,java,javax,org</order>\r
-                  </importOrder>\r
-               </java>\r
-            </configuration>\r
-            <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use\r
-                                        mvn spotless:apply to rewrite source files use mvn spotless:check to validate\r
-                                        source files -->\r
-         </plugin>\r
-         <plugin>\r
-            <groupId>org.apache.maven.plugins</groupId>\r
-            <artifactId>maven-surefire-plugin</artifactId>\r
-            <configuration>\r
-               <skipTests>false</skipTests>\r
-            </configuration>\r
-         </plugin>\r
-         <plugin>\r
-            <artifactId>maven-failsafe-plugin</artifactId>\r
-         </plugin>\r
-         <plugin>\r
-            <groupId>io.fabric8</groupId>\r
-            <artifactId>docker-maven-plugin</artifactId>\r
-            <version>${docker-maven-plugin}</version>\r
-            <inherited>false</inherited>\r
-            <executions>\r
-               <execution>\r
-                  <id>generate-policy-agent-image</id>\r
-                  <phase>package</phase>\r
-                  <goals>\r
-                     <goal>build</goal>\r
-                     <goal>save</goal>\r
-                  </goals>\r
-                  <configuration>\r
-                     <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
-                     <images>\r
-                        <image>\r
-                           <name>${docker.image.name}:${build.version}</name>\r
-                           <build>\r
-                              <cleanup>try</cleanup>\r
-                              <contextDir>${basedir}</contextDir>\r
-                              <dockerFile>Dockerfile</dockerFile>\r
-                              <args>\r
-                                 <JAR>${project.build.finalName}.jar</JAR>\r
-                              </args>\r
-                              <tags>\r
-                                 <tag>${project.version}</tag>\r
-                              </tags>\r
-                           </build>\r
-                        </image>\r
-                     </images>\r
-                  </configuration>\r
-               </execution>\r
-               <execution>\r
-                  <id>push-policy-agent-image</id>\r
-                  <goals>\r
-                     <goal>build</goal>\r
-                     <goal>push</goal>\r
-                  </goals>\r
-                  <configuration>\r
-                     <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
-                     <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>\r
-                     <images>\r
-                        <image>\r
-                           <name>${docker.image.name}:${project.version}</name>\r
-                           <build>\r
-                              <contextDir>${basedir}</contextDir>\r
-                              <dockerFile>Dockerfile</dockerFile>\r
-                              <args>\r
-                                 <JAR>${project.build.finalName}.jar</JAR>\r
-                              </args>\r
-                              <tags>\r
-                                 <tag>latest</tag>\r
-                              </tags>\r
-                           </build>\r
-                        </image>\r
-                     </images>\r
-                  </configuration>\r
-               </execution>\r
-            </executions>\r
-         </plugin>\r
-         <!-- support sonar in multi-module project -->\r
-         <plugin>\r
-            <groupId>org.sonarsource.scanner.maven</groupId>\r
-            <artifactId>sonar-maven-plugin</artifactId>\r
-            <version>${sonar-maven-plugin.version}</version>\r
-         </plugin>\r
-      </plugins>\r
-   </build>\r
-   <issueManagement>\r
-      <system>JIRA</system>\r
-      <url>https://jira.o-ran-sc.org/</url>\r
-   </issueManagement>\r
-</project>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * ============LICENSE_START========================================================================
+ * O-RAN-SC : tr-069-adapter
+ * =================================================================================================
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.
+ * =================================================================================================
+ * This tr-069-adapter software file is distributed by CommScope Inc
+ * 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
+ *
+ * This file 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=======================================================================
+*/
+-->
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+   <modelVersion>4.0.0</modelVersion>
+   <parent>
+      <groupId>org.commscope.tr069adapter</groupId>
+      <artifactId>tr069adapter</artifactId>
+      <version>1.0.0</version>
+   </parent>
+   <groupId>org.commscope.tr069adapter.config</groupId>
+   <artifactId>config-data</artifactId>
+   <name>config-data</name>
+   <description>Configuration data import project for Spring Boot</description>
+   <licenses>
+      <license>
+         <name>The Apache Software License, Version 2.0</name>
+         <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      </license>
+   </licenses>
+   <repositories>
+      <repository>
+         <id>onap-releases</id>
+         <name>onap-releases</name>
+         <url>https://nexus.onap.org/content/repositories/releases/</url>
+      </repository>
+   </repositories>
+   <properties>
+      <docker.image.name>o-ran-sc/tr069adapter-acs-initialpnpdb</docker.image.name>
+   </properties>
+   <dependencies>
+      <dependency>
+         <groupId>org.springframework.boot</groupId>
+         <artifactId>spring-boot-starter-data-jpa</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.springframework.boot</groupId>
+         <artifactId>spring-boot-starter-web</artifactId>
+         <exclusions>
+            <exclusion>
+               <groupId>org.springframework.boot</groupId>
+               <artifactId>spring-boot-starter-logging</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.springframework.boot</groupId>
+         <artifactId>spring-boot-starter-log4j2</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.mariadb.jdbc</groupId>
+         <artifactId>mariadb-java-client</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.springframework.boot</groupId>
+         <artifactId>spring-boot-starter-test</artifactId>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>com.h2database</groupId>
+         <artifactId>h2</artifactId>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit-dep</artifactId>
+         <version>4.11</version>
+      </dependency>
+      <dependency>
+         <groupId>org.springframework.boot</groupId>
+         <artifactId>spring-boot-starter-test</artifactId>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.commscope.tr069adapter.acs.common</groupId>
+         <artifactId>acs-common</artifactId>
+         <version>1.0.0</version>
+      </dependency>
+   </dependencies>
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-maven-plugin</artifactId>
+         </plugin>
+         <plugin>
+            <groupId>net.revelc.code.formatter</groupId>
+            <artifactId>formatter-maven-plugin</artifactId>
+            <version>${formatter-maven-plugin.version}</version>
+            <configuration>
+               <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
+            </configuration>
+            <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
+                                        spotless:apply process-sources -->
+         </plugin>
+         <plugin>
+            <groupId>com.diffplug.spotless</groupId>
+            <artifactId>spotless-maven-plugin</artifactId>
+            <version>${spotless-maven-plugin.version}</version>
+            <configuration>
+               <java>
+                  <removeUnusedImports />
+                  <importOrder>
+                     <order>com,java,javax,org</order>
+                  </importOrder>
+               </java>
+            </configuration>
+            <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
+                                        mvn spotless:apply to rewrite source files use mvn spotless:check to validate
+                                        source files -->
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+               <skipTests>false</skipTests>
+            </configuration>
+         </plugin>
+         <plugin>
+            <artifactId>maven-failsafe-plugin</artifactId>
+         </plugin>
+         <plugin>
+            <groupId>io.fabric8</groupId>
+            <artifactId>docker-maven-plugin</artifactId>
+            <version>${docker-maven-plugin}</version>
+            <inherited>false</inherited>
+            <executions>
+               <execution>
+                  <id>generate-policy-agent-image</id>
+                  <phase>package</phase>
+                  <goals>
+                     <goal>build</goal>
+                     <goal>save</goal>
+                  </goals>
+                  <configuration>
+                     <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
+                     <images>
+                        <image>
+                           <name>${docker.image.name}:${build.version}</name>
+                           <build>
+                              <cleanup>try</cleanup>
+                              <contextDir>${basedir}</contextDir>
+                              <dockerFile>Dockerfile</dockerFile>
+                              <args>
+                                 <JAR>${project.build.finalName}.jar</JAR>
+                              </args>
+                              <tags>
+                                 <tag>${project.version}</tag>
+                              </tags>
+                           </build>
+                        </image>
+                     </images>
+                  </configuration>
+               </execution>
+               <execution>
+                  <id>push-policy-agent-image</id>
+                  <goals>
+                     <goal>build</goal>
+                     <goal>push</goal>
+                  </goals>
+                  <configuration>
+                     <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
+                     <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
+                     <images>
+                        <image>
+                           <name>${docker.image.name}:${project.version}</name>
+                           <build>
+                              <contextDir>${basedir}</contextDir>
+                              <dockerFile>Dockerfile</dockerFile>
+                              <args>
+                                 <JAR>${project.build.finalName}.jar</JAR>
+                              </args>
+                              <tags>
+                                 <tag>latest</tag>
+                              </tags>
+                           </build>
+                        </image>
+                     </images>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+         <!-- support sonar in multi-module project -->
+         <plugin>
+            <groupId>org.sonarsource.scanner.maven</groupId>
+            <artifactId>sonar-maven-plugin</artifactId>
+            <version>${sonar-maven-plugin.version}</version>
+         </plugin>
+      </plugins>
+   </build>
+   <issueManagement>
+      <system>JIRA</system>
+      <url>https://jira.o-ran-sc.org/</url>
+   </issueManagement>
+</project>