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.onap.dmaap.buscontroller</groupId>
5 <artifactId>buscontroller</artifactId>
6 <version>1.0.1</version>
7 <name>dmaap-buscontroller</name>
9 <groupId>org.onap.oparent</groupId>
10 <artifactId>oparent</artifactId>
11 <version>1.1.0</version>
15 <finalName>buscontroller</finalName>
19 <groupId>org.apache.maven.plugins</groupId>
20 <artifactId>maven-enforcer-plugin</artifactId>
21 <version>3.0.0-M1</version>
24 <id>enforce-no-snapshots</id>
31 <message>No Snapshots Allowed!</message>
33 <exclude>org.onap.dmaap.dbcapi:dbcapi</exclude>
43 <!-- Package an Uber jar -->
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-shade-plugin</artifactId>
47 <version>2.4.3</version>
49 <!-- Run shade goal on package phase -->
51 <phase>package</phase>
57 <!-- NOTE: Need the following transformer else gets "Could not resolve type id 'https' into a subtype" error
58 Solution found from here:
59 http://stackoverflow.com/questions/27543060/why-does-dropwizard-configuration-is-not-working
60 Some more context here:
61 https://github.com/dropwizard/dropwizard/issues/455 -->
62 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
63 <!-- add Main-Class to manifest file -->
64 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
65 <mainClass>org.onap.dmaap.dbcapi.server.Main</mainClass>
76 <groupId>org.sonatype.plugins</groupId>
77 <artifactId>nexus-staging-maven-plugin</artifactId>
78 <version>1.6.7</version>
79 <extensions>true</extensions>
81 <serverId>ecomp-staging</serverId>
82 <nexusUrl>${nexusproxy}</nexusUrl>
83 <stagingProfileId>176c31dfe190a</stagingProfileId>
88 <!-- for Distribution management -->
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-site-plugin</artifactId>
92 <version>3.6</version>
95 <groupId>org.apache.maven.wagon</groupId>
96 <artifactId>wagon-webdav-jackrabbit</artifactId>
97 <version>2.10</version>
105 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
107 <groupId>org.eclipse.m2e</groupId>
108 <artifactId>lifecycle-mapping</artifactId>
109 <version>1.0.0</version>
111 <lifecycleMappingMetadata>
114 <pluginExecutionFilter>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-dependency-plugin</artifactId>
117 <versionRange>[2.10,)</versionRange>
118 <phase>install</phase>
120 <goal>copy-dependencies</goal>
122 </pluginExecutionFilter>
128 </lifecycleMappingMetadata>
140 <groupId>com.spotify</groupId>
141 <artifactId>docker-maven-plugin</artifactId>
142 <version>1.0.0</version>
144 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image}</imageName>
145 <dockerDirectory>${project.basedir}</dockerDirectory>
146 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
148 <imageTag>${artifact.version}</imageTag>
149 <imageTag>latest</imageTag>
151 <forceTags>true</forceTags>
154 <targetPath>/</targetPath>
155 <directory>${project.basedir}</directory>
157 <exclude>target/**/*</exclude>
158 <exclude>pom.xml</exclude>
163 <targetPath>/</targetPath>
164 <directory>${project.build.directory}</directory>
165 <include>**/**</include>
174 <dependencyManagement>
178 <groupId>org.glassfish.jersey</groupId>
179 <artifactId>jersey-bom</artifactId>
180 <version>${jersey.version}</version>
182 <scope>import</scope>
185 </dependencyManagement>
188 <groupId>io.swagger</groupId>
189 <artifactId>swagger-core</artifactId>
190 <version>1.5.13</version>
193 <groupId>io.swagger</groupId>
194 <artifactId>swagger-jersey2-jaxrs</artifactId>
195 <version>1.5.13</version>
198 <groupId>io.swagger</groupId>
199 <artifactId>swagger-annotations</artifactId>
200 <version>1.5.13</version>
203 <groupId>org.glassfish.jersey.containers</groupId>
204 <artifactId>jersey-container-servlet-core</artifactId>
205 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
206 <!-- artifactId>jersey-container-servlet</artifactId -->
209 <groupId>org.glassfish.jersey.media</groupId>
210 <artifactId>jersey-media-moxy</artifactId>
213 <groupId>log4j</groupId>
214 <artifactId>log4j</artifactId>
215 <version>1.2.17</version>
218 <groupId>org.eclipse.jetty</groupId>
219 <artifactId>jetty-server</artifactId>
220 <version>${jettyVersion}</version>
223 <groupId>org.eclipse.jetty</groupId>
224 <artifactId>jetty-servlet</artifactId>
225 <version>${jettyVersion}</version>
226 <scope>compile</scope>
229 <groupId>org.eclipse.jetty</groupId>
230 <artifactId>jetty-servlets</artifactId>
231 <version>${jettyVersion}</version>
232 <scope>compile</scope>
234 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
236 <groupId>com.googlecode.json-simple</groupId>
237 <artifactId>json-simple</artifactId>
238 <version>1.1.1</version>
241 <groupId>commons-codec</groupId>
242 <artifactId>commons-codec</artifactId>
243 <version>1.6</version>
245 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
247 <groupId>org.postgresql</groupId>
248 <artifactId>postgresql</artifactId>
249 <version>9.4.1208.jre7</version>
252 <groupId>com.att.eelf</groupId>
253 <artifactId>eelf-core</artifactId>
254 <version>${eelf.version}</version>
257 <groupId>org.onap.dmaap.dbcapi</groupId>
258 <artifactId>dbcapi</artifactId>
259 <version>1.0.1-SNAPSHOT</version>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-javadoc-plugin</artifactId>
267 <version>2.10.4</version>
269 <failOnError>false</failOnError>
270 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
272 <groupId>org.umlgraph</groupId>
273 <artifactId>umlgraph</artifactId>
274 <version>5.6</version>
276 <additionalparam>-views</additionalparam>
277 <useStandardDocletOptions>true</useStandardDocletOptions>
283 <distributionManagement>
286 <url>dav:${nexusproxy}${sitePath}</url>
288 </distributionManagement>
290 <jersey.version>2.16</jersey.version>
291 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
292 <jettyVersion>9.3.7.v20160115</jettyVersion>
293 <eelf.version>0.0.1</eelf.version>
294 <artifact.version>1.0.1</artifact.version>
296 <jacoco.version>0.7.7.201606060606</jacoco.version>
297 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
298 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
299 <!-- Default Sonar configuration -->
300 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
301 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
302 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
303 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
305 <!-- docker image -->
306 <docker.image>onap/dmaap/buscontroller</docker.image>
308 <nexusproxy>https://nexus.onap.org</nexusproxy>
309 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
311 <!-- for Distribution Management -->
312 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
314 <description>Packaging Platform (DMaaP) Bus Controller API as a Docker container. </description>