diff options
Diffstat (limited to 'UniversalVesAdapter/pom.xml')
-rw-r--r-- | UniversalVesAdapter/pom.xml | 107 |
1 files changed, 80 insertions, 27 deletions
diff --git a/UniversalVesAdapter/pom.xml b/UniversalVesAdapter/pom.xml index 6bbe1cf..63531ce 100644 --- a/UniversalVesAdapter/pom.xml +++ b/UniversalVesAdapter/pom.xml @@ -10,7 +10,8 @@ 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" +<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> @@ -18,9 +19,8 @@ <artifactId>UniversalVesAdapter</artifactId> <version>0.0.1</version> + <parent> - <!-- <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>2.0.0.RELEASE</version> --> <groupId>org.onap.dcaegen2.services.mapper</groupId> <artifactId>mapper</artifactId> <version>0.0.1-SNAPSHOT</version> @@ -28,6 +28,34 @@ <dependencies> <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>25.1-jre</version> + </dependency> + + <dependency> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>2.8.5</version> + </dependency> + + <dependency> + <groupId>com.google.inject</groupId> + <artifactId>guice</artifactId> + <version>4.2.0</version> + </dependency> + <dependency> + + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.5</version> + </dependency> + <dependency> + <groupId>com.google.inject.extensions</groupId> + <artifactId>guice-assistedinject</artifactId> + <version>4.2.0</version> + </dependency> + <dependency> <groupId>org.milyn</groupId> <artifactId>milyn-smooks-all</artifactId> <version>1.7.0</version> @@ -43,30 +71,42 @@ <artifactId>dmaapClient</artifactId> <version>1.1.3</version> </dependency> - + <!-- Database dependency --> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>42.2.4</version> + </dependency> <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-jdbc</artifactId> + <version>5.0.7.RELEASE</version> + </dependency> + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> - <version>2.0.1.RELEASE</version> + <version>2.0.3.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> - <version>2.0.1.RELEASE</version> + <version>2.0.3.RELEASE</version> <scope>test</scope> </dependency> <dependency> + <groupId>org.springframework.data</groupId> + <artifactId>spring-data-commons</artifactId> + <version>2.0.6.RELEASE</version> + </dependency> + + <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.4.0</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.springframework.data</groupId> - <artifactId>spring-data-commons</artifactId> - <version>2.0.6.RELEASE</version> - </dependency> + <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> @@ -107,9 +147,29 @@ <artifactId>xml-apis</artifactId> <version>1.4.01</version> </dependency> + <!-- http client --> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${httpclient.version}</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpmime</artifactId> + <version>${httpclient.version}</version> + <scope>compile</scope> + </dependency> + <!-- <dependency> <groupId>org.onap.aai.event-client</groupId> <artifactId>event-client-dmaap</artifactId> + <version>1.2.0</version> </dependency> --> - + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-configuration-processor</artifactId> + <optional>true</optional> + <version>2.0.4.RELEASE</version> + </dependency> </dependencies> <properties> @@ -150,7 +210,8 @@ <skipDockerBuild>false</skipDockerBuild> <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.universalvesadaptor</imageName> <baseImage>openjdk:8-jre</baseImage> - <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint> + <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", + "server"]</entryPoint> <resources> <resource> <targetPath>/opt</targetPath> @@ -162,7 +223,7 @@ <expose>8080</expose> </exposes> <imageTags> - <!--imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag--> + <!--imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag --> <imageTag>${project.version}</imageTag> <imageTag>latest</imageTag> </imageTags> @@ -186,22 +247,14 @@ </sources> </configuration> </execution> - <execution> - <id>regex-property</id> - <goals> - <goal>regex-property</goal> - </goals> - <configuration> - <name>docker.version</name> - <value>${project.version}</value> - <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> - <replacement>$1-STAGING</replacement> - <failIfNoMatch>false</failIfNoMatch> - </configuration> - </execution> + <!-- <execution> <id>regex-property</id> <goals> <goal>regex-property</goal> + </goals> <configuration> <name>docker.version</name> <value>${project.version}</value> + <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex> <replacement>$1-STAGING</replacement> + <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> --> </executions> </plugin> </plugins> + <finalName>UniversalVesAdapter</finalName> </build> <repositories> |