Removing the snapshot version for relase
[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.oparent</groupId>
26       <artifactId>oparent</artifactId>
27       <version>1.2.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       <camel-spring-boot.version>2.22.1</camel-spring-boot.version>
46    </properties>
47    <dependencies>
48       <dependency>
49          <groupId>org.apache.camel</groupId>
50          <artifactId>camel-core</artifactId>
51          <version>${camel-spring-boot.version}</version>
52       </dependency>
53       <!-- support camel documentation -->
54       <dependency>
55          <groupId>org.apache.camel</groupId>
56          <artifactId>apt</artifactId>
57          <version>${camel-spring-boot.version}</version>
58       </dependency>
59       <!-- logging -->
60       <dependency>
61          <groupId>org.onap.aai.logging-service</groupId>
62          <artifactId>common-logging</artifactId>
63          <version>1.2.2</version>
64       </dependency>
65
66       <dependency>
67           <groupId>org.onap.aai.event-client</groupId>
68           <artifactId>event-client-api</artifactId>
69           <version>${event.client.version}</version>
70       </dependency>
71       <dependency>
72           <groupId>org.onap.aai.event-client</groupId>
73           <artifactId>event-client-dmaap</artifactId>
74           <version>${event.client.version}</version>
75       </dependency>
76       <dependency>
77           <groupId>org.onap.aai.event-client</groupId>
78           <artifactId>event-client-kafka</artifactId>
79           <version>${event.client.version}</version>
80       </dependency>
81
82       <dependency>
83             <groupId>org.apache.httpcomponents</groupId>
84             <artifactId>httpclient</artifactId>
85             <version>4.5.5</version>
86       </dependency>
87
88       <dependency>
89          <groupId>org.onap.aai.aai-common</groupId>
90          <artifactId>aai-schema</artifactId>
91          <version>1.3.0</version>
92       </dependency>
93       <dependency>
94          <groupId>org.onap.aai.aai-common</groupId>
95          <artifactId>aai-schema-ingest</artifactId>
96          <version>1.3.0</version>
97          <!--<exclusions>-->
98             <!--<exclusion>-->
99                <!--<groupId>com.google.guava</groupId>-->
100                <!--<artifactId>guava</artifactId>-->
101             <!--</exclusion>-->
102          <!--</exclusions>-->
103       </dependency>
104
105       <!-- Dependencies for the REST Client component -->
106       <!-- Library to obfuscate encrypted passwords -->
107       <dependency>
108          <groupId>org.eclipse.jetty</groupId>
109          <artifactId>jetty-security</artifactId>
110          <version>9.3.8.RC0</version>
111       </dependency>
112       <!-- ECOMP REST Client Library. -->
113       <dependency>
114          <groupId>org.onap.aai</groupId>
115          <artifactId>rest-client</artifactId>
116          <version>1.1.0</version>
117       </dependency>
118       <!-- End REST Client specific dependencies. -->
119       <!-- testing -->
120       <dependency>
121          <groupId>org.apache.camel</groupId>
122          <artifactId>camel-test</artifactId>
123          <version>${camel-spring-boot.version}</version>
124          <scope>test</scope>
125       </dependency>
126     <dependency>
127        <groupId>org.mockito</groupId>
128        <artifactId>mockito-all</artifactId>
129        <version>1.10.19</version>
130        <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>org.springframework</groupId>
134       <artifactId>spring-context</artifactId>
135       <version>4.3.0.RELEASE</version>
136     </dependency>
137     <dependency>
138       <groupId>org.springframework</groupId>
139       <artifactId>spring-test</artifactId>
140       <version>4.3.0.RELEASE</version>
141       <scope>test</scope>
142     </dependency>
143    </dependencies>
144    <build>
145       <defaultGoal>install</defaultGoal>
146       <plugins>
147          <plugin>
148             <groupId>org.apache.maven.plugins</groupId>
149             <artifactId>maven-compiler-plugin</artifactId>
150             <version>2.5.1</version>
151             <configuration>
152                <source>1.8</source>
153                <target>1.8</target>
154             </configuration>
155          </plugin>
156          <plugin>
157             <groupId>org.apache.maven.plugins</groupId>
158             <artifactId>maven-resources-plugin</artifactId>
159             <version>2.6</version>
160             <configuration>
161                <encoding>UTF-8</encoding>
162             </configuration>
163          </plugin>
164          <!-- to generate the MANIFEST-FILE of the bundle -->
165          <plugin>
166             <groupId>org.apache.felix</groupId>
167             <artifactId>maven-bundle-plugin</artifactId>
168             <version>2.5.4</version>
169             <extensions>true</extensions>
170             <configuration>
171                <instructions>
172                   <Bundle-SymbolicName>org.onap.aai.router-core</Bundle-SymbolicName>
173                   <Export-Service>org.apache.camel.spi.ComponentResolver;component=event-bus</Export-Service>
174                </instructions>
175             </configuration>
176          </plugin>
177          <!-- license plugin -->
178          <!-- Uncomment this to add a license header to every source file
179          <plugin>
180             <groupId>com.mycila</groupId>
181             <artifactId>license-maven-plugin</artifactId>
182             <version>3.0</version>
183             <configuration>
184                <header>License.txt</header>
185                <includes>
186                   <include>src/main/java/**</include>
187                </includes>
188             </configuration>
189             <executions>
190                <execution>
191                   <goals>
192                      <goal>format</goal>
193                   </goals>
194                   <phase>process-sources</phase>
195                </execution>
196             </executions>
197          </plugin>
198          -->
199
200          <!-- Checkstyle plugin - used to report on compliance with -->
201          <!-- the Google style guide. -->
202          <plugin>
203             <groupId>org.apache.maven.plugins</groupId>
204             <artifactId>maven-site-plugin</artifactId>
205             <version>3.6</version>
206          </plugin>
207          <plugin>
208             <groupId>org.sonatype.plugins</groupId>
209             <artifactId>nexus-staging-maven-plugin</artifactId>
210             <version>1.6.7</version>
211             <extensions>true</extensions>
212             <configuration>
213                <nexusUrl>${onap.nexus.url}</nexusUrl>
214                <stagingProfileId>176c31dfe190a</stagingProfileId>
215                <serverId>ecomp-staging</serverId>
216             </configuration>
217          </plugin>
218          <plugin>
219             <groupId>org.codehaus.mojo</groupId>
220             <artifactId>sonar-maven-plugin</artifactId>
221             <version>3.2</version>
222          </plugin>
223          <plugin>
224             <groupId>org.jacoco</groupId>
225             <artifactId>jacoco-maven-plugin</artifactId>
226             <version>0.7.7.201606060606</version>
227             <configuration>
228                <dumpOnExit>true</dumpOnExit>
229             </configuration>
230             <executions>
231                <execution>
232                   <id>jacoco-initialize-unit-tests</id>
233                   <goals>
234                      <goal>prepare-agent</goal>
235                   </goals>
236                   <configuration>
237                      <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
238                      <!-- <append>true</append> -->
239                   </configuration>
240                </execution>
241             </executions>
242          </plugin>
243       </plugins>
244    </build>
245
246    <reporting>
247       <plugins>
248          <plugin>
249             <groupId>org.apache.maven.plugins</groupId>
250             <artifactId>maven-checkstyle-plugin</artifactId>
251             <version>2.17</version>
252             <reportSets>
253                <reportSet>
254                   <reports>
255                      <report>checkstyle</report>
256                   </reports>
257                </reportSet>
258             </reportSets>
259          </plugin>
260       </plugins>
261    </reporting>
262
263 </project>