diff options
Diffstat (limited to 'snmpmapper/pom.xml')
-rw-r--r-- | snmpmapper/pom.xml | 326 |
1 files changed, 166 insertions, 160 deletions
diff --git a/snmpmapper/pom.xml b/snmpmapper/pom.xml index b5796f3..413615a 100644 --- a/snmpmapper/pom.xml +++ b/snmpmapper/pom.xml @@ -1,47 +1,53 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- * ============LICENSE_START======================================================= - * ONAP : DCAEGEN2/services/mapper * ================================================================================ - * Copyright 2018 TechMahindra *================================================================================= - * 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========================================================= --> +<!-- +* ============LICENSE_START======================================================= +* ONAP : DCAEGEN2/services/mapper +* ================================================================================ +* Copyright 2018 TechMahindra +* Copyright (C) 2023 Deutsche Telekom AG. All rights reserved. +*================================================================================= +* 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========================================================= + --> <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/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> - <groupId>org.onap.dcaegen2.services.mapper</groupId> - <artifactId>snmpmapper</artifactId> - <version>0.0.1-SNAPSHOT</version> - <packaging>jar</packaging> + <groupId>org.onap.dcaegen2.services.mapper</groupId> + <artifactId>snmpmapper</artifactId> + <version>0.1.0-SNAPSHOT</version> + <packaging>jar</packaging> - <name>snmpmapper</name> - <description>saves mapping file to potsgresql database</description> + <name>snmpmapper</name> + <description>saves mapping file to potsgresql database</description> - <parent> - <groupId>org.onap.dcaegen2.services.mapper</groupId> - <artifactId>mapper</artifactId> - <version>0.0.1-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.onap.dcaegen2.services.mapper</groupId> + <artifactId>mapper</artifactId> + <version>1.5.0-SNAPSHOT</version> + </parent> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <java.version>8</java.version> - + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <java.version>11</java.version> + + + <docker.image.name>onap/org.onap.dcaegen2.services.mapper.snmpmapper</docker.image.name> - <docker.image.name>onap/org.onap.dcaegen2.services.mapper.snmpmapper</docker.image.name> - <!-- TEST SETTINGS --> <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> - + <!-- PLUGIN SETTINGS --> <dependency.locations.enabled>false</dependency.locations.enabled> - + <!-- NEXUS RELATED SETTINGS --> <nexusproxy>https://nexus.onap.org</nexusproxy> <snapshots.path>content/repositories/snapshots/</snapshots.path> @@ -50,127 +56,127 @@ content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version} </site.path> <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> - </properties> - <dependencies> -<!-- <dependency> - <groupId>org.springframework.webflow</groupId> - <artifactId>spring-webflow</artifactId> - <version>2.5.0.RELEASE</version> - </dependency> --> - - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-thymeleaf</artifactId> - <version>2.1.1.RELEASE</version> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-web</artifactId> - <version>2.1.1.RELEASE</version> - </dependency> + </properties> + <dependencies> +<!-- <dependency> + <groupId>org.springframework.webflow</groupId> + <artifactId>spring-webflow</artifactId> + <version>2.5.0.RELEASE</version> + </dependency> --> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-test</artifactId> - <version>2.1.1.RELEASE</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-jpa</artifactId> - <version>2.1.1.RELEASE</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-core</artifactId> - <version>5.1.3.RELEASE</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-expression</artifactId> - <version>5.1.3.RELEASE</version> - </dependency> - <dependency> - <groupId>org.postgresql</groupId> - <artifactId>postgresql</artifactId> - <scope>runtime</scope> - <version>42.2.5</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <version>5.1.3.RELEASE</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>3.0-alpha-1</version> - </dependency> - <dependency> - <groupId>javax.servlet.jsp</groupId> - <artifactId>jsp-api</artifactId> - <version>2.2</version> - </dependency> - <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-thymeleaf</artifactId> + <version>2.1.1.RELEASE</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + <version>2.1.1.RELEASE</version> + </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <version>2.1.1.RELEASE</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-jpa</artifactId> + <version>2.1.1.RELEASE</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-core</artifactId> + <version>5.1.3.RELEASE</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-expression</artifactId> + <version>5.1.3.RELEASE</version> + </dependency> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + <scope>runtime</scope> + <version>42.5.1</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-jdbc</artifactId> + <version>5.1.3.RELEASE</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>3.0-alpha-1</version> + </dependency> + <dependency> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + <version>2.2</version> + </dependency> + <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.3</version> </dependency> - - </dependencies> - <build> - - <pluginManagement> - <plugins> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>3.1.0</version> - </plugin> - <plugin> - <groupId>com.spotify</groupId> - <artifactId>docker-maven-plugin</artifactId> - <version>1.0.0</version> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <version>2.1.1.RELEASE</version> - </plugin> - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <version>2.1.1.RELEASE</version> - <executions> - <execution> - <goals> - <goal>repackage</goal> - </goals> - <configuration> - <mainClass>org.onap.dcaegen2.services.mapper.snmpmapper.SnmpmapperApplication</mainClass> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifest> - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> - </manifest> - <manifestEntries> - <Implementation-Build-Version>${project.version}</Implementation-Build-Version> - </manifestEntries> - </archive> - </configuration> - </plugin> - <plugin> - + </dependencies> + + <build> + + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.0</version> + </plugin> + <plugin> + <groupId>com.spotify</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>1.0.0</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>2.1.1.RELEASE</version> + </plugin> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>2.1.1.RELEASE</version> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + <configuration> + <mainClass>org.onap.dcaegen2.services.mapper.snmpmapper.SnmpmapperApplication</mainClass> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + </manifest> + <manifestEntries> + <Implementation-Build-Version>${project.version}</Implementation-Build-Version> + </manifestEntries> + </archive> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> @@ -190,10 +196,10 @@ </execution> </executions> </plugin> - - <!-- Spotify plugin to build and push docker image --> - <plugin> + <!-- Spotify plugin to build and push docker image --> + + <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>1.0.0</version> @@ -203,13 +209,13 @@ <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName> <imageTags> <tag>latest</tag> - <tag>${project.version}-${maven.build.timestamp}Z</tag> - <tag>${project.version}</tag> + <tag>${project.version}-${maven.build.timestamp}Z</tag> + <tag>${project.version}</tag> </imageTags> <baseImage>ubuntu:16.04</baseImage> <env> <HOSTALIASES>/etc/host.aliases</HOSTALIASES> - <HOME>/opt/app/SnmpMapper</HOME> + <HOME>/opt/app/SnmpMapper</HOME> </env> <workdir>/opt/app/SnmpMapper</workdir> <resources> @@ -303,12 +309,12 @@ <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> --> </executions> </plugin> - - </plugins> - <!-- <finalName>snmpmapper</finalName> --> - </build> - - + + </plugins> + <!-- <finalName>snmpmapper</finalName> --> + </build> + + <profiles> <profile> <id>with-system-proxy</id> @@ -345,4 +351,4 @@ </pluginRepositories> -</project>
\ No newline at end of file +</project> |