Merge "Add missing JS import in gui-editor-apex"
[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.0-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.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     </modules>
55
56     <dependencies>
57         <dependency>
58             <groupId>junit</groupId>
59             <artifactId>junit</artifactId>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>org.assertj</groupId>
64             <artifactId>assertj-core</artifactId>
65             <scope>test</scope>
66         </dependency>
67         <dependency>
68             <groupId>org.awaitility</groupId>
69             <artifactId>awaitility</artifactId>
70             <scope>test</scope>
71         </dependency>
72     </dependencies>
73
74     <distributionManagement>
75         <site>
76             <id>ecomp-site</id>
77             <url>dav:${nexusproxy}${sitePath}</url>
78         </site>
79     </distributionManagement>
80
81     <dependencyManagement>
82         <dependencies>
83             <dependency>
84                 <groupId>org.onap.policy.common</groupId>
85                 <artifactId>utils</artifactId>
86                 <version>${policy.common.version}</version>
87             </dependency>
88             <dependency>
89                 <groupId>org.onap.policy.common</groupId>
90                 <artifactId>policy-endpoints</artifactId>
91                 <version>${policy.common.version}</version>
92             </dependency>
93         </dependencies>
94     </dependencyManagement>
95
96     <profiles>
97         <profile>
98             <!--This profile is used to store Eclipse m2e settings only. It has no 
99                 influence on the Maven build itself. -->
100             <id>only-eclipse</id>
101             <activation>
102                 <property>
103                     <name>m2e.version</name>
104                 </property>
105             </activation>
106             <build>
107                 <pluginManagement>
108                     <plugins>
109                         <plugin>
110                             <groupId>org.eclipse.m2e</groupId>
111                             <artifactId>lifecycle-mapping</artifactId>
112                             <version>1.0.0</version>
113                             <configuration>
114                                 <lifecycleMappingMetadata>
115                                     <pluginExecutions>
116                                         <pluginExecution>
117                                             <pluginExecutionFilter>
118                                                 <groupId>org.codehaus.mojo</groupId>
119                                                 <artifactId>exec-maven-plugin</artifactId>
120                                                 <versionRange>[1.6.0,)</versionRange>
121                                                 <goals>
122                                                     <goal>java</goal>
123                                                     <goal>exec</goal>
124                                                 </goals>
125                                             </pluginExecutionFilter>
126                                             <action>
127                                                 <execute />
128                                             </action>
129                                         </pluginExecution>
130                                         <pluginExecution>
131                                             <pluginExecutionFilter>
132                                                 <groupId>org.commonjava.maven.plugins</groupId>
133                                                 <artifactId>directory-maven-plugin</artifactId>
134                                                 <versionRange>0.2</versionRange>
135                                                 <goals>
136                                                     <goal>directory-of</goal>
137                                                 </goals>
138                                             </pluginExecutionFilter>
139                                             <action>
140                                                 <execute />
141                                             </action>
142                                         </pluginExecution>
143                                         <pluginExecution>
144                                             <pluginExecutionFilter>
145                                                 <groupId>org.apache.maven.plugins</groupId>
146                                                 <artifactId>maven-dependency-plugin</artifactId>
147                                                 <versionRange>[2.0,)</versionRange>
148                                                 <goals>
149                                                     <goal>unpack</goal>
150                                                     <goal>unpack-dependencies</goal>
151                                                 </goals>
152                                             </pluginExecutionFilter>
153                                             <action>
154                                                 <execute />
155                                             </action>
156                                         </pluginExecution>
157                                         <pluginExecution>
158                                             <pluginExecutionFilter>
159                                                 <groupId>org.apache.maven.plugins</groupId>
160                                                 <artifactId>maven-antrun-plugin</artifactId>
161                                                 <versionRange>[1.0,)</versionRange>
162                                                 <goals>
163                                                     <goal>run</goal>
164                                                 </goals>
165                                             </pluginExecutionFilter>
166                                             <action>
167                                                 <ignore />
168                                             </action>
169                                         </pluginExecution>
170                                     </pluginExecutions>
171                                 </lifecycleMappingMetadata>
172                             </configuration>
173                         </plugin>
174                     </plugins>
175                 </pluginManagement>
176             </build>
177         </profile>
178     </profiles>
179 </project>