blob: 02911c67ee36c0843fd5b4afe80ed376be9fa29e [file] [log] [blame]
herbertd77d01b2020-01-30 10:15:11 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
Michael Dürreee75b192020-02-26 06:41:50 +01006 ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05007 ~ All rights reserved.
8 ~ ================================================================================
9 ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10 ~ ================================================================================
11 ~ Licensed under the Apache License, Version 2.0 (the "License");
12 ~ you may not use this file except in compliance with the License.
13 ~ You may obtain a copy of the License at
14 ~
15 ~ http://www.apache.org/licenses/LICENSE-2.0
16 ~
17 ~ Unless required by applicable law or agreed to in writing, software
18 ~ distributed under the License is distributed on an "AS IS" BASIS,
19 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 ~ See the License for the specific language governing permissions and
21 ~ limitations under the License.
22 ~ ============LICENSE_END=======================================================
23 ~
24 -->
herbertd77d01b2020-01-30 10:15:11 +010025
Michael Dürreee75b192020-02-26 06:41:50 +010026<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">
herbertd77d01b2020-01-30 10:15:11 +010027 <modelVersion>4.0.0</modelVersion>
Dan Timoney04e519c2020-03-04 09:43:47 -050028
herbertd77d01b2020-01-30 10:15:11 +010029 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>binding-parent</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040032 <version>2.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010034 </parent>
35
Michael Dürreee75b192020-02-26 06:41:50 +010036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-data-provider-setup</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040038 <version>1.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)e0ba85f2020-08-14 14:54:19 -040039 <packaging>jar</packaging>
herbertd77d01b2020-01-30 10:15:11 +010040
Michael Dürreee75b192020-02-26 06:41:50 +010041 <name>ccsdk-features :: ${project.artifactId}</name>
herbertd77d01b2020-01-30 10:15:11 +010042 <licenses>
43 <license>
44 <name>Apache License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
46 </license>
47 </licenses>
Dan Timoney04e519c2020-03-04 09:43:47 -050048
Michael Dürreee75b192020-02-26 06:41:50 +010049 <properties>
50 <maven.javadoc.skip>true</maven.javadoc.skip>
51 <databaseport>49404</databaseport>
52 </properties>
herbertd77d01b2020-01-30 10:15:11 +010053
54 <dependencies>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050055 <dependency>
herbertd77d01b2020-01-30 10:15:11 +010056 <groupId>org.mockito</groupId>
57 <artifactId>mockito-core</artifactId>
58 <scope>test</scope>
59 </dependency>
60 <dependency>
Michael Dürreee75b192020-02-26 06:41:50 +010061 <groupId>commons-cli</groupId>
62 <artifactId>commons-cli</artifactId>
herbertd77d01b2020-01-30 10:15:11 +010063 </dependency>
64 <dependency>
highstreetherbert25b37592020-07-15 15:44:23 +020065 <groupId>org.slf4j</groupId>
66 <artifactId>slf4j-log4j12</artifactId>
67 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010068 <dependency>
69 <groupId>${project.groupId}</groupId>
70 <artifactId>sdnr-wt-common</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>${project.groupId}</groupId>
75 <artifactId>sdnr-wt-data-provider-model</artifactId>
76 <version>${project.version}</version>
77 </dependency>
78 </dependencies>
Singal, Kapil (ks220y)779d23c2020-08-12 18:42:35 -040079
herbertd77d01b2020-01-30 10:15:11 +010080 <build>
81 <plugins>
82 <plugin>
herbertd77d01b2020-01-30 10:15:11 +010083 <groupId>com.github.alexcojocaru</groupId>
84 <artifactId>elasticsearch-maven-plugin</artifactId>
85 <version>6.16</version>
86 <configuration>
87 <skip>${skipTests}</skip>
88 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +010089 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +010090 <httpPort>${databaseport}</httpPort>
highstreetherbert25b37592020-07-15 15:44:23 +020091 <version>7.1.1</version>
herbertd77d01b2020-01-30 10:15:11 +010092 </configuration>
93 <executions>
94 <execution>
95 <id>start-elasticsearch</id>
96 <phase>process-test-classes</phase>
97 <goals>
98 <goal>runforked</goal>
99 </goals>
100 </execution>
101 <execution>
102 <id>stop-elasticsearch</id>
103 <phase>prepare-package</phase>
104 <goals>
105 <goal>stop</goal>
106 </goals>
107 </execution>
108 </executions>
109 </plugin>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-surefire-plugin</artifactId>
113 <configuration>
114 <systemProperties>
115 <property>
116 <name>databaseport</name>
117 <value>${databaseport}</value>
118 </property>
119 </systemProperties>
120 </configuration>
121 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100122 <plugin>
123 <artifactId>maven-assembly-plugin</artifactId>
124 <executions>
125 <execution>
126 <id>make-assembly</id> <!-- this is used for inheritance merges -->
127 <phase>package</phase>
128 <goals>
129 <goal>single</goal>
130 </goals>
131 </execution>
132 </executions>
133 <configuration>
134 <finalName>sdnr-dmt</finalName>
highstreetherbert25b37592020-07-15 15:44:23 +0200135 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100136 <archive>
137 <manifest>
138 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
139 </manifest>
140 </archive>
141 <descriptorRefs>
142 <descriptorRef>jar-with-dependencies</descriptorRef>
143 </descriptorRefs>
144 </configuration>
145 </plugin>
Dan Timoney04e519c2020-03-04 09:43:47 -0500146
herbertd77d01b2020-01-30 10:15:11 +0100147 </plugins>
148 </build>
149</project>