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 <groupId>com.spotify</groupId>
89 <artifactId>docker-maven-plugin</artifactId>
90 <version>1.0.0</version>
92 <imageName>${onap.nexus.dockerregistry.daily}/${docker.image}</imageName>
93 <dockerDirectory>${project.basedir}</dockerDirectory>
94 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
96 <imageTag>${artifact.version}</imageTag>
97 <imageTag>latest</imageTag>
99 <forceTags>true</forceTags>
102 <targetPath>/</targetPath>
103 <directory>${project.basedir}</directory>
105 <exclude>target/**/*</exclude>
106 <exclude>pom.xml</exclude>
111 <targetPath>/</targetPath>
112 <directory>${project.build.directory}</directory>
113 <include>**/**</include>
119 <!-- for Distribution management -->
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-site-plugin</artifactId>
123 <version>3.6</version>
126 <groupId>org.apache.maven.wagon</groupId>
127 <artifactId>wagon-webdav-jackrabbit</artifactId>
128 <version>2.10</version>
136 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
138 <groupId>org.eclipse.m2e</groupId>
139 <artifactId>lifecycle-mapping</artifactId>
140 <version>1.0.0</version>
142 <lifecycleMappingMetadata>
145 <pluginExecutionFilter>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-dependency-plugin</artifactId>
148 <versionRange>[2.10,)</versionRange>
149 <phase>install</phase>
151 <goal>copy-dependencies</goal>
153 </pluginExecutionFilter>
159 </lifecycleMappingMetadata>
165 <dependencyManagement>
169 <groupId>org.glassfish.jersey</groupId>
170 <artifactId>jersey-bom</artifactId>
171 <version>${jersey.version}</version>
173 <scope>import</scope>
176 </dependencyManagement>
179 <groupId>io.swagger</groupId>
180 <artifactId>swagger-core</artifactId>
181 <version>1.5.13</version>
184 <groupId>io.swagger</groupId>
185 <artifactId>swagger-jersey2-jaxrs</artifactId>
186 <version>1.5.13</version>
189 <groupId>io.swagger</groupId>
190 <artifactId>swagger-annotations</artifactId>
191 <version>1.5.13</version>
194 <groupId>org.glassfish.jersey.containers</groupId>
195 <artifactId>jersey-container-servlet-core</artifactId>
196 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
197 <!-- artifactId>jersey-container-servlet</artifactId -->
200 <groupId>org.glassfish.jersey.media</groupId>
201 <artifactId>jersey-media-moxy</artifactId>
204 <groupId>log4j</groupId>
205 <artifactId>log4j</artifactId>
206 <version>1.2.17</version>
209 <groupId>org.eclipse.jetty</groupId>
210 <artifactId>jetty-server</artifactId>
211 <version>${jettyVersion}</version>
214 <groupId>org.eclipse.jetty</groupId>
215 <artifactId>jetty-servlet</artifactId>
216 <version>${jettyVersion}</version>
217 <scope>compile</scope>
220 <groupId>org.eclipse.jetty</groupId>
221 <artifactId>jetty-servlets</artifactId>
222 <version>${jettyVersion}</version>
223 <scope>compile</scope>
225 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
227 <groupId>com.googlecode.json-simple</groupId>
228 <artifactId>json-simple</artifactId>
229 <version>1.1.1</version>
232 <groupId>commons-codec</groupId>
233 <artifactId>commons-codec</artifactId>
234 <version>1.6</version>
236 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
238 <groupId>org.postgresql</groupId>
239 <artifactId>postgresql</artifactId>
240 <version>9.4.1208.jre7</version>
243 <groupId>com.att.eelf</groupId>
244 <artifactId>eelf-core</artifactId>
245 <version>${eelf.version}</version>
248 <groupId>org.onap.dmaap.dbcapi</groupId>
249 <artifactId>dbcapi</artifactId>
250 <version>1.0.1-SNAPSHOT</version>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-javadoc-plugin</artifactId>
258 <version>2.10.4</version>
260 <failOnError>false</failOnError>
261 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
263 <groupId>org.umlgraph</groupId>
264 <artifactId>umlgraph</artifactId>
265 <version>5.6</version>
267 <additionalparam>-views</additionalparam>
268 <useStandardDocletOptions>true</useStandardDocletOptions>
274 <distributionManagement>
277 <url>dav:${nexusproxy}${sitePath}</url>
279 </distributionManagement>
281 <jersey.version>2.16</jersey.version>
282 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
283 <jettyVersion>9.3.7.v20160115</jettyVersion>
284 <eelf.version>0.0.1</eelf.version>
285 <artifact.version>1.0.1</artifact.version>
287 <jacoco.version>0.7.7.201606060606</jacoco.version>
288 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
289 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
290 <!-- Default Sonar configuration -->
291 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
292 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
293 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
294 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
296 <!-- docker image -->
297 <docker.image>onap/dmaap/buscontroller</docker.image>
299 <nexusproxy>https://nexus.onap.org</nexusproxy>
300 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
302 <!-- for Distribution Management -->
303 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
305 <description>Packaging Platform (DMaaP) Bus Controller API as a Docker container. </description>