Point at released policy-parent
[policy/gui.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy GUI
4   ================================================================================
5   Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2020-2021 Nordix Foundation.
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
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.policy.parent</groupId>
28         <artifactId>integration</artifactId>
29         <version>3.4.2</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.gui</groupId>
34     <artifactId>policy-gui</artifactId>
35     <version>2.1.0-SNAPSHOT</version>
36
37     <packaging>pom</packaging>
38
39     <name>${project.artifactId}</name>
40     <description>Code for all the Policy GUI's.</description>
41
42     <properties>
43         <policy.common.version>1.9.0-SNAPSHOT</policy.common.version>
44         <policy.models.version>2.5.0-SNAPSHOT</policy.models.version>
45         <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
46         <sonar.javascript.lcov.reportPaths>${project.basedir}/target/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
47     </properties>
48
49     <modules>
50         <module>gui-common</module>
51         <module>gui-pdp-monitoring</module>
52         <module>gui-editors</module>
53         <module>gui-clamp</module>
54         <module>packages</module>
55     </modules>
56
57     <dependencies>
58         <dependency>
59             <groupId>junit</groupId>
60             <artifactId>junit</artifactId>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>org.assertj</groupId>
65             <artifactId>assertj-core</artifactId>
66             <scope>test</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.awaitility</groupId>
70             <artifactId>awaitility</artifactId>
71             <scope>test</scope>
72         </dependency>
73     </dependencies>
74
75     <distributionManagement>
76         <site>
77             <id>ecomp-site</id>
78             <url>dav:${nexusproxy}${sitePath}</url>
79         </site>
80     </distributionManagement>
81
82     <dependencyManagement>
83         <dependencies>
84             <dependency>
85                 <groupId>org.onap.policy.common</groupId>
86                 <artifactId>utils</artifactId>
87                 <version>${policy.common.version}</version>
88             </dependency>
89             <dependency>
90                 <groupId>org.onap.policy.common</groupId>
91                 <artifactId>policy-endpoints</artifactId>
92                 <version>${policy.common.version}</version>
93             </dependency>
94         </dependencies>
95     </dependencyManagement>
96
97     <profiles>
98         <profile>
99             <!--This profile is used to store Eclipse m2e settings only. It has no 
100                 influence on the Maven build itself. -->
101             <id>only-eclipse</id>
102             <activation>
103                 <property>
104                     <name>m2e.version</name>
105                 </property>
106             </activation>
107             <build>
108                 <pluginManagement>
109                     <plugins>
110                         <plugin>
111                             <groupId>org.eclipse.m2e</groupId>
112                             <artifactId>lifecycle-mapping</artifactId>
113                             <version>1.0.0</version>
114                             <configuration>
115                                 <lifecycleMappingMetadata>
116                                     <pluginExecutions>
117                                         <pluginExecution>
118                                             <pluginExecutionFilter>
119                                                 <groupId>org.codehaus.mojo</groupId>
120                                                 <artifactId>exec-maven-plugin</artifactId>
121                                                 <versionRange>[1.6.0,)</versionRange>
122                                                 <goals>
123                                                     <goal>java</goal>
124                                                     <goal>exec</goal>
125                                                 </goals>
126                                             </pluginExecutionFilter>
127                                             <action>
128                                                 <execute />
129                                             </action>
130                                         </pluginExecution>
131                                         <pluginExecution>
132                                             <pluginExecutionFilter>
133                                                 <groupId>org.commonjava.maven.plugins</groupId>
134                                                 <artifactId>directory-maven-plugin</artifactId>
135                                                 <versionRange>0.2</versionRange>
136                                                 <goals>
137                                                     <goal>directory-of</goal>
138                                                 </goals>
139                                             </pluginExecutionFilter>
140                                             <action>
141                                                 <execute />
142                                             </action>
143                                         </pluginExecution>
144                                         <pluginExecution>
145                                             <pluginExecutionFilter>
146                                                 <groupId>org.apache.maven.plugins</groupId>
147                                                 <artifactId>maven-dependency-plugin</artifactId>
148                                                 <versionRange>[2.0,)</versionRange>
149                                                 <goals>
150                                                     <goal>unpack</goal>
151                                                     <goal>unpack-dependencies</goal>
152                                                 </goals>
153                                             </pluginExecutionFilter>
154                                             <action>
155                                                 <execute />
156                                             </action>
157                                         </pluginExecution>
158                                         <pluginExecution>
159                                             <pluginExecutionFilter>
160                                                 <groupId>org.apache.maven.plugins</groupId>
161                                                 <artifactId>maven-antrun-plugin</artifactId>
162                                                 <versionRange>[1.0,)</versionRange>
163                                                 <goals>
164                                                     <goal>run</goal>
165                                                 </goals>
166                                             </pluginExecutionFilter>
167                                             <action>
168                                                 <ignore />
169                                             </action>
170                                         </pluginExecution>
171                                     </pluginExecutions>
172                                 </lifecycleMappingMetadata>
173                             </configuration>
174                         </plugin>
175                     </plugins>
176                 </pluginManagement>
177             </build>
178         </profile>
179     </profiles>
180 </project>