rest-client from 1.0.0-SNAPSHOT to 1.1.0-SNAPSHOT
[aai/router-core.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3    <modelVersion>4.0.0</modelVersion>
4    <groupId>org.openecomp</groupId>
5    <artifactId>router-core</artifactId>
6    <packaging>bundle</packaging>
7    <version>1.1.0-SNAPSHOT</version>
8    <name>Core Data Router Components</name>
9    <properties>
10       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
12       <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
13       <nexusproxy>https://nexus.onap.org</nexusproxy>
14       <!-- Sonar Properties -->
15       <sonar.language>java</sonar.language>
16       <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
17       <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
18       <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
19       <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
20       <sonar.projectVersion>${project.version}</sonar.projectVersion>
21    </properties>
22    <dependencies>
23       <dependency>
24          <groupId>org.apache.camel</groupId>
25          <artifactId>camel-core</artifactId>
26          <version>2.15.5</version>
27       </dependency>
28       <!-- support camel documentation -->
29       <dependency>
30          <groupId>org.apache.camel</groupId>
31          <artifactId>apt</artifactId>
32          <version>2.15.5</version>
33       </dependency>
34       <!-- logging -->
35       <dependency>
36          <groupId>org.openecomp.aai.logging-service</groupId>
37          <artifactId>common-logging</artifactId>
38          <version>1.0.0</version>
39       </dependency>
40       <dependency>
41          <groupId>com.att.nsa</groupId>
42          <artifactId>cambriaClient</artifactId>
43          <version>0.0.1</version>
44       </dependency>
45       <!-- Dependencies for the REST Client component -->
46       <!-- Library to obfuscate encrypted passwords -->
47       <dependency>
48          <groupId>org.eclipse.jetty</groupId>
49          <artifactId>jetty-security</artifactId>
50          <version>9.3.8.RC0</version>
51       </dependency>
52       <!-- ECOMP REST Client Library. -->
53       <dependency>
54          <groupId>org.openecomp.aai</groupId>
55          <artifactId>rest-client</artifactId>
56          <version>1.1.0-SNAPSHOT</version>
57       </dependency>
58       <!-- End REST Client specific dependencies. -->
59       <!-- testing -->
60       <dependency>
61          <groupId>org.apache.camel</groupId>
62          <artifactId>camel-test</artifactId>
63          <version>2.15.5</version>
64          <scope>test</scope>
65       </dependency>
66    </dependencies>
67    <build>
68       <defaultGoal>install</defaultGoal>
69       <plugins>
70          <plugin>
71             <groupId>org.apache.maven.plugins</groupId>
72             <artifactId>maven-compiler-plugin</artifactId>
73             <version>2.5.1</version>
74             <configuration>
75                <source>1.8</source>
76                <target>1.8</target>
77             </configuration>
78          </plugin>
79          <plugin>
80             <groupId>org.apache.maven.plugins</groupId>
81             <artifactId>maven-resources-plugin</artifactId>
82             <version>2.6</version>
83             <configuration>
84                <encoding>UTF-8</encoding>
85             </configuration>
86          </plugin>
87          <!-- to generate the MANIFEST-FILE of the bundle -->
88          <plugin>
89             <groupId>org.apache.felix</groupId>
90             <artifactId>maven-bundle-plugin</artifactId>
91             <version>2.3.7</version>
92             <extensions>true</extensions>
93             <configuration>
94                <instructions>
95                   <Bundle-SymbolicName>org.openecomp.router-core</Bundle-SymbolicName>
96                   <Export-Service>org.apache.camel.spi.ComponentResolver;component=event-bus</Export-Service>
97                </instructions>
98             </configuration>
99          </plugin>
100          <!-- license plugin -->
101          <plugin>
102             <groupId>com.mycila</groupId>
103             <artifactId>license-maven-plugin</artifactId>
104             <version>3.0</version>
105             <configuration>
106                <header>License.txt</header>
107                <includes>
108                   <include>src/main/java/**</include>
109                </includes>
110             </configuration>
111             <executions>
112                <execution>
113                   <goals>
114                      <goal>format</goal>
115                   </goals>
116                   <phase>process-sources</phase>
117                </execution>
118             </executions>
119          </plugin>
120          <!-- Checkstyle plugin - used to report on compliance with -->
121          <!-- the Google style guide. -->
122          <plugin>
123             <groupId>org.apache.maven.plugins</groupId>
124             <artifactId>maven-site-plugin</artifactId>
125             <version>3.3</version>
126             <configuration>
127                <reportPlugins>
128                   <plugin>
129                      <groupId>org.apache.maven.plugins</groupId>
130                      <artifactId>maven-checkstyle-plugin</artifactId>
131                      <version>2.17</version>
132                      <reportSets>
133                         <reportSet>
134                            <reports>
135                               <report>checkstyle</report>
136                            </reports>
137                         </reportSet>
138                      </reportSets>
139                   </plugin>
140                </reportPlugins>
141             </configuration>
142          </plugin>
143          <plugin>
144             <groupId>org.sonatype.plugins</groupId>
145             <artifactId>nexus-staging-maven-plugin</artifactId>
146             <version>1.6.7</version>
147             <extensions>true</extensions>
148             <configuration>
149                <nexusUrl>${nexusproxy}</nexusUrl>
150                <stagingProfileId>176c31dfe190a</stagingProfileId>
151                <serverId>ecomp-staging</serverId>
152             </configuration>
153          </plugin>
154          <plugin>
155             <groupId>org.codehaus.mojo</groupId>
156             <artifactId>sonar-maven-plugin</artifactId>
157             <version>3.2</version>
158          </plugin>
159          <plugin>
160             <groupId>org.jacoco</groupId>
161             <artifactId>jacoco-maven-plugin</artifactId>
162             <version>0.7.7.201606060606</version>
163             <configuration>
164                <dumpOnExit>true</dumpOnExit>
165             </configuration>
166             <executions>
167                <execution>
168                   <id>jacoco-initialize-unit-tests</id>
169                   <goals>
170                      <goal>prepare-agent</goal>
171                   </goals>
172                   <configuration>
173                      <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
174                      <!-- <append>true</append> -->
175                   </configuration>
176                </execution>
177             </executions>
178          </plugin>
179       </plugins>
180    </build>
181    <distributionManagement>
182       <repository>
183          <id>ecomp-releases</id>
184          <name>ECOMP Release Repository</name>
185          <url>${nexusproxy}/content/repositories/releases/</url>
186       </repository>
187       <snapshotRepository>
188          <id>ecomp-snapshots</id>
189          <name>ECOMP Snapshot Repository</name>
190          <url>${nexusproxy}/content/repositories/snapshots/</url>
191       </snapshotRepository>
192    </distributionManagement>
193 </project>