blob: a4734a3f7dd6eee65773a7ba6e82f6d01d5d0bc2 [file] [log] [blame]
talasila0ff0e9f2017-02-15 17:36:47 -05001<?xml version="1.0" encoding="UTF-8"?>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -04002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
talasila0ff0e9f2017-02-15 17:36:47 -05004 <modelVersion>4.0.0</modelVersion>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -04005
6 <parent>
7 <groupId>org.onap.oparent</groupId>
8 <artifactId>oparent</artifactId>
9 <version>0.1.1</version>
10 <relativePath />
11 </parent>
Christopher Lott (cl778h)de8b8df2017-09-28 16:59:17 -040012
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040013 <groupId>org.onap.portal</groupId>
14 <artifactId>onap-portal-parent</artifactId>
Christopher Lott (cl778h)0bb15c12017-09-29 14:51:47 -040015 <version>1.3.0</version>
talasila0ff0e9f2017-02-15 17:36:47 -050016 <packaging>pom</packaging>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -040017 <name>portal</name>
st782sb54df0d2017-05-04 07:48:42 -040018
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040019 <modules>
20 <!-- This parent POM names only ONAP projects -->
st782sb54df0d2017-05-04 07:48:42 -040021 <module>ecomp-portal-BE-common</module>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040022 <module>ecomp-portal-BE-os</module>
st782sb54df0d2017-05-04 07:48:42 -040023 <module>ecomp-portal-FE-os</module>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -040024 <module>ecomp-portal-widget-ms</module>
talasila0ff0e9f2017-02-15 17:36:47 -050025 </modules>
Andrew Grimberge7a418d2017-03-29 10:26:41 -070026
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040027 <properties>
28 <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
29 <build.number>0</build.number>
30 <epsdk.version>1.3.0</epsdk.version>
31 <springframework.version>4.2.0.RELEASE</springframework.version>
32 <hibernate.version>4.3.11.Final</hibernate.version>
33 <fasterxml.version>2.7.4</fasterxml.version>
34 <eelf.version>1.0.0</eelf.version>
Christopher Lott (cl778h)de8b8df2017-09-28 16:59:17 -040035 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040036 <encoding>UTF-8</encoding>
37 <sonar.language>java</sonar.language>
38 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
39 <sonar.skipDesign>true</sonar.skipDesign>
40 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
41 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
42 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
43 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
44 <sonar.projectVersion>${project.version}</sonar.projectVersion>
45 <sonar.skipDesign>true</sonar.skipDesign>
46 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
47 <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>
48 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
49 <sonar.java.binaries>.</sonar.java.binaries>
50 </properties>
51
Christopher Lott (cl778h)de8b8df2017-09-28 16:59:17 -040052 <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml
53 files among all developers. Also use values (not properties) so oparent can
54 be resolved. -->
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040055 <repositories>
56 <repository>
57 <id>onap-releases</id>
58 <name>ONAP - Release Repository</name>
59 <url>https://nexus.onap.org/content/repositories/releases</url>
60 </repository>
61 <repository>
62 <id>onap-staging</id>
63 <name>ONAP - Staging Repository</name>
64 <url>https://nexus.onap.org/content/repositories/staging</url>
65 </repository>
66 <repository>
67 <id>onap-snapshots</id>
68 <name>ONAP - Snapshot Repository</name>
69 <url>https://nexus.onap.org/content/repositories/snapshots</url>
70 </repository>
71 <repository>
72 <id>onap-public</id>
73 <url>https://nexus.onap.org/content/groups/public</url>
74 </repository>
75 </repositories>
76
Christopher Lott (cl778h)de8b8df2017-09-28 16:59:17 -040077 <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml
78 files among all developers. -->
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040079 <pluginRepositories>
80 <pluginRepository>
81 <id>onap-plugin-release</id>
82 <url>https://nexus.onap.org/content/repositories/releases/</url>
83 </pluginRepository>
84 <pluginRepository>
85 <id>onap-plugin-staging</id>
86 <url>https://nexus.onap.org/content/repositories/staging/</url>
87 </pluginRepository>
88 <pluginRepository>
89 <id>onap-plugin-snapshots</id>
90 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
91 </pluginRepository>
92 </pluginRepositories>
93
94 <profiles>
95 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
96 <profile>
97 <id>doclint-java8-disable</id>
98 <activation>
99 <jdk>[1.8,)</jdk>
100 </activation>
101 <build>
102 <plugins>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-javadoc-plugin</artifactId>
106 <version>3.0.0-M1</version>
107 <configuration>
108 <additionalparam>-Xdoclint:none</additionalparam>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113 </profile>
114
115 </profiles>
116
Christopher Lott (cl778h)d332e892017-07-12 16:26:42 -0400117 <build>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400118 <pluginManagement>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400119 <plugins>
Christopher Lott (cl778h)de8b8df2017-09-28 16:59:17 -0400120 <!-- Silence Eclipse m2e warnings -->
121 <plugin>
122 <groupId>org.eclipse.m2e</groupId>
123 <artifactId>lifecycle-mapping</artifactId>
124 <version>1.0.0</version>
125 <configuration>
126 <lifecycleMappingMetadata>
127 <pluginExecutions>
128 <pluginExecution>
129 <pluginExecutionFilter>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-checkstyle-plugin</artifactId>
132 <versionRange>2.17,)</versionRange>
133 <goals>
134 <goal>check</goal>
135 </goals>
136 </pluginExecutionFilter>
137 <action>
138 <ignore />
139 </action>
140 </pluginExecution>
141 </pluginExecutions>
142 </lifecycleMappingMetadata>
143 </configuration>
144 </plugin>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400145 <plugin>
146 <artifactId>maven-compiler-plugin</artifactId>
147 <version>3.1</version>
148 <configuration>
149 <source>1.8</source>
150 <target>1.8</target>
151 </configuration>
152 </plugin>
153 <plugin>
154 <groupId>org.sonarsource.scanner.maven</groupId>
155 <artifactId>sonar-maven-plugin</artifactId>
156 <version>3.0.2</version>
157 </plugin>
158 </plugins>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400159 </pluginManagement>
Christopher Lott (cl778h)d332e892017-07-12 16:26:42 -0400160 <plugins>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400161 <!-- No deployment step for this project -->
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-deploy-plugin</artifactId>
165 <version>2.8</version>
166 <configuration>
167 <skip>true</skip>
168 </configuration>
169 </plugin>
170 </plugins>
171 </build>
172
173 <distributionManagement>
Christopher Lott (cl778h)0bb15c12017-09-29 14:51:47 -0400174 <!-- oparent.version defines snapshot and release repositories -->
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400175 <site>
176 <id>ecomp-site</id>
Christopher Lott (cl778h)0bb15c12017-09-29 14:51:47 -0400177 <url>dav:https://nexus.onap.org/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</url>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400178 </site>
179 </distributionManagement>
180
181</project>