Merge "Code coverage apex editor"
[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     <distributionManagement>
55         <site>
56             <id>ecomp-site</id>
57             <url>dav:${nexusproxy}${sitePath}</url>
58         </site>
59     </distributionManagement>
60
61     <profiles>
62         <profile>
63             <!--This profile is used to store Eclipse m2e settings only. It has no 
64                 influence on the Maven build itself. -->
65             <id>only-eclipse</id>
66             <activation>
67                 <property>
68                     <name>m2e.version</name>
69                 </property>
70             </activation>
71             <build>
72                 <pluginManagement>
73                     <plugins>
74                         <plugin>
75                             <groupId>org.eclipse.m2e</groupId>
76                             <artifactId>lifecycle-mapping</artifactId>
77                             <version>1.0.0</version>
78                             <configuration>
79                                 <lifecycleMappingMetadata>
80                                     <pluginExecutions>
81                                         <pluginExecution>
82                                             <pluginExecutionFilter>
83                                                 <groupId>org.codehaus.mojo</groupId>
84                                                 <artifactId>exec-maven-plugin</artifactId>
85                                                 <versionRange>[1.6.0,)</versionRange>
86                                                 <goals>
87                                                     <goal>java</goal>
88                                                     <goal>exec</goal>
89                                                 </goals>
90                                             </pluginExecutionFilter>
91                                             <action>
92                                                 <execute />
93                                             </action>
94                                         </pluginExecution>
95                                         <pluginExecution>
96                                             <pluginExecutionFilter>
97                                                 <groupId>org.commonjava.maven.plugins</groupId>
98                                                 <artifactId>directory-maven-plugin</artifactId>
99                                                 <versionRange>0.2</versionRange>
100                                                 <goals>
101                                                     <goal>directory-of</goal>
102                                                 </goals>
103                                             </pluginExecutionFilter>
104                                             <action>
105                                                 <execute />
106                                             </action>
107                                         </pluginExecution>
108                                         <pluginExecution>
109                                             <pluginExecutionFilter>
110                                                 <groupId>org.apache.maven.plugins</groupId>
111                                                 <artifactId>maven-dependency-plugin</artifactId>
112                                                 <versionRange>[2.0,)</versionRange>
113                                                 <goals>
114                                                     <goal>unpack</goal>
115                                                     <goal>unpack-dependencies</goal>
116                                                 </goals>
117                                             </pluginExecutionFilter>
118                                             <action>
119                                                 <execute />
120                                             </action>
121                                         </pluginExecution>
122                                         <pluginExecution>
123                                             <pluginExecutionFilter>
124                                                 <groupId>org.apache.maven.plugins</groupId>
125                                                 <artifactId>maven-antrun-plugin</artifactId>
126                                                 <versionRange>[1.0,)</versionRange>
127                                                 <goals>
128                                                     <goal>run</goal>
129                                                 </goals>
130                                             </pluginExecutionFilter>
131                                             <action>
132                                                 <ignore />
133                                             </action>
134                                         </pluginExecution>
135                                     </pluginExecutions>
136                                 </lifecycleMappingMetadata>
137                             </configuration>
138                         </plugin>
139                     </plugins>
140                 </pluginManagement>
141             </build>
142         </profile>
143     </profiles>
144 </project>