blob: 7851019257bfe241a7d8e29b694496d5b9281c2c [file] [log] [blame]
Varun Gudisenacc9de9b2017-08-30 20:49:32 -05001<!--
2 ============LICENSE_START=======================================================
3 org.onap.dmaap
4 ================================================================================
5 Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
18
19 ECOMP is a trademark and service mark of AT&T Intellectual Property.
20
21 -->
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
26 <artifactId>dmaapClient</artifactId>
27 <packaging>jar</packaging>
28 <version>1.0.0-SNAPSHOT</version>
29 <name>dmaapClient</name>
30 <description>Client library for MR event routing API</description>
31
32 <parent>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>1.0.0-SNAPSHOT</version>
36 </parent>
37
38 <properties>
39 <!-- for the client library, we want to allow 1.6 or later -->
40 <maven.compiler.target>1.7</maven.compiler.target>
41 <maven.compiler.source>1.7</maven.compiler.source>
42 <jersey.version>2.22.1</jersey.version>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 </properties>
45
46 <licenses>
47 <license>
48 <name>Apache License Version 2.0</name>
49 </license>
50 </licenses>
51
52 <developers>
53 <developer>
54 <name>Rajashree</name>
55 <email></email>
56 <organization>ATT</organization>
57 <organizationUrl>www.att.com</organizationUrl>
58 </developer>
59 <developer>
60 <name>Ramkumar</name>
61 <email></email>
62 <organization>ATT</organization>
63 <organizationUrl>www.att.com</organizationUrl>
64 </developer>
65 </developers>
66
67 <!-- End Distribution management -->
68
69 <dependencies>
70 <dependency>
71 <groupId>com.att.nsa</groupId>
72 <artifactId>saClientLibrary</artifactId>
73 <version>0.0.1</version>
74 </dependency>
75
76 <dependency>
77 <groupId>org.json</groupId>
78 <artifactId>json</artifactId>
79 <version>20131018</version>
80 </dependency>
81
82 <dependency>
83 <groupId>com.att.aft</groupId>
84 <artifactId>dme2</artifactId>
85 <version>3.1.200</version>
86 <exclusions>
87 <exclusion>
88 <groupId>com.sun.jersey</groupId>
89 <artifactId>jersey-json</artifactId>
90 </exclusion>
91 <exclusion>
92 <groupId>com.sun.jersey</groupId>
93 <artifactId>jersey-client</artifactId>
94 </exclusion>
95 </exclusions>
96 </dependency>
97 <!-- Begin - Dependency on log4j for logging purpose -->
98 <dependency>
99 <groupId>log4j</groupId>
100 <artifactId>log4j</artifactId>
101 <version>1.2.17</version>
102 </dependency>
103 <!-- Log4j's enhanced pattern layout is shipped separately -->
104 <dependency>
105 <groupId>log4j</groupId>
106 <artifactId>apache-log4j-extras</artifactId>
107 <version>1.2.17</version>
108 </dependency>
109 <!-- End - Dependency on log4j for logging purpose -->
110
111 <dependency>
112 <groupId>javax.ws.rs</groupId>
113 <artifactId>javax.ws.rs-api</artifactId>
114 <version>2.0.1</version>
115 </dependency>
116
117 <dependency>
118 <groupId>org.glassfish.jersey.core</groupId>
119 <artifactId>jersey-common</artifactId>
120 <version>${jersey.version}</version>
121 </dependency>
122
123 <dependency>
124 <groupId>org.glassfish.jersey.core</groupId>
125 <artifactId>jersey-client</artifactId>
126 <version>${jersey.version}</version>
127 </dependency>
128
129 <dependency>
130 <groupId>org.glassfish.jersey.media</groupId>
131 <artifactId>jersey-media-json-jackson</artifactId>
132 <version>${jersey.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>junit</groupId>
136 <artifactId>junit</artifactId>
137 <version>4.11</version>
138 <scope>test</scope>
139 </dependency>
140 </dependencies>
141
142 <build>
143 <resources>
144 <resource>
145 <directory>src/main/resources</directory>
146 <filtering>true</filtering>
147 <includes>
148 <include>**/MRClientVersion.properties</include>
149 </includes>
150 </resource>
151 <resource>
152 <directory>src/main/resources</directory>
153 <filtering>false</filtering>
154 <excludes>
155 <exclude>**/MRClientVersion.properties</exclude>
156 </excludes>
157 </resource>
158 </resources>
159 <plugins>
160 <plugin>
161 <artifactId>maven-assembly-plugin</artifactId>
162 <version>2.4</version>
163 <configuration>
164 <descriptorRefs>
165 <descriptorRef>jar-with-dependencies</descriptorRef>
166 </descriptorRefs>
167 </configuration>
168
169 <executions>
170 <execution>
171 <id>make-assembly</id> <!-- this is used for inheritance merges -->
172 <phase>package</phase> <!-- bind to the packaging phase -->
173 <goals>
174 <goal>single</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179
180
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-javadoc-plugin</artifactId>
184 <version>2.10.4</version>
185 <configuration>
186 <additionalparam>-Xdoclint:none</additionalparam>
187 </configuration>
188 <executions>
189 <execution>
190 <id>attach-javadocs</id>
191 <goals>
192 <goal>jar</goal>
193 </goals>
194 </execution>
195 </executions>
196 </plugin>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-source-plugin</artifactId>
200 <version>3.0.0</version>
201 <executions>
202 <execution>
203 <id>attach-sources</id>
204 <goals>
205 <goal>jar-no-fork</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
211 <artifactId>maven-compiler-plugin</artifactId>
212 <version>3.1</version>
213 <configuration>
214 <source>1.7</source>
215 <target>1.7</target>
216 </configuration>
217 </plugin>
218 </plugins>
219 </build>
220
221 <profiles>
222 <!-- Add plugins here that should only be executed on the Jenkins server -->
223 <profile>
224 <id>jenkins</id>
225 <activation>
226 <property>
227 <name>env.BUILD_NUMBER</name>
228 </property>
229 </activation>
230 <build>
231 <plugins>
232 <plugin>
233 <groupId>org.codehaus.mojo</groupId>
234 <artifactId>cobertura-maven-plugin</artifactId>
235 </plugin>
236 </plugins>
237 </build>
238 </profile>
239 </profiles>
240</project>