blob: 6b1048959f3054455d8aeb7576dacd9e6009be29 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <!--/*-
4 * ============LICENSE_START=======================================================
5 * OSAM Core
6 * ================================================================================
7 * Copyright (C) 2018 AT&T
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
21 */-->
22
23 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.osam</groupId>
25 <artifactId>osam-core-parent</artifactId>
26 <packaging>pom</packaging>
27 <name>OSAM Core Parent</name>
28
29 <profiles>
30 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
31
32 <profile>
33 <id>onap</id>
34 <activation>
35 <activeByDefault>true</activeByDefault>
36 </activation>
37 <modules>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +020038 <module>osam-common</module>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +030039 <module>onap-enabler-be</module>
40 <module>onap-enabler-infra</module>
41 <module>osam-core</module>
42 </modules>
43 <repositories>
44 <repository>
45 <id>ecomp-releases</id>
46 <name>VID Release Repository</name>
47 <url>${nexusproxy}/${releaseNexusPath}</url>
48 </repository>
49 <repository>
50 <id>ecomp-snapshots</id>
51 <name>VID Snapshot Repository</name>
52 <url>${nexusproxy}/${snapshotNexusPath}</url>
53 </repository>
54 <repository>
55 <id>ecomp-staging</id>
56 <name>VID Staging Repository</name>
57 <url>${nexusproxy}/${stagingNexusPath}</url>
58 </repository>
59 <repository>
60 <!-- Snapshots repository has ECOMP snapshot artifacts -->
61 <id>oss-snapshots</id>
62 <name>oss Central - Snapshots</name>
63 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
64 </repository>
65 </repositories>
66
67 <distributionManagement>
68 <repository>
69 <id>ecomp-releases</id>
70 <name>VID Release Repository</name>
71 <url>${nexusproxy}/${releaseNexusPath}</url>
72 </repository>
73 <snapshotRepository>
74 <id>ecomp-snapshots</id>
75 <name>VID Snapshot Repository</name>
76 <url>${nexusproxy}/${snapshotNexusPath}</url>
77 </snapshotRepository>
78 <!-- added for javadoc -->
79 <site>
80 <id>ecomp-site</id>
81 <url>dav:${nexusproxy}${sitePath}</url>
82 </site>
83 </distributionManagement>
84
85 </profile>
86
87 <profile>
88 <id>docker</id>
89 <modules>
90 <module>osam-core-be</module>
91 <module>osam-core</module>
92 <module>deliveries</module>
93 </modules>
94 </profile>
95 </profiles>
96
97 <properties>
98 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
99 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
100 <build.version>0.0.1-SNAPSHOT</build.version>
101 <nexusproxy>https://nexus.onap.org</nexusproxy>
102 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
103 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
104 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
105 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
106 </properties>
107
108 <build>
109 <plugins>
110 <plugin>
111 <groupId>org.codehaus.mojo</groupId>
112 <artifactId>versions-maven-plugin</artifactId>
113 <version>1.3.1</version>
114 </plugin>
115 <plugin>
116 <groupId>org.sonatype.plugins</groupId>
117 <artifactId>nexus-staging-maven-plugin</artifactId>
118 <version>1.6.7</version>
119 <extensions>true</extensions>
120 <configuration>
121 <nexusUrl>${nexusproxy}</nexusUrl>
122 <stagingProfileId>176c31dfe190a</stagingProfileId>
123 <serverId>ecomp-staging</serverId>
124 </configuration>
125 </plugin>
126
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-site-plugin</artifactId>
130 <version>3.6</version>
131 <dependencies>
132 <dependency>
133 <groupId>org.apache.maven.wagon</groupId>
134 <artifactId>wagon-webdav-jackrabbit</artifactId>
135 <version>2.10</version>
136 </dependency>
137 </dependencies>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-deploy-plugin</artifactId>
142 <version>2.8</version>
143 </plugin>
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-surefire-plugin</artifactId>
148 <version>2.17</version>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-compiler-plugin</artifactId>
154 <version>2.3.2</version>
155
156 <configuration>
157 <debug>true</debug>
158 <compilerArgument>-Xlint</compilerArgument>
159 <verbose>true</verbose>
160 <showDeprecation>true</showDeprecation>
161 <showWarnings>true</showWarnings>
162 <source>1.8</source>
163 <target>1.8</target>
164 </configuration>
165 </plugin>
166 <plugin>
167 <groupId>org.sonarsource.scanner.maven</groupId>
168 <artifactId>sonar-maven-plugin</artifactId>
169 <version>3.3.0.603</version>
170 </plugin>
171 <plugin>
172 <groupId>com.blackducksoftware.integration</groupId>
173 <artifactId>hub-maven-plugin</artifactId>
174 <version>1.4.0</version>
175 <inherited>false</inherited>
176 <configuration>
177 <hubProjectName>${project.name}</hubProjectName>
178 <outputDirectory>${project.basedir}</outputDirectory>
179 </configuration>
180 <executions>
181 <execution>
182 <id>create-bdio-file</id>
183 <phase>package</phase>
184 <goals>
185 <goal>createHubOutput</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 </plugins>
191 </build>
192
193 <!-- added for javadoc -->
194 <pluginRepositories>
195 <!-- Black Duck plugin dependencies -->
196 <pluginRepository>
197 <id>JCenter</id>
198 <name>JCenter Repository</name>
199 <url>http://jcenter.bintray.com</url>
200 </pluginRepository>
201
202 <pluginRepository>
203 <id>Restlet</id>
204 <name>Restlet Repository</name>
205 <url>http://maven.restlet.com</url>
206 </pluginRepository>
207 </pluginRepositories>
208 <reporting>
209 <plugins>
210
211 <plugin>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-javadoc-plugin</artifactId>
214 <version>2.10.4</version>
215 <configuration>
216 <failOnError>false</failOnError>
217 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
218 <docletArtifact>
219 <groupId>org.umlgraph</groupId>
220 <artifactId>umlgraph</artifactId>
221 <version>5.6</version>
222 </docletArtifact>
223 <additionalparam>-views</additionalparam>
224 <useStandardDocletOptions>true</useStandardDocletOptions>
225 </configuration>
226 </plugin>
227 </plugins>
228 </reporting>
229 <dependencies>
230 <dependency>
231 <groupId>junit</groupId>
232 <artifactId>junit</artifactId>
233 <version>4.11</version>
234 <scope>test</scope>
235 </dependency>
236
237 <!--Overide versions for latest security fixes-->
238 <dependency>
239 <groupId>ch.qos.logback</groupId>
240 <artifactId>logback-core</artifactId>
241 <version>1.2.3</version>
242 </dependency>
243 <dependency>
244 <groupId>ch.qos.logback</groupId>
245 <artifactId>logback-classic</artifactId>
246 <version>1.2.3</version>
247 </dependency>
248 <dependency>
249 <groupId>commons-collections</groupId>
250 <artifactId>commons-collections</artifactId>
251 <version>3.2.2</version>
252 </dependency>
253 <dependency>
254 <groupId>org.apache.poi</groupId>
255 <artifactId>poi</artifactId>
256 <version>3.17</version>
257 </dependency>
258 <dependency>
259 <groupId>org.apache.httpcomponents</groupId>
260 <artifactId>httpclient</artifactId>
261 <version>4.5.3</version>
262 </dependency>
263 </dependencies>
264 <version>0.0.1-SNAPSHOT</version>
265</project>