aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorKasperki <pawel.kasperkiewicz@nokia.com>2022-01-28 15:17:46 +0100
committerKasperki <pawel.kasperkiewicz@nokia.com>2022-02-03 13:35:54 +0100
commita8e59fe8d77d5df48bcbe3899d3cefbf3f9fcd87 (patch)
treeddeb2a04d1b8313642609e9a7f5952ed87fef53c /pom.xml
parent0dd4b72705f78676314d4451bb1c7f16b077ec97 (diff)
Switch VESCollector to Integration base image(onap/integration-java11:10.0.0)
Change-Id: I0979707461994c1926d3809d6c68005e2e4f2624 Issue-ID: DCAEGEN2-2961 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml49
1 files changed, 15 insertions, 34 deletions
diff --git a/pom.xml b/pom.xml
index 5723d88b..4649aa13 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,17 +1,19 @@
<?xml version="1.0"?>
<!--
+ ============LICENSE_START=======================================================
+ dcaegen2-collectors-ves
================================================================================
- Copyright (c) 2017-2019,2021 AT&T Intellectual Property. All rights reserved.
- Copyright (c) 2020-2022 Nokia. 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=========================================================
+ Copyright (c) 2017-2019,2021 AT&T Intellectual Property. All rights reserved.
+ Copyright (c) 2020-2022 Nokia. 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">
@@ -24,7 +26,7 @@
</parent>
<groupId>org.onap.dcaegen2.collectors.ves</groupId>
<artifactId>VESCollector</artifactId>
- <version>1.10.3-SNAPSHOT</version>
+ <version>1.11.0-SNAPSHOT</version>
<name>dcaegen2-collectors-ves</name>
<description>VESCollector</description>
<properties>
@@ -187,34 +189,13 @@
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
- <baseImage>openjdk:11.0.11-jre-slim</baseImage>
- <user>vescollector</user>
- <env>
- <HOSTALIASES>/etc/host.aliases</HOSTALIASES>
- </env>
- <workdir>/opt/app/VESCollector</workdir>
<resources>
<resource>
<targetPath>.</targetPath>
<directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
</resource>
</resources>
- <runs>
- <run>useradd -r -U vescollector</run>
- <run>chown -R vescollector:vescollector /opt/app</run>
- <run>mkdir /opt/app/VESCollector/logs</run>
- <run>chown -R vescollector:vescollector /opt/app/VESCollector/logs</run>
- <run>chown -R vescollector:vescollector /opt/app/VESCollector/etc</run>
- <!-- Maven is loosing file permissions during artifacts copy -->
- <run>chmod +x bin/*.sh</run>
- <run>
- <![CDATA[apt-get update && apt-get install -y --no-install-recommends procps && apt-get install -y less && apt-get install -y vim && apt-get install -y curl && apt-get clean all]]></run>
- </runs>
- <exposes>
- <expose>8080</expose>
- <expose>8443</expose>
- </exposes>
- <cmd>bin/docker-entry.sh</cmd>
+ <dockerDirectory>src/docker</dockerDirectory>
</configuration>
</plugin>
</plugins>