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