blob: a43ec0c5273a44353b288ae6bba771ad2e6693be [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 Timoneyfc05c3c2020-03-05 15:52:09 -050032 <version>2.0.0-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 Timoneyfc05c3c2020-03-05 15:52:09 -050038 <version>1.0.0-SNAPSHOT</version>
Michael Dürreee75b192020-02-26 06:41:50 +010039 <packaging>bundle</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>
63 <version>1.4</version>
herbertd77d01b2020-01-30 10:15:11 +010064 </dependency>
65 <dependency>
Singal, Kapil (ks220y)23cd3032020-03-09 11:16:49 -040066 <groupId>org.slf4j</groupId>
67 <artifactId>slf4j-log4j12</artifactId>
68 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010069 <dependency>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>sdnr-wt-common</artifactId>
72 <version>${project.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>${project.groupId}</groupId>
76 <artifactId>sdnr-wt-data-provider-model</artifactId>
77 <version>${project.version}</version>
78 </dependency>
79 </dependencies>
Dan Timoney04e519c2020-03-04 09:43:47 -050080
herbertd77d01b2020-01-30 10:15:11 +010081 <build>
82 <plugins>
83 <plugin>
herbertd77d01b2020-01-30 10:15:11 +010084 <groupId>com.github.alexcojocaru</groupId>
85 <artifactId>elasticsearch-maven-plugin</artifactId>
86 <version>6.16</version>
87 <configuration>
88 <skip>${skipTests}</skip>
89 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +010090 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +010091 <httpPort>${databaseport}</httpPort>
92 <version>6.5.0</version>
herbertd77d01b2020-01-30 10:15:11 +010093 </configuration>
94 <executions>
95 <execution>
96 <id>start-elasticsearch</id>
97 <phase>process-test-classes</phase>
98 <goals>
99 <goal>runforked</goal>
100 </goals>
101 </execution>
102 <execution>
103 <id>stop-elasticsearch</id>
104 <phase>prepare-package</phase>
105 <goals>
106 <goal>stop</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-surefire-plugin</artifactId>
114 <configuration>
115 <systemProperties>
116 <property>
117 <name>databaseport</name>
118 <value>${databaseport}</value>
119 </property>
120 </systemProperties>
121 </configuration>
122 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100123 <plugin>
124 <artifactId>maven-assembly-plugin</artifactId>
125 <executions>
126 <execution>
127 <id>make-assembly</id> <!-- this is used for inheritance merges -->
128 <phase>package</phase>
129 <goals>
130 <goal>single</goal>
131 </goals>
132 </execution>
133 </executions>
134 <configuration>
135 <finalName>sdnr-dmt</finalName>
Singal, Kapil (ks220y)23cd3032020-03-09 11:16:49 -0400136 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100137 <archive>
138 <manifest>
139 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
140 </manifest>
141 </archive>
142 <descriptorRefs>
143 <descriptorRef>jar-with-dependencies</descriptorRef>
144 </descriptorRefs>
145 </configuration>
146 </plugin>
Dan Timoney04e519c2020-03-04 09:43:47 -0500147
herbertd77d01b2020-01-30 10:15:11 +0100148 </plugins>
149 </build>
150</project>