correction to mvn step to populate dependencies
[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.0</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
43     </plugins>
44     <pluginManagement>
45       <plugins>
46         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
47         <plugin>
48           <groupId>org.eclipse.m2e</groupId>
49           <artifactId>lifecycle-mapping</artifactId>
50           <version>1.0.0</version>
51           <configuration>
52             <lifecycleMappingMetadata>
53               <pluginExecutions>
54                 <pluginExecution>
55                   <pluginExecutionFilter>
56                     <groupId>org.apache.maven.plugins</groupId>
57                     <artifactId>maven-dependency-plugin</artifactId>
58                     <versionRange>[2.10,)</versionRange>
59                     <goals>
60                       <goal>copy-dependencies</goal>
61                     </goals>
62                   </pluginExecutionFilter>
63                   <action>
64                     <ignore/>
65                   </action>
66                 </pluginExecution>
67               </pluginExecutions>
68             </lifecycleMappingMetadata>
69           </configuration>
70         </plugin>
71       </plugins>
72     </pluginManagement>
73   </build>
74   <dependencyManagement>
75     <dependencies>
76  
77       <dependency>
78         <groupId>org.glassfish.jersey</groupId>
79         <artifactId>jersey-bom</artifactId>
80         <version>${jersey.version}</version>
81         <type>pom</type>
82         <scope>import</scope>
83       </dependency>
84     </dependencies>
85   </dependencyManagement>
86   <dependencies>
87         <dependency>
88         <groupId>io.swagger</groupId>
89         <artifactId>swagger-core</artifactId>
90         <version>1.5.13</version>
91       </dependency>
92       <dependency>
93         <groupId>io.swagger</groupId>
94         <artifactId>swagger-jersey2-jaxrs</artifactId>
95         <version>1.5.13</version>
96       </dependency>
97        <dependency>
98         <groupId>io.swagger</groupId>
99         <artifactId>swagger-annotations</artifactId>
100         <version>1.5.13</version>
101       </dependency>   
102     <dependency>
103       <groupId>org.glassfish.jersey.containers</groupId>
104       <artifactId>jersey-container-servlet-core</artifactId>
105       <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
106       <!-- artifactId>jersey-container-servlet</artifactId -->
107     </dependency>
108     <dependency>
109       <groupId>org.glassfish.jersey.media</groupId>
110       <artifactId>jersey-media-moxy</artifactId>
111     </dependency>
112     <dependency>
113       <groupId>log4j</groupId>
114       <artifactId>log4j</artifactId>
115       <version>1.2.17</version>
116     </dependency>
117     <dependency>
118       <groupId>org.eclipse.jetty</groupId>
119       <artifactId>jetty-server</artifactId>
120       <version>${jettyVersion}</version>
121     </dependency>
122     <dependency>
123       <groupId>org.eclipse.jetty</groupId>
124       <artifactId>jetty-servlet</artifactId>
125       <version>${jettyVersion}</version>
126       <scope>compile</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.eclipse.jetty</groupId>
130       <artifactId>jetty-servlets</artifactId>
131       <version>${jettyVersion}</version>
132       <scope>compile</scope>
133     </dependency>
134     <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
135     <dependency>
136       <groupId>com.googlecode.json-simple</groupId>
137       <artifactId>json-simple</artifactId>
138       <version>1.1.1</version>
139     </dependency>
140     <dependency>
141       <groupId>commons-codec</groupId>
142       <artifactId>commons-codec</artifactId>
143       <version>1.6</version>
144     </dependency>
145     <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
146     <dependency>
147       <groupId>org.postgresql</groupId>
148       <artifactId>postgresql</artifactId>
149       <version>9.4.1208.jre7</version>
150     </dependency>
151         <dependency>
152                 <groupId>com.att.eelf</groupId> 
153                 <artifactId>eelf-core</artifactId> 
154                 <version>${eelf.version}</version> 
155         </dependency>
156         <dependency>
157                 <groupId>org.onap.dmaap.dbcapi</groupId>
158                 <artifactId>dbcapi</artifactId>
159                 <version>1.0.1-SNAPSHOT</version>
160         </dependency>
161   </dependencies>
162   <reporting>
163     <plugins>
164       <plugin>
165         <groupId>org.apache.maven.plugins</groupId>
166         <artifactId>maven-javadoc-plugin</artifactId>
167         <version>2.10.4</version>
168         <configuration>
169           <failOnError>false</failOnError>
170           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
171           <docletArtifact>
172             <groupId>org.umlgraph</groupId>
173             <artifactId>umlgraph</artifactId>
174             <version>5.6</version>
175           </docletArtifact>
176           <additionalparam>-views</additionalparam>
177           <useStandardDocletOptions>true</useStandardDocletOptions>
178         </configuration>
179       </plugin>
180     </plugins>
181   </reporting>
182   <properties>
183     <jersey.version>2.16</jersey.version>
184     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
185     <jettyVersion>9.3.7.v20160115</jettyVersion>
186     <eelf.version>0.0.1</eelf.version>
187     <artifact.version>1.0.1</artifact.version>
188                 <!--  SONAR  -->
189                  <jacoco.version>0.7.7.201606060606</jacoco.version>
190             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
191             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
192             <!-- Default Sonar configuration -->
193             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
194             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
195             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
196             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
197   </properties>
198   <description>Packaging Platform (DMaaP) Bus Controller API as a Docker container. </description>
199 </project>