Removed the SNAPSHOT portion from the event-client
[aai/router-core.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 org.onap.aai
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22 <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/maven-v4_0_0.xsd">
23    <modelVersion>4.0.0</modelVersion>
24    <parent>
25       <groupId>org.onap.oparent</groupId>
26       <artifactId>oparent</artifactId>
27       <version>1.1.0</version>
28    </parent>
29
30    <groupId>org.onap.aai.router-core</groupId>
31    <artifactId>router-core</artifactId>
32    <packaging>bundle</packaging>
33    <version>1.3.0-SNAPSHOT</version>
34    <name>aai-router-core</name>
35    <properties>
36       <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
37       <event.client.version>1.3.0</event.client.version>
38       <!-- Sonar Properties -->
39       <sonar.language>java</sonar.language>
40       <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
41       <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
42       <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43       <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
44       <sonar.projectVersion>${project.version}</sonar.projectVersion>
45    </properties>
46    <dependencies>
47       <dependency>
48          <groupId>org.apache.camel</groupId>
49          <artifactId>camel-core</artifactId>
50          <version>2.20.1</version>
51       </dependency>
52       <!-- support camel documentation -->
53       <dependency>
54          <groupId>org.apache.camel</groupId>
55          <artifactId>apt</artifactId>
56          <version>2.20.1</version>
57       </dependency>
58       <!-- logging -->
59       <dependency>
60          <groupId>org.onap.aai.logging-service</groupId>
61          <artifactId>common-logging</artifactId>
62          <version>1.2.2</version>
63       </dependency>
64
65       <dependency>
66           <groupId>org.onap.aai.event-client</groupId>
67           <artifactId>event-client-api</artifactId>
68           <version>${event.client.version}</version>
69       </dependency>
70       <dependency>
71           <groupId>org.onap.aai.event-client</groupId>
72           <artifactId>event-client-dmaap</artifactId>
73           <version>${event.client.version}</version>
74       </dependency>
75       <dependency>
76           <groupId>org.onap.aai.event-client</groupId>
77           <artifactId>event-client-kafka</artifactId>
78           <version>${event.client.version}</version>
79       </dependency>
80
81       <dependency>
82             <groupId>org.apache.httpcomponents</groupId>
83             <artifactId>httpclient</artifactId>
84             <version>4.5.5</version>
85       </dependency>
86
87       <dependency>
88          <groupId>org.onap.aai.aai-common</groupId>
89          <artifactId>aai-schema</artifactId>
90          <version>1.3.0-SNAPSHOT</version>
91       </dependency>
92       <dependency>
93          <groupId>org.onap.aai.aai-common</groupId>
94          <artifactId>aai-schema-ingest</artifactId>
95          <version>1.2.2</version>
96          <!--<exclusions>-->
97             <!--<exclusion>-->
98                <!--<groupId>com.google.guava</groupId>-->
99                <!--<artifactId>guava</artifactId>-->
100             <!--</exclusion>-->
101          <!--</exclusions>-->
102       </dependency>
103
104       <!-- Dependencies for the REST Client component -->
105       <!-- Library to obfuscate encrypted passwords -->
106       <dependency>
107          <groupId>org.eclipse.jetty</groupId>
108          <artifactId>jetty-security</artifactId>
109          <version>9.3.8.RC0</version>
110       </dependency>
111       <!-- ECOMP REST Client Library. -->
112       <dependency>
113          <groupId>org.onap.aai</groupId>
114          <artifactId>rest-client</artifactId>
115          <version>1.1.0</version>
116       </dependency>
117       <!-- End REST Client specific dependencies. -->
118       <!-- testing -->
119       <dependency>
120          <groupId>org.apache.camel</groupId>
121          <artifactId>camel-test</artifactId>
122          <version>2.20.1</version>
123          <scope>test</scope>
124       </dependency>
125     <dependency>
126        <groupId>org.mockito</groupId>
127        <artifactId>mockito-all</artifactId>
128        <version>1.10.19</version>
129        <scope>test</scope>
130     </dependency>
131    </dependencies>
132    <build>
133       <defaultGoal>install</defaultGoal>
134       <plugins>
135          <plugin>
136             <groupId>org.apache.maven.plugins</groupId>
137             <artifactId>maven-compiler-plugin</artifactId>
138             <version>2.5.1</version>
139             <configuration>
140                <source>1.8</source>
141                <target>1.8</target>
142             </configuration>
143          </plugin>
144          <plugin>
145             <groupId>org.apache.maven.plugins</groupId>
146             <artifactId>maven-resources-plugin</artifactId>
147             <version>2.6</version>
148             <configuration>
149                <encoding>UTF-8</encoding>
150             </configuration>
151          </plugin>
152          <!-- to generate the MANIFEST-FILE of the bundle -->
153          <plugin>
154             <groupId>org.apache.felix</groupId>
155             <artifactId>maven-bundle-plugin</artifactId>
156             <version>2.5.4</version>
157             <extensions>true</extensions>
158             <configuration>
159                <instructions>
160                   <Bundle-SymbolicName>org.onap.aai.router-core</Bundle-SymbolicName>
161                   <Export-Service>org.apache.camel.spi.ComponentResolver;component=event-bus</Export-Service>
162                </instructions>
163             </configuration>
164          </plugin>
165          <!-- license plugin -->
166          <!-- Uncomment this to add a license header to every source file
167          <plugin>
168             <groupId>com.mycila</groupId>
169             <artifactId>license-maven-plugin</artifactId>
170             <version>3.0</version>
171             <configuration>
172                <header>License.txt</header>
173                <includes>
174                   <include>src/main/java/**</include>
175                </includes>
176             </configuration>
177             <executions>
178                <execution>
179                   <goals>
180                      <goal>format</goal>
181                   </goals>
182                   <phase>process-sources</phase>
183                </execution>
184             </executions>
185          </plugin>
186          -->
187
188          <!-- Checkstyle plugin - used to report on compliance with -->
189          <!-- the Google style guide. -->
190          <plugin>
191             <groupId>org.apache.maven.plugins</groupId>
192             <artifactId>maven-site-plugin</artifactId>
193             <version>3.6</version>
194          </plugin>
195          <plugin>
196             <groupId>org.sonatype.plugins</groupId>
197             <artifactId>nexus-staging-maven-plugin</artifactId>
198             <version>1.6.7</version>
199             <extensions>true</extensions>
200             <configuration>
201                <nexusUrl>${onap.nexus.url}</nexusUrl>
202                <stagingProfileId>176c31dfe190a</stagingProfileId>
203                <serverId>ecomp-staging</serverId>
204             </configuration>
205          </plugin>
206          <plugin>
207             <groupId>org.codehaus.mojo</groupId>
208             <artifactId>sonar-maven-plugin</artifactId>
209             <version>3.2</version>
210          </plugin>
211          <plugin>
212             <groupId>org.jacoco</groupId>
213             <artifactId>jacoco-maven-plugin</artifactId>
214             <version>0.7.7.201606060606</version>
215             <configuration>
216                <dumpOnExit>true</dumpOnExit>
217             </configuration>
218             <executions>
219                <execution>
220                   <id>jacoco-initialize-unit-tests</id>
221                   <goals>
222                      <goal>prepare-agent</goal>
223                   </goals>
224                   <configuration>
225                      <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
226                      <!-- <append>true</append> -->
227                   </configuration>
228                </execution>
229             </executions>
230          </plugin>
231       </plugins>
232    </build>
233
234    <reporting>
235       <plugins>
236          <plugin>
237             <groupId>org.apache.maven.plugins</groupId>
238             <artifactId>maven-checkstyle-plugin</artifactId>
239             <version>2.17</version>
240             <reportSets>
241                <reportSet>
242                   <reports>
243                      <report>checkstyle</report>
244                   </reports>
245                </reportSet>
246             </reportSets>
247          </plugin>
248       </plugins>
249    </reporting>
250
251 </project>