Merge "Clean up apex editor POM dependencies"
[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-2022 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.5.1-SNAPSHOT</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.gui</groupId>
34     <artifactId>policy-gui</artifactId>
35     <version>2.2.1-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         <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
44         <sonar.javascript.lcov.reportPaths>${project.basedir}/target/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
45     </properties>
46
47     <modules>
48         <module>gui-common</module>
49         <module>gui-editors</module>
50         <module>gui-clamp</module>
51         <module>packages</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     <profiles>
80         <profile>
81             <!--This profile is used to store Eclipse m2e settings only. It has no 
82                 influence on the Maven build itself. -->
83             <id>only-eclipse</id>
84             <activation>
85                 <property>
86                     <name>m2e.version</name>
87                 </property>
88             </activation>
89             <build>
90                 <pluginManagement>
91                     <plugins>
92                         <plugin>
93                             <groupId>org.eclipse.m2e</groupId>
94                             <artifactId>lifecycle-mapping</artifactId>
95                             <version>1.0.0</version>
96                             <configuration>
97                                 <lifecycleMappingMetadata>
98                                     <pluginExecutions>
99                                         <pluginExecution>
100                                             <pluginExecutionFilter>
101                                                 <groupId>org.codehaus.mojo</groupId>
102                                                 <artifactId>exec-maven-plugin</artifactId>
103                                                 <versionRange>[1.6.0,)</versionRange>
104                                                 <goals>
105                                                     <goal>java</goal>
106                                                     <goal>exec</goal>
107                                                 </goals>
108                                             </pluginExecutionFilter>
109                                             <action>
110                                                 <execute />
111                                             </action>
112                                         </pluginExecution>
113                                         <pluginExecution>
114                                             <pluginExecutionFilter>
115                                                 <groupId>org.commonjava.maven.plugins</groupId>
116                                                 <artifactId>directory-maven-plugin</artifactId>
117                                                 <versionRange>0.2</versionRange>
118                                                 <goals>
119                                                     <goal>directory-of</goal>
120                                                 </goals>
121                                             </pluginExecutionFilter>
122                                             <action>
123                                                 <execute />
124                                             </action>
125                                         </pluginExecution>
126                                         <pluginExecution>
127                                             <pluginExecutionFilter>
128                                                 <groupId>org.apache.maven.plugins</groupId>
129                                                 <artifactId>maven-dependency-plugin</artifactId>
130                                                 <versionRange>[2.0,)</versionRange>
131                                                 <goals>
132                                                     <goal>unpack</goal>
133                                                     <goal>unpack-dependencies</goal>
134                                                 </goals>
135                                             </pluginExecutionFilter>
136                                             <action>
137                                                 <execute />
138                                             </action>
139                                         </pluginExecution>
140                                         <pluginExecution>
141                                             <pluginExecutionFilter>
142                                                 <groupId>org.apache.maven.plugins</groupId>
143                                                 <artifactId>maven-antrun-plugin</artifactId>
144                                                 <versionRange>[1.0,)</versionRange>
145                                                 <goals>
146                                                     <goal>run</goal>
147                                                 </goals>
148                                             </pluginExecutionFilter>
149                                             <action>
150                                                 <ignore />
151                                             </action>
152                                         </pluginExecution>
153                                     </pluginExecutions>
154                                 </lifecycleMappingMetadata>
155                             </configuration>
156                         </plugin>
157                     </plugins>
158                 </pluginManagement>
159             </build>
160         </profile>
161     </profiles>
162 </project>