[DCAEMOD/runtime] Fix job failures on missing snapshot
[dcaegen2/platform.git] / mod / runtimeapi / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ============LICENSE_START=======================================================
4 Copyright (c) 2019-2022 AT&T Intellectual Property. All rights reserved.
5 ================================================================================
6 Modifications Copyright (c) 2020 Nokia
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 <project xmlns="http://maven.apache.org/POM/4.0.0"
22         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <packaging>pom</packaging>
26         <modules>
27                 <module>runtime-core</module>
28                 <module>runtime-web</module>
29         </modules>
30         <parent>
31                 <groupId>org.onap.oparent</groupId>
32                 <artifactId>oparent</artifactId>
33                 <version>2.0.0</version>
34         </parent>
35         <groupId>org.onap.dcaegen2.platform.mod</groupId>
36         <artifactId>runtimeapi</artifactId>
37         <version>1.3.2</version>
38         <name>dcaegen2-platform-mod-runtimeapi</name>
39         <description>MOD Runtime API</description>
40         <properties>
41                 <maven.deploy.skip>true</maven.deploy.skip>
42                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
43                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
44                 </sonar.coverage.jacoco.xmlReportPaths>
45                 <enforcer.skip>true</enforcer.skip>
46         </properties>
47         <profiles>
48                 <profile>
49                         <id>java11</id>
50                         <properties>
51                                 <maven.compiler.source>11</maven.compiler.source>
52                                 <maven.compiler.target>11</maven.compiler.target>
53                                 <maven.compiler.release>11</maven.compiler.release>
54                         </properties>
55                         <activation>
56                         <property>
57                                 <name>m2e.version</name>
58                         </property>
59                         <activeByDefault>true</activeByDefault>
60                 </activation>
61                 </profile>
62                 <profile>
63                         <id>java8</id>
64                         <properties>
65                                 <maven.compiler.source>1.8</maven.compiler.source>
66                                 <maven.compiler.target>1.8</maven.compiler.target>
67                         </properties>
68                 </profile>
69         </profiles>
70         <dependencies>
71                 <dependency>
72                         <groupId>commons-io</groupId>
73                         <artifactId>commons-io</artifactId>
74                         <version>2.8.0</version>
75                 </dependency>
76         </dependencies>
77         <build>
78                 <plugins>
79                         <!-- support sonar in multi-module project -->
80                         <plugin>
81                                 <groupId>org.sonarsource.scanner.maven</groupId>
82                                 <artifactId>sonar-maven-plugin</artifactId>
83                                 <version>3.6.0.1398</version>
84                         </plugin>
85
86                         <plugin>
87                                 <groupId>org.apache.maven.plugins</groupId>
88                                 <artifactId>maven-enforcer-plugin</artifactId>
89                                 <version>1.4.1</version>
90                                 <executions>
91                                         <execution>
92                                                 <id>enforce-no-snapshots</id>
93                                                 <goals>
94                                                         <goal>enforce</goal>
95                                                 </goals>
96                                                 <configuration>
97                                                         <rules>
98                                                                 <requireReleaseDeps>
99                                                                         <message>No Snapshots Allowed!</message>
100                                                                 </requireReleaseDeps>
101                                                         </rules>
102                                                         <fail>false</fail>
103                                                 </configuration>
104                                         </execution>
105                                 </executions>
106                         </plugin>
107
108                 </plugins>
109         </build>
110         <dependencyManagement>
111                 <dependencies>
112                         <dependency>
113                                 <groupId>org.springframework.boot</groupId>
114                                 <artifactId>spring-boot-starter-parent</artifactId>
115                                 <version>2.1.7.RELEASE</version>
116                                 <type>pom</type>
117                                 <scope>import</scope>
118                                 <exclusions>
119                                         <exclusion>
120                                                 <groupId>org.springframework.plugin</groupId>
121                                                 <artifactId>spring-plugin-core</artifactId>
122                                         </exclusion>
123                                 </exclusions>
124                         </dependency>
125                         <dependency>
126                                 <groupId>org.springframework.plugin</groupId>
127                                 <artifactId>spring-plugin-core</artifactId>
128                                 <version>2.0.0.RELEASE</version>
129                         </dependency>
130                 </dependencies>
131         </dependencyManagement>
132 </project>