update oparent artifact version
[dmaap/buscontroller.git] / pom.xml
1 <?xml version="1.0"?>
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>
8   <parent>
9     <groupId>org.onap.oparent</groupId>
10     <artifactId>oparent</artifactId>
11     <version>0.1.1</version>
12     <relativePath/>
13   </parent>
14   <build>
15     <finalName>buscontroller</finalName>
16
17     <plugins>
18       <plugin>
19         <groupId>org.apache.maven.plugins</groupId>
20         <artifactId>maven-enforcer-plugin</artifactId>
21         <version>3.0.0-M1</version>
22         <executions>
23           <execution>
24             <id>enforce-no-snapshots</id>
25             <goals>
26               <goal>enforce</goal>
27             </goals>
28             <configuration>
29               <rules>
30                 <requireReleaseDeps>
31                   <message>No Snapshots Allowed!</message>
32                   <excludes>
33                     <exclude>org.onap.dmaap.dbcapi:dbcapi</exclude>
34                   </excludes>
35                 </requireReleaseDeps>
36               </rules>
37               <fail>true</fail>
38             </configuration>
39           </execution>
40         </executions>
41       </plugin>
42           <plugin>
43         <!--Special goal to populate target/libs with dependencies to place in docker image -->
44             <groupId>org.apache.maven.plugins</groupId>
45             <artifactId>maven-dependency-plugin</artifactId>
46             <executions>
47               <execution>
48                     <phase>install</phase>
49                     <goals>
50                       <goal>copy-dependencies</goal>
51                     </goals>
52                     <configuration>
53                       <outputDirectory>${project.build.directory}/dependency</outputDirectory>
54                     </configuration>
55               </execution>
56        </executions>
57       </plugin>
58
59     </plugins>
60     <pluginManagement>
61       <plugins>
62         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
63         <plugin>
64           <groupId>org.eclipse.m2e</groupId>
65           <artifactId>lifecycle-mapping</artifactId>
66           <version>1.0.0</version>
67           <configuration>
68             <lifecycleMappingMetadata>
69               <pluginExecutions>
70                 <pluginExecution>
71                   <pluginExecutionFilter>
72                     <groupId>org.apache.maven.plugins</groupId>
73                     <artifactId>maven-dependency-plugin</artifactId>
74                     <versionRange>[2.10,)</versionRange>
75                                             <phase>install</phase>
76                         <goals>
77                           <goal>copy-dependencies</goal>
78                         </goals>
79                   </pluginExecutionFilter>
80                   <action>
81                     <ignore/>
82                   </action>
83                 </pluginExecution>
84               </pluginExecutions>
85             </lifecycleMappingMetadata>
86           </configuration>
87         </plugin>
88       </plugins>
89     </pluginManagement>
90   </build>
91   <dependencyManagement>
92     <dependencies>
93  
94       <dependency>
95         <groupId>org.glassfish.jersey</groupId>
96         <artifactId>jersey-bom</artifactId>
97         <version>${jersey.version}</version>
98         <type>pom</type>
99         <scope>import</scope>
100       </dependency>
101     </dependencies>
102   </dependencyManagement>
103   <dependencies>
104         <dependency>
105         <groupId>io.swagger</groupId>
106         <artifactId>swagger-core</artifactId>
107         <version>1.5.13</version>
108       </dependency>
109       <dependency>
110         <groupId>io.swagger</groupId>
111         <artifactId>swagger-jersey2-jaxrs</artifactId>
112         <version>1.5.13</version>
113       </dependency>
114        <dependency>
115         <groupId>io.swagger</groupId>
116         <artifactId>swagger-annotations</artifactId>
117         <version>1.5.13</version>
118       </dependency>   
119     <dependency>
120       <groupId>org.glassfish.jersey.containers</groupId>
121       <artifactId>jersey-container-servlet-core</artifactId>
122       <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
123       <!-- artifactId>jersey-container-servlet</artifactId -->
124     </dependency>
125     <dependency>
126       <groupId>org.glassfish.jersey.media</groupId>
127       <artifactId>jersey-media-moxy</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>log4j</groupId>
131       <artifactId>log4j</artifactId>
132       <version>1.2.17</version>
133     </dependency>
134     <dependency>
135       <groupId>org.eclipse.jetty</groupId>
136       <artifactId>jetty-server</artifactId>
137       <version>${jettyVersion}</version>
138     </dependency>
139     <dependency>
140       <groupId>org.eclipse.jetty</groupId>
141       <artifactId>jetty-servlet</artifactId>
142       <version>${jettyVersion}</version>
143       <scope>compile</scope>
144     </dependency>
145     <dependency>
146       <groupId>org.eclipse.jetty</groupId>
147       <artifactId>jetty-servlets</artifactId>
148       <version>${jettyVersion}</version>
149       <scope>compile</scope>
150     </dependency>
151     <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
152     <dependency>
153       <groupId>com.googlecode.json-simple</groupId>
154       <artifactId>json-simple</artifactId>
155       <version>1.1.1</version>
156     </dependency>
157     <dependency>
158       <groupId>commons-codec</groupId>
159       <artifactId>commons-codec</artifactId>
160       <version>1.6</version>
161     </dependency>
162     <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
163     <dependency>
164       <groupId>org.postgresql</groupId>
165       <artifactId>postgresql</artifactId>
166       <version>9.4.1208.jre7</version>
167     </dependency>
168         <dependency>
169                 <groupId>com.att.eelf</groupId> 
170                 <artifactId>eelf-core</artifactId> 
171                 <version>${eelf.version}</version> 
172         </dependency>
173         <dependency>
174                 <groupId>org.onap.dmaap.dbcapi</groupId>
175                 <artifactId>dbcapi</artifactId>
176                 <version>1.0.1-SNAPSHOT</version>
177         </dependency>
178   </dependencies>
179   <reporting>
180     <plugins>
181       <plugin>
182         <groupId>org.apache.maven.plugins</groupId>
183         <artifactId>maven-javadoc-plugin</artifactId>
184         <version>2.10.4</version>
185         <configuration>
186           <failOnError>false</failOnError>
187           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
188           <docletArtifact>
189             <groupId>org.umlgraph</groupId>
190             <artifactId>umlgraph</artifactId>
191             <version>5.6</version>
192           </docletArtifact>
193           <additionalparam>-views</additionalparam>
194           <useStandardDocletOptions>true</useStandardDocletOptions>
195         </configuration>
196       </plugin>
197     </plugins>
198   </reporting>
199   <properties>
200     <jersey.version>2.16</jersey.version>
201     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
202     <jettyVersion>9.3.7.v20160115</jettyVersion>
203     <eelf.version>0.0.1</eelf.version>
204     <artifact.version>1.0.1</artifact.version>
205                 <!--  SONAR  -->
206                  <jacoco.version>0.7.7.201606060606</jacoco.version>
207             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
208             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
209             <!-- Default Sonar configuration -->
210             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
211             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
212             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
213             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
214   </properties>
215   <description>Packaging Platform (DMaaP) Bus Controller API as a Docker container. </description>
216 </project>