blob: 1e83f061f4d1f8064b0a3801a5e748c858375e68 [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>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010032 <version>2.1.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010034 </parent>
35
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010036 <groupId>org.onap.ccsdk.features.sdnr.wt.aluminium.sr1</groupId>
Michael Dürreee75b192020-02-26 06:41:50 +010037 <artifactId>sdnr-wt-data-provider-setup</artifactId>
Dan Timoney1bd16a42020-11-25 16:13:30 -050038 <version>1.1.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>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010065 <groupId>org.slf4j</groupId>
66 <artifactId>slf4j-api</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010067 </dependency>
68 <dependency>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +010069 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-log4j12</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010071 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010072 <dependency>
73 <groupId>${project.groupId}</groupId>
74 <artifactId>sdnr-wt-common</artifactId>
75 <version>${project.version}</version>
76 </dependency>
77 <dependency>
78 <groupId>${project.groupId}</groupId>
79 <artifactId>sdnr-wt-data-provider-model</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82 </dependencies>
83 <build>
84 <plugins>
85 <plugin>
herbertd77d01b2020-01-30 10:15:11 +010086 <groupId>com.github.alexcojocaru</groupId>
87 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +010088 <configuration>
89 <skip>${skipTests}</skip>
90 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +010091 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +010092 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +010093 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +010094 </configuration>
95 <executions>
96 <execution>
97 <id>start-elasticsearch</id>
98 <phase>process-test-classes</phase>
99 <goals>
100 <goal>runforked</goal>
101 </goals>
102 </execution>
103 <execution>
104 <id>stop-elasticsearch</id>
105 <phase>prepare-package</phase>
106 <goals>
107 <goal>stop</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-surefire-plugin</artifactId>
115 <configuration>
116 <systemProperties>
117 <property>
118 <name>databaseport</name>
119 <value>${databaseport}</value>
120 </property>
121 </systemProperties>
122 </configuration>
123 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100124 <plugin>
125 <artifactId>maven-assembly-plugin</artifactId>
126 <executions>
127 <execution>
128 <id>make-assembly</id> <!-- this is used for inheritance merges -->
129 <phase>package</phase>
130 <goals>
131 <goal>single</goal>
132 </goals>
133 </execution>
134 </executions>
135 <configuration>
136 <finalName>sdnr-dmt</finalName>
Ravi Pendurty80ebbf52021-02-03 13:56:31 +0100137 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100138 <archive>
139 <manifest>
140 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
141 </manifest>
142 </archive>
143 <descriptorRefs>
144 <descriptorRef>jar-with-dependencies</descriptorRef>
145 </descriptorRefs>
146 </configuration>
147 </plugin>
Dan Timoney04e519c2020-03-04 09:43:47 -0500148
herbertd77d01b2020-01-30 10:15:11 +0100149 </plugins>
150 </build>
151</project>