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