blob: cebd08eb858ce08e23997f60de31ab85609003da [file] [log] [blame]
sg481n37e47102017-08-03 17:44:44 -04001<!--
sg481nbfc98882017-08-24 00:58:40 -04002 /*******************************************************************************
3 * ============LICENSE_START====================================================
4 * * org.onap.aaf
5 * * ===========================================================================
6 * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 * * ===========================================================================
8 * * Licensed under the Apache License, Version 2.0 (the "License");
9 * * you may not use this file except in compliance with the License.
10 * * You may obtain a copy of the License at
11 * *
12 * * http://www.apache.org/licenses/LICENSE-2.0
13 * *
14 * * Unless required by applicable law or agreed to in writing, software
15 * * distributed under the License is distributed on an "AS IS" BASIS,
16 * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * * See the License for the specific language governing permissions and
18 * * limitations under the License.
19 * * ============LICENSE_END====================================================
20 * *
21 * * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * *
23 ******************************************************************************/
sg481n37e47102017-08-03 17:44:44 -040024-->
25<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
sg481nbfc98882017-08-24 00:58:40 -040028 <groupId>org.onap.aaf.inno</groupId>
sg481n37e47102017-08-03 17:44:44 -040029 <artifactId>parent</artifactId>
sg481n1a5c4932017-08-17 18:44:28 -040030 <name>inno</name>
sg481nd1492132017-08-10 17:53:22 -040031 <version>1.0.0-SNAPSHOT</version>
sg481n37e47102017-08-03 17:44:44 -040032 <packaging>pom</packaging>
33 <url>https://github.com/att/AAF</url>
34 <description>INNO</description>
35 <licenses>
36 <license>
37 <name>BSD License</name>
38 <url> </url>
39 </license>
40 </licenses>
41
42 <developers>
43 <developer>
44 <name>Jonathan Gathman</name>
45 <email></email>
46 <organization>ATT</organization>
47 <organizationUrl></organizationUrl>
48 </developer>
49 </developers>
sg481na821bc92017-08-16 17:34:08 -040050
51 <parent>
52 <groupId>org.onap.oparent</groupId>
53 <artifactId>oparent</artifactId>
54 <version>1.0.0-SNAPSHOT</version>
55 </parent>
56
sg481n37e47102017-08-03 17:44:44 -040057 <properties>
58 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sg481nd1492132017-08-10 17:53:22 -040059 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481nb826b442017-09-08 12:26:03 -040060 <sonar.language>java</sonar.language>
61 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
62 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
63 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
64 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
65 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
66 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481na821bc92017-08-16 17:34:08 -040067 <nexusproxy>https://nexus.onap.org</nexusproxy>
68 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
69 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
70 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481n1a5c4932017-08-17 18:44:28 -040071 <sitePath>/content/sites/site/org/onap/aaf/inno/${project.artifactId}/${project.version}</sitePath>
sg481n37e47102017-08-03 17:44:44 -040072 </properties>
73
74 <dependencies>
75 <dependency>
76 <groupId>junit</groupId>
77 <artifactId>junit</artifactId>
78 <version>4.10</version>
79 <scope>test</scope>
80 </dependency>
81 </dependencies>
82
83 <build>
84 <testSourceDirectory>src/test/java</testSourceDirectory>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <version>2.4</version>
89 <artifactId>maven-jar-plugin</artifactId>
90 <configuration>
91 <outputDirectory>target</outputDirectory>
92 </configuration>
93 </plugin>
94
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-surefire-plugin</artifactId>
98 <version>2.17</version>
99 <configuration>
100 <skipTests>false</skipTests>
101 <includes>
102 <include>**/JU*.java</include>
103 </includes>
104
105 </configuration>
106 </plugin>
107
108 <plugin>
109 <inherited>true</inherited>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
sg481na821bc92017-08-16 17:34:08 -0400112 <version>3.6.2</version>
sg481n37e47102017-08-03 17:44:44 -0400113 <configuration>
114 <source>1.6</source>
115 <target>1.6</target>
116 </configuration>
117 </plugin>
sg481n37e47102017-08-03 17:44:44 -0400118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-source-plugin</artifactId>
121 <version>2.2.1</version>
122 <executions>
123 <execution>
124 <id>attach-sources</id>
125 <goals>
126 <goal>jar-no-fork</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131
sg481nb826b442017-09-08 12:26:03 -0400132 <plugin>
sg481na821bc92017-08-16 17:34:08 -0400133 <groupId>org.sonatype.plugins</groupId>
134 <artifactId>nexus-staging-maven-plugin</artifactId>
135 <version>1.6.7</version>
136 <extensions>true</extensions>
137 <configuration>
138 <nexusUrl>${nexusproxy}</nexusUrl>
sg481neecd3032017-08-17 17:52:20 -0400139 <stagingProfileId>176c31dfe190a</stagingProfileId>
sg481na821bc92017-08-16 17:34:08 -0400140 <serverId>ecomp-staging</serverId>
sg481nb826b442017-09-08 12:26:03 -0400141 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
sg481na821bc92017-08-16 17:34:08 -0400142 </configuration>
sg481nb826b442017-09-08 12:26:03 -0400143 </plugin>
144 <plugin>
145 <groupId>org.jacoco</groupId>
146 <artifactId>jacoco-maven-plugin</artifactId>
147 <version>0.7.7.201606060606</version>
148 <configuration>
149 <dumpOnExit>true</dumpOnExit>
150 <includes>
151 <include>org.onap.aaf.*</include>
152 </includes>
153 </configuration>
154 <executions>
155 <execution>
156 <id>pre-unit-test</id>
157 <goals>
158 <goal>prepare-agent</goal>
159 </goals>
160 <configuration>
161 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
162 <!-- <append>true</append> -->
163 </configuration>
164 </execution>
165 <execution>
166 <id>pre-integration-test</id>
167 <phase>pre-integration-test</phase>
168 <goals>
169 <goal>prepare-agent</goal>
170 </goals>
171 <configuration>
172 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
173 <!-- <append>true</append> -->
174 </configuration>
175 </execution>
176 <execution>
177 <goals>
178 <goal>merge</goal>
179 </goals>
180 <phase>post-integration-test</phase>
181 <configuration>
182 <fileSets>
183 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
184 <directory>${project.build.directory}/coverage-reports</directory>
185 <includes>
186 <include>*.exec</include>
187 </includes>
188 </fileSet>
189 </fileSets>
190 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
191 </configuration>
192 </execution>
193 </executions>
194 </plugin>
sg481n37e47102017-08-03 17:44:44 -0400195 </plugins>
196</build>
sg481n37e47102017-08-03 17:44:44 -0400197<distributionManagement>
sg481na821bc92017-08-16 17:34:08 -0400198 <repository>
199 <id>ecomp-releases</id>
200 <name>AAF Release Repository</name>
sg481na85b56b2017-08-17 17:25:33 -0400201 <url>${nexusproxy}${releaseNexusPath}</url>
sg481na821bc92017-08-16 17:34:08 -0400202 </repository>
203 <snapshotRepository>
204 <id>ecomp-snapshots</id>
205 <name>AAF Snapshot Repository</name>
sg481na85b56b2017-08-17 17:25:33 -0400206 <url>${nexusproxy}${snapshotNexusPath}</url>
sg481na821bc92017-08-16 17:34:08 -0400207 </snapshotRepository>
sg481n1a5c4932017-08-17 18:44:28 -0400208 <site>
209 <id>ecomp-site</id>
210 <url>dav:${nexusproxy}${sitePath}</url>
211 </site>
sg481n37e47102017-08-03 17:44:44 -0400212 </distributionManagement>
sg481na821bc92017-08-16 17:34:08 -0400213<pluginRepositories>
214 <pluginRepository>
215 <id>onap-plugin-snapshots</id>
216 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
217 </pluginRepository>
218 </pluginRepositories>
sg481n37e47102017-08-03 17:44:44 -0400219
sg481na821bc92017-08-16 17:34:08 -0400220 <repositories>
221 <repository>
222 <id>central</id>
223 <name>Maven 2 repository 2</name>
224 <url>http://repo2.maven.org/maven2/</url>
225 </repository>
226 <repository>
227 <id>onap-jar-snapshots</id>
228 <url>https://nexus.onap.org/content/repositories/snapshots</url>
229 </repository>
230 <repository>
231 <id>spring-repo</id>
232 <name>Spring repo</name>
233 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
234 </repository>
235 <repository>
236 <id>repository.jboss.org-public</id>
237 <name>JBoss.org Maven repository</name>
238 <url>https://repository.jboss.org/nexus/content/groups/public</url>
239 </repository>
240 </repositories>
sg481n37e47102017-08-03 17:44:44 -0400241 <modules>
242 <module>env</module>
243 <module>xgen</module>
244 <module>rosetta</module>
245
246 <!--
247 <module>persist</module>
248 <module>fsdb</module>
249 <module>rosetta</module>
250 <module>persist-fsdb</module>
251 <module>rmodel</module>
252 <module>rclient</module>
253 <module>rserv</module>
254 <module>fsdbrserv</module>
255 <module>guigen</module>
256 <module>mdgui</module>
257 <module>poll</module>
258 <module>ngreq</module>
259 <module>lpeer</module>
260 -->
261 <module>log4j</module>
262 </modules>
263
264 <dependencyManagement>
265 <dependencies>
266 <dependency>
sg481nbfc98882017-08-24 00:58:40 -0400267 <groupId>org.onap.aaf.cadi</groupId>
sg481n37e47102017-08-03 17:44:44 -0400268 <artifactId>cadi-core</artifactId>
269 <version>${project.cadiVersion}</version>
270 </dependency>
271 <dependency>
sg481nbfc98882017-08-24 00:58:40 -0400272 <groupId>org.onap.aaf.cadi</groupId>
sg481n37e47102017-08-03 17:44:44 -0400273 <artifactId>cadi-aaf</artifactId>
274 <version>${project.cadiVersion}</version>
275 </dependency>
276 <dependency>
277 <groupId>log4j</groupId>
278 <artifactId>log4j</artifactId>
279 <version>1.2.17</version>
280 </dependency>
281 <dependency>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-log4j12</artifactId>
284 <version>1.7.5</version>
285 </dependency>
286 </dependencies>
287 </dependencyManagement>
288
289
290</project>