summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/des/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'components/datalake-handler/des/pom.xml')
-rw-r--r--components/datalake-handler/des/pom.xml112
1 files changed, 71 insertions, 41 deletions
diff --git a/components/datalake-handler/des/pom.xml b/components/datalake-handler/des/pom.xml
index 9554052f..e62fcb6f 100644
--- a/components/datalake-handler/des/pom.xml
+++ b/components/datalake-handler/des/pom.xml
@@ -1,23 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2020 China Mobile.
- ================================================================================
- 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.
-
- SPDX-License-Identifier: Apache-2.0
- ============LICENSE_END=========================================================
--->
+<!-- ============LICENSE_START=======================================================
+ Copyright (C) 2020 China Mobile.
+ ================================================================================
+ 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. SPDX-License-Identifier:
+ Apache-2.0
+ ============LICENSE_END========================================================= -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -30,7 +23,6 @@
<version>1.1.0-SNAPSHOT</version>
</parent>
- <groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
<artifactId>des</artifactId>
<packaging>jar</packaging>
<name>DataLake Extraction Service</name>
@@ -53,7 +45,7 @@
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-jdbc</artifactId>
- <version>0.229</version>
+ <version>0.240</version>
</dependency>
<dependency>
@@ -225,12 +217,6 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
- <artifactId>feeder</artifactId>
- <version>${project.version}</version>
- </dependency>
-
</dependencies>
@@ -239,6 +225,16 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
+ <configuration>
+ <classifier>execute</classifier>
+ <executions>
+ <execution>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ </execution>
+ </executions>
+ </configuration>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
@@ -257,20 +253,54 @@
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
- <!-- <executions> <execution> <id>build-sl-des-image</id> <phase>package</phase>
- <goals> <goal>build</goal> </goals> </execution> <execution> <id>tag-and-push-image-latest</id>
- <phase>package</phase> <goals> <goal>tag</goal> <goal>push</goal> </goals>
- <configuration> <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
- <tag>latest</tag> <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
- </configuration> </execution> <execution> <id>tag-and-push-image-with-version</id>
- <phase>package</phase> <goals> <goal>tag</goal> <goal>push</goal> </goals>
- <configuration> <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
- <tag>${project.version}</tag> <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
- </configuration> </execution> <execution> <id>tag-and-push-image-with-version-and-date</id>
- <phase>package</phase> <goals> <goal>tag</goal> <goal>push</goal> </goals>
- <configuration> <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
- <tag>${project.version}-${maven.build.timestamp}Z</tag> <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
- </configuration> </execution> </executions> -->
+ <!-- <executions>
+ <execution>
+ <id>build-sl-des-image</id>
+ <phase>package</phase>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>tag-and-push-image-latest</id>
+ <phase>package</phase>
+ <goals>
+ <goal>tag</goal>
+ <goal>push</goal>
+ </goals>
+ <configuration>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
+ <tag>latest</tag>
+ <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
+ </configuration>
+ </execution>
+ <execution>
+ <id>tag-and-push-image-with-version</id>
+ <phase>package</phase>
+ <goals>
+ <goal>tag</goal>
+ <goal>push</goal>
+ </goals>
+ <configuration>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
+ <tag>${project.version}</tag>
+ <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
+ </configuration>
+ </execution>
+ <execution>
+ <id>tag-and-push-image-with-version-and-date</id>
+ <phase>package</phase>
+ <goals>
+ <goal>tag</goal>
+ <goal>push</goal>
+ </goals>
+ <configuration>
+ <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository>
+ <tag>${project.version}-${maven.build.timestamp}Z</tag>
+ <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
+ </configuration>
+ </execution>
+ </executions> -->
<dependencies>
<!-- To make this work on JDK 9+ -->
<dependency>