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