Revert package name changes
[dmaap/messagerouter/dmaapclient.git] / pom.xml
1 <!--
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         <url>https://github.com/att/dmaap-framework</url>
32
33         <parent>
34                 <groupId>org.onap.oparent</groupId>
35                 <artifactId>oparent</artifactId>
36                 <version>1.0.0-SNAPSHOT</version>
37         </parent>
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         <dependencies>
68                 <dependency>
69                         <groupId>com.att.nsa</groupId>
70                         <artifactId>saClientLibrary</artifactId>
71                         <version>0.0.1</version>
72                 </dependency>
73
74                 <dependency>
75                         <groupId>org.json</groupId>
76                         <artifactId>json</artifactId>
77                         <version>20131018</version>
78                 </dependency>
79
80                 <dependency>
81                         <groupId>com.att.aft</groupId>
82                         <artifactId>dme2</artifactId>
83                         <version>3.1.200</version>
84                         <exclusions>
85                                 <exclusion>
86                                         <groupId>com.sun.jersey</groupId>
87                                         <artifactId>jersey-json</artifactId>
88                                 </exclusion>
89                                 <exclusion>
90                                         <groupId>com.sun.jersey</groupId>
91                                         <artifactId>jersey-client</artifactId>
92                                 </exclusion>
93                         </exclusions>
94                 </dependency>
95                 <!-- Begin - Dependency on log4j for logging purpose -->
96                 <dependency>
97                         <groupId>log4j</groupId>
98                         <artifactId>log4j</artifactId>
99                         <version>1.2.17</version>
100                 </dependency>
101                 <!-- Log4j's enhanced pattern layout is shipped separately -->
102                 <dependency>
103                         <groupId>log4j</groupId>
104                         <artifactId>apache-log4j-extras</artifactId>
105                         <version>1.2.17</version>
106                 </dependency>
107                 <!-- End - Dependency on log4j for logging purpose -->
108
109                 <dependency>
110                         <groupId>javax.ws.rs</groupId>
111                         <artifactId>javax.ws.rs-api</artifactId>
112                         <version>2.0.1</version>
113                 </dependency>
114
115                 <dependency>
116                         <groupId>org.glassfish.jersey.core</groupId>
117                         <artifactId>jersey-common</artifactId>
118                         <version>${jersey.version}</version>
119                 </dependency>
120
121                 <dependency>
122                         <groupId>org.glassfish.jersey.core</groupId>
123                         <artifactId>jersey-client</artifactId>
124                         <version>${jersey.version}</version>
125                 </dependency>
126
127                 <dependency>
128                         <groupId>org.glassfish.jersey.media</groupId>
129                         <artifactId>jersey-media-json-jackson</artifactId>
130                         <version>${jersey.version}</version>
131                 </dependency>
132                 <dependency>
133                         <groupId>junit</groupId>
134                         <artifactId>junit</artifactId>
135                         <version>4.11</version>
136                         <scope>test</scope>
137                 </dependency>
138         </dependencies>
139
140         <build>
141                 <resources>
142                         <resource>
143                                 <directory>src/main/resources</directory>
144                                 <filtering>true</filtering>
145                                 <includes>
146                                         <include>**/MRClientVersion.properties</include>
147                                 </includes>
148                         </resource>
149                         <resource>
150                                 <directory>src/main/resources</directory>
151                                 <filtering>false</filtering>
152                                 <excludes>
153                                         <exclude>**/MRClientVersion.properties</exclude>
154                                 </excludes>
155                         </resource>
156                 </resources>
157                 <plugins>
158                         <plugin>
159                                 <artifactId>maven-assembly-plugin</artifactId>
160                                 <version>2.4</version>
161                                 <configuration>
162                                         <descriptorRefs>
163                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
164                                         </descriptorRefs>
165                                 </configuration>
166
167                                 <executions>
168                                         <execution>
169                                                 <id>make-assembly</id> <!-- this is used for inheritance merges -->
170                                                 <phase>package</phase> <!-- bind to the packaging phase -->
171                                                 <goals>
172                                                         <goal>single</goal>
173                                                 </goals>
174                                         </execution>
175                                 </executions>
176                         </plugin>
177
178
179                         <plugin>
180                                 <groupId>org.apache.maven.plugins</groupId>
181                                 <artifactId>maven-javadoc-plugin</artifactId>
182                                 <version>2.10.4</version>
183                                 <configuration>
184                                         <additionalparam>-Xdoclint:none</additionalparam>
185                                 </configuration>
186                                 <executions>
187                                         <execution>
188                                                 <id>attach-javadocs</id>
189                                                 <goals>
190                                                         <goal>jar</goal>
191                                                 </goals>
192                                         </execution>
193                                 </executions>
194                         </plugin>
195                         <plugin>
196                                 <groupId>org.apache.maven.plugins</groupId>
197                                 <artifactId>maven-source-plugin</artifactId>
198                                 <version>3.0.0</version>
199                                 <executions>
200                                         <execution>
201                                                 <id>attach-sources</id>
202                                                 <goals>
203                                                         <goal>jar-no-fork</goal>
204                                                 </goals>
205                                         </execution>
206                                 </executions>
207                         </plugin>
208                         <plugin>
209                                 <artifactId>maven-compiler-plugin</artifactId>
210                                 <version>3.1</version>
211                                 <configuration>
212                                         <source>1.7</source>
213                                         <target>1.7</target>
214                                 </configuration>
215                         </plugin>
216                 </plugins>
217         </build>
218
219         <profiles>
220                 <!-- Add plugins here that should only be executed on the Jenkins server -->
221                 <profile>
222                         <id>jenkins</id>
223                         <activation>
224                                 <property>
225                                         <name>env.BUILD_NUMBER</name>
226                                 </property>
227                         </activation>
228                         <build>
229                                 <plugins>
230                                         <plugin>
231                                                 <groupId>org.codehaus.mojo</groupId>
232                                                 <artifactId>cobertura-maven-plugin</artifactId>
233                                         </plugin>
234                                 </plugins>
235                         </build>
236                 </profile>
237         </profiles>
238 </project>