Set snapshot and/or references of policy/gui for new release
[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-2023 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.7.3-SNAPSHOT</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.gui</groupId>
34     <artifactId>policy-gui</artifactId>
35     <version>3.0.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.apex-pdp.version>2.9.3-SNAPSHOT</policy.apex-pdp.version>
44         <policy.common.version>1.12.3-SNAPSHOT</policy.common.version>
45         <policy.models.version>2.8.3-SNAPSHOT</policy.models.version>
46         <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
47         <sonar.javascript.lcov.reportPaths>${project.basedir}/target/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
48     </properties>
49
50     <modules>
51         <module>gui-common</module>
52         <module>gui-editors</module>
53         <module>gui-runtime</module>
54         <module>gui-server</module>
55         <module>packages</module>
56     </modules>
57
58     <distributionManagement>
59         <site>
60             <id>ecomp-site</id>
61             <url>dav:${nexusproxy}${sitePath}</url>
62         </site>
63     </distributionManagement>
64
65     <profiles>
66         <profile>
67             <!--This profile is used to store Eclipse m2e settings only. It has no 
68                 influence on the Maven build itself. -->
69             <id>only-eclipse</id>
70             <activation>
71                 <property>
72                     <name>m2e.version</name>
73                 </property>
74             </activation>
75             <build>
76                 <pluginManagement>
77                     <plugins>
78                         <plugin>
79                             <groupId>org.eclipse.m2e</groupId>
80                             <artifactId>lifecycle-mapping</artifactId>
81                             <configuration>
82                                 <lifecycleMappingMetadata>
83                                     <pluginExecutions>
84                                         <pluginExecution>
85                                             <pluginExecutionFilter>
86                                                 <groupId>org.codehaus.mojo</groupId>
87                                                 <artifactId>exec-maven-plugin</artifactId>
88                                                 <versionRange>[1.6.0,)</versionRange>
89                                                 <goals>
90                                                     <goal>java</goal>
91                                                     <goal>exec</goal>
92                                                 </goals>
93                                             </pluginExecutionFilter>
94                                             <action>
95                                                 <execute />
96                                             </action>
97                                         </pluginExecution>
98                                         <pluginExecution>
99                                             <pluginExecutionFilter>
100                                                 <groupId>org.commonjava.maven.plugins</groupId>
101                                                 <artifactId>directory-maven-plugin</artifactId>
102                                                 <versionRange>0.2</versionRange>
103                                                 <goals>
104                                                     <goal>directory-of</goal>
105                                                 </goals>
106                                             </pluginExecutionFilter>
107                                             <action>
108                                                 <execute />
109                                             </action>
110                                         </pluginExecution>
111                                         <pluginExecution>
112                                             <pluginExecutionFilter>
113                                                 <groupId>org.apache.maven.plugins</groupId>
114                                                 <artifactId>maven-dependency-plugin</artifactId>
115                                                 <versionRange>[2.0,)</versionRange>
116                                                 <goals>
117                                                     <goal>unpack</goal>
118                                                     <goal>unpack-dependencies</goal>
119                                                 </goals>
120                                             </pluginExecutionFilter>
121                                             <action>
122                                                 <execute />
123                                             </action>
124                                         </pluginExecution>
125                                         <pluginExecution>
126                                             <pluginExecutionFilter>
127                                                 <groupId>org.apache.maven.plugins</groupId>
128                                                 <artifactId>maven-antrun-plugin</artifactId>
129                                                 <versionRange>[1.0,)</versionRange>
130                                                 <goals>
131                                                     <goal>run</goal>
132                                                 </goals>
133                                             </pluginExecutionFilter>
134                                             <action>
135                                                 <ignore />
136                                             </action>
137                                         </pluginExecution>
138                                     </pluginExecutions>
139                                 </lifecycleMappingMetadata>
140                             </configuration>
141                         </plugin>
142                     </plugins>
143                 </pluginManagement>
144             </build>
145         </profile>
146     </profiles>
147 </project>