1f2ce4676c93df52567d871cfe90ad80ab5e6b03
[policy/gui.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy GUI
4   ================================================================================
5   Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2020 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.2.1-SNAPSHOT</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.7.1-SNAPSHOT</policy.common.version>
44         <policy.models.version>2.3.1-SNAPSHOT</policy.models.version>
45         <sonar.javascript.lcov.reportPaths>target/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
46     </properties>
47
48     <modules>
49         <module>gui-common</module>
50         <module>gui-pdp-monitoring</module>
51         <module>gui-editors</module>
52     </modules>
53
54     <dependencies>
55         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>org.assertj</groupId>
62             <artifactId>assertj-core</artifactId>
63             <scope>test</scope>
64         </dependency>
65         <dependency>
66             <groupId>org.awaitility</groupId>
67             <artifactId>awaitility</artifactId>
68             <scope>test</scope>
69         </dependency>
70     </dependencies>
71
72     <distributionManagement>
73         <site>
74             <id>ecomp-site</id>
75             <url>dav:${nexusproxy}${sitePath}</url>
76         </site>
77     </distributionManagement>
78
79     <dependencyManagement>
80         <dependencies>
81             <dependency>
82                 <groupId>org.onap.policy.common</groupId>
83                 <artifactId>utils</artifactId>
84                 <version>${policy.common.version}</version>
85             </dependency>
86             <dependency>
87                 <groupId>org.onap.policy.common</groupId>
88                 <artifactId>policy-endpoints</artifactId>
89                 <version>${policy.common.version}</version>
90             </dependency>
91         </dependencies>
92     </dependencyManagement>
93
94     <build>
95         <pluginManagement>
96             <plugins>
97                 <plugin>
98                     <groupId>org.eclipse.m2e</groupId>
99                     <artifactId>lifecycle-mapping</artifactId>
100                     <version>1.0.0</version>
101                     <configuration>
102                         <lifecycleMappingMetadata>
103                             <pluginExecutions>
104                                 <pluginExecution>
105                                     <pluginExecutionFilter>
106                                         <groupId>org.apache.maven.plugins</groupId>
107                                         <artifactId>maven-checkstyle-plugin</artifactId>
108                                         <versionRange>2.17,)</versionRange>
109                                         <goals>
110                                             <goal>check</goal>
111                                         </goals>
112                                     </pluginExecutionFilter>
113                                     <action>
114                                         <ignore />
115                                     </action>
116                                 </pluginExecution>
117                             </pluginExecutions>
118                         </lifecycleMappingMetadata>
119                     </configuration>
120                 </plugin>
121             </plugins>
122         </pluginManagement>
123     </build>
124
125     <profiles>
126         <profile>
127             <!--This profile is used to store Eclipse m2e settings only. It has no 
128                 influence on the Maven build itself. -->
129             <id>only-eclipse</id>
130             <activation>
131                 <property>
132                     <name>m2e.version</name>
133                 </property>
134             </activation>
135             <build>
136                 <pluginManagement>
137                     <plugins>
138                         <plugin>
139                             <groupId>org.eclipse.m2e</groupId>
140                             <artifactId>lifecycle-mapping</artifactId>
141                             <version>1.0.0</version>
142                             <configuration>
143                                 <lifecycleMappingMetadata>
144                                     <pluginExecutions>
145                                         <pluginExecution>
146                                             <pluginExecutionFilter>
147                                                 <groupId>org.codehaus.mojo</groupId>
148                                                 <artifactId>exec-maven-plugin</artifactId>
149                                                 <versionRange>[1.6.0,)</versionRange>
150                                                 <goals>
151                                                     <goal>java</goal>
152                                                     <goal>exec</goal>
153                                                 </goals>
154                                             </pluginExecutionFilter>
155                                             <action>
156                                                 <execute />
157                                             </action>
158                                         </pluginExecution>
159                                         <pluginExecution>
160                                             <pluginExecutionFilter>
161                                                 <groupId>org.commonjava.maven.plugins</groupId>
162                                                 <artifactId>directory-maven-plugin</artifactId>
163                                                 <versionRange>0.2</versionRange>
164                                                 <goals>
165                                                     <goal>directory-of</goal>
166                                                 </goals>
167                                             </pluginExecutionFilter>
168                                             <action>
169                                                 <execute />
170                                             </action>
171                                         </pluginExecution>
172                                         <pluginExecution>
173                                             <pluginExecutionFilter>
174                                                 <groupId>org.apache.maven.plugins</groupId>
175                                                 <artifactId>maven-dependency-plugin</artifactId>
176                                                 <versionRange>[2.0,)</versionRange>
177                                                 <goals>
178                                                     <goal>unpack</goal>
179                                                     <goal>unpack-dependencies</goal>
180                                                 </goals>
181                                             </pluginExecutionFilter>
182                                             <action>
183                                                 <execute />
184                                             </action>
185                                         </pluginExecution>
186                                         <pluginExecution>
187                                             <pluginExecutionFilter>
188                                                 <groupId>org.apache.maven.plugins</groupId>
189                                                 <artifactId>maven-antrun-plugin</artifactId>
190                                                 <versionRange>[1.0,)</versionRange>
191                                                 <goals>
192                                                     <goal>run</goal>
193                                                 </goals>
194                                             </pluginExecutionFilter>
195                                             <action>
196                                                 <ignore />
197                                             </action>
198                                         </pluginExecution>
199                                     </pluginExecutions>
200                                 </lifecycleMappingMetadata>
201                             </configuration>
202                         </plugin>
203                     </plugins>
204                 </pluginManagement>
205             </build>
206         </profile>
207     </profiles>
208 </project>