DMAAP-83 Initial code import
[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>${artifact.version}</version>
7   <name>buscontroller</name>
8   <distributionManagement>
9     <repository>
10       <id>ecomp-releases</id>
11       <name>Open eCOMP Release Repository</name>
12       <url>${nexusproxy}/${releases.path}</url>
13     </repository>
14     <snapshotRepository>
15       <id>ecomp-snapshots</id>
16       <name>Open eCOMP Snapshot Repository</name>
17         <url>${nexusproxy}/${snapshots.path}</url>
18     </snapshotRepository>
19     <site>
20       <id>ecomp-site</id>
21       <url>dav:${nexusproxy}/content/sites/site/org/onap/dmaap/dbcapi/${project.artifactId}/${project.version}/</url>
22     </site>
23   </distributionManagement>
24   <pluginRepositories>
25     <pluginRepository>
26       <id>central</id>
27       <url>http://repo1.maven.org/maven2</url>
28     </pluginRepository>
29   </pluginRepositories>
30   <build>
31     <finalName>buscontroller</finalName>
32
33     <plugins>
34       <plugin>
35         <groupId>org.apache.maven.plugins</groupId>
36         <artifactId>maven-compiler-plugin</artifactId>
37         <version>2.5.1</version>
38         <inherited>true</inherited>
39         <configuration>
40           <source>1.7</source>
41           <target>1.7</target>
42         </configuration>
43       </plugin>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-deploy-plugin</artifactId>
47         <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
48         <configuration>
49           <skip/>
50         </configuration>
51       </plugin>
52       <plugin>
53         <groupId>org.apache.maven.plugins</groupId>
54         <artifactId>maven-site-plugin</artifactId>
55         <version>3.6</version>
56         <dependencies>
57           <dependency>
58             <groupId>org.apache.maven.wagon</groupId>
59             <artifactId>wagon-webdav-jackrabbit</artifactId>
60             <version>2.10</version>
61           </dependency>
62         </dependencies>
63       </plugin>
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-dependency-plugin</artifactId>
67         <version>2.10</version>
68         <executions>
69           <execution>
70             <id>copy-dependencies</id>
71             <phase>package</phase>
72             <goals>
73               <goal>copy-dependencies</goal>
74             </goals>
75             <configuration>
76               <outputDirectory>${project.build.directory}/deps</outputDirectory>
77               <overWriteReleases>false</overWriteReleases>
78               <overWriteSnapshots>false</overWriteSnapshots>
79               <overWriteIfNewer>true</overWriteIfNewer>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84
85
86       <plugin>
87         <groupId>org.sonatype.plugins</groupId>
88         <artifactId>nexus-staging-maven-plugin</artifactId>
89         <version>1.6.7</version>
90         <extensions>true</extensions>
91         <configuration>
92           <serverId>ecomp-staging</serverId>
93           <nexusUrl>${nexusproxy}</nexusUrl>
94           <stagingProfileId>176c31dfe190a</stagingProfileId>
95         </configuration>
96       </plugin>
97
98     </plugins>
99     <pluginManagement>
100       <plugins>
101         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
102         <plugin>
103           <groupId>org.eclipse.m2e</groupId>
104           <artifactId>lifecycle-mapping</artifactId>
105           <version>1.0.0</version>
106           <configuration>
107             <lifecycleMappingMetadata>
108               <pluginExecutions>
109                 <pluginExecution>
110                   <pluginExecutionFilter>
111                     <groupId>org.apache.maven.plugins</groupId>
112                     <artifactId>maven-dependency-plugin</artifactId>
113                     <versionRange>[2.10,)</versionRange>
114                     <goals>
115                       <goal>copy-dependencies</goal>
116                     </goals>
117                   </pluginExecutionFilter>
118                   <action>
119                     <ignore/>
120                   </action>
121                 </pluginExecution>
122               </pluginExecutions>
123             </lifecycleMappingMetadata>
124           </configuration>
125         </plugin>
126       </plugins>
127     </pluginManagement>
128   </build>
129   <dependencyManagement>
130     <dependencies>
131  
132       <dependency>
133         <groupId>org.glassfish.jersey</groupId>
134         <artifactId>jersey-bom</artifactId>
135         <version>${jersey.version}</version>
136         <type>pom</type>
137         <scope>import</scope>
138       </dependency>
139     </dependencies>
140   </dependencyManagement>
141   <dependencies>
142         <dependency>
143         <groupId>io.swagger</groupId>
144         <artifactId>swagger-core</artifactId>
145         <version>1.5.13</version>
146       </dependency>
147       <dependency>
148         <groupId>io.swagger</groupId>
149         <artifactId>swagger-jersey2-jaxrs</artifactId>
150         <version>1.5.13</version>
151       </dependency>
152        <dependency>
153         <groupId>io.swagger</groupId>
154         <artifactId>swagger-annotations</artifactId>
155         <version>1.5.13</version>
156       </dependency>   
157     <dependency>
158       <groupId>org.glassfish.jersey.containers</groupId>
159       <artifactId>jersey-container-servlet-core</artifactId>
160       <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
161       <!-- artifactId>jersey-container-servlet</artifactId -->
162     </dependency>
163     <dependency>
164       <groupId>org.glassfish.jersey.media</groupId>
165       <artifactId>jersey-media-moxy</artifactId>
166     </dependency>
167     <dependency>
168       <groupId>log4j</groupId>
169       <artifactId>log4j</artifactId>
170       <version>1.2.17</version>
171     </dependency>
172     <dependency>
173       <groupId>org.eclipse.jetty</groupId>
174       <artifactId>jetty-server</artifactId>
175       <version>${jettyVersion}</version>
176     </dependency>
177     <dependency>
178       <groupId>org.eclipse.jetty</groupId>
179       <artifactId>jetty-servlet</artifactId>
180       <version>${jettyVersion}</version>
181       <scope>compile</scope>
182     </dependency>
183     <dependency>
184       <groupId>org.eclipse.jetty</groupId>
185       <artifactId>jetty-servlets</artifactId>
186       <version>${jettyVersion}</version>
187       <scope>compile</scope>
188     </dependency>
189     <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
190     <dependency>
191       <groupId>com.googlecode.json-simple</groupId>
192       <artifactId>json-simple</artifactId>
193       <version>1.1.1</version>
194     </dependency>
195     <dependency>
196       <groupId>commons-codec</groupId>
197       <artifactId>commons-codec</artifactId>
198       <version>1.6</version>
199     </dependency>
200     <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
201     <dependency>
202       <groupId>org.postgresql</groupId>
203       <artifactId>postgresql</artifactId>
204       <version>9.4.1208.jre7</version>
205     </dependency>
206         <dependency>
207                 <groupId>com.att.eelf</groupId> 
208                 <artifactId>eelf-core</artifactId> 
209                 <version>${eelf.version}</version> 
210         </dependency>
211         <dependency>
212                 <groupId>org.onap.dmaap.dbcapi</groupId>
213                 <artifactId>dbcapi</artifactId>
214                 <version>1.1.0-SNAPSHOT</version>
215         </dependency>
216   </dependencies>
217   <reporting>
218     <plugins>
219       <plugin>
220         <groupId>org.apache.maven.plugins</groupId>
221         <artifactId>maven-javadoc-plugin</artifactId>
222         <version>2.10.4</version>
223         <configuration>
224           <failOnError>false</failOnError>
225           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
226           <docletArtifact>
227             <groupId>org.umlgraph</groupId>
228             <artifactId>umlgraph</artifactId>
229             <version>5.6</version>
230           </docletArtifact>
231           <additionalparam>-views</additionalparam>
232           <useStandardDocletOptions>true</useStandardDocletOptions>
233         </configuration>
234       </plugin>
235     </plugins>
236   </reporting>
237   <properties>
238     <jersey.version>2.16</jersey.version>
239     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
240     <jettyVersion>9.3.7.v20160115</jettyVersion>
241     <eelf.version>0.0.1</eelf.version>
242     <artifact.version>1.0.0-SNAPSHOT</artifact.version>
243     <nexusproxy>https://nexus.onap.org</nexusproxy>
244     <snapshots.path>content/repositories/snapshots/</snapshots.path>
245     <releases.path>content/repositories/releases/</releases.path>
246   </properties>
247   <description>Packaging Platform (DMaaP) Bus Controller API as a Docker container. </description>
248 </project>