Bump api to 2.2.5-SNAPSHOT in frankfurt
[policy/api.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy API
4   ================================================================================
5   Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved.
6   Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2019 Nordix Foundation.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>integration</artifactId>
30         <version>3.1.3</version>
31         <relativePath />
32     </parent>
33
34     <groupId>org.onap.policy.api</groupId>
35     <artifactId>policy-api</artifactId>
36     <version>2.2.5-SNAPSHOT</version>
37
38     <packaging>pom</packaging>
39
40     <name>policy-api</name>
41     <description>Code that define our external API.</description>
42
43     <properties>
44         <policy.common.version>1.6.5</policy.common.version>
45         <policy.models.version>2.2.6</policy.models.version>
46     </properties>
47
48     <modules>
49         <module>main</module>
50         <module>packages</module>
51         <module>testsuites</module>
52     </modules>
53
54     <dependencies>
55         <dependency>
56             <groupId>org.slf4j</groupId>
57             <artifactId>slf4j-api</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>junit</groupId>
61             <artifactId>junit</artifactId>
62             <scope>test</scope>
63         </dependency>
64         <dependency>
65             <groupId>org.onap.policy.common</groupId>
66             <artifactId>policy-endpoints</artifactId>
67             <version>${policy.common.version}</version>
68         </dependency>
69         <dependency>
70             <groupId>javax.servlet</groupId>
71             <artifactId>javax.servlet-api</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>org.eclipse.jetty</groupId>
75             <artifactId>jetty-server</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>org.eclipse.jetty</groupId>
79             <artifactId>jetty-security</artifactId>
80             <version>9.4.25.v20191220</version>
81         </dependency>
82                 <dependency>
83             <groupId>org.eclipse.jetty</groupId>
84             <artifactId>jetty-servlet</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>org.glassfish.jersey.containers</groupId>
88             <artifactId>jersey-container-servlet</artifactId>
89             <version>${version.jersey}</version>
90         </dependency>
91     </dependencies>
92
93     <distributionManagement>
94         <site>
95             <id>ecomp-site</id>
96             <url>dav:${nexusproxy}${sitePath}</url>
97         </site>
98     </distributionManagement>
99
100     <build>
101         <plugins>
102             <plugin>
103                 <artifactId>maven-checkstyle-plugin</artifactId>
104                 <executions>
105                     <execution>
106                         <id>onap-java-style</id>
107                         <goals>
108                             <goal>check</goal>
109                         </goals>
110                         <phase>process-sources</phase>
111                         <configuration>
112                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
113                                 with minor changes -->
114                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
115                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
116                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
117                             <includeResources>true</includeResources>
118                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
119                             <includeTestResources>true</includeTestResources>
120                             <excludes>
121                             </excludes>
122                             <consoleOutput>true</consoleOutput>
123                             <failOnViolation>true</failOnViolation>
124                             <violationSeverity>warning</violationSeverity>
125                         </configuration>
126                     </execution>
127                 </executions>
128                 <dependencies>
129                     <dependency>
130                         <groupId>org.onap.oparent</groupId>
131                         <artifactId>checkstyle</artifactId>
132                         <version>${oparent.version}</version>
133                         <scope>compile</scope>
134                     </dependency>
135                 </dependencies>
136             </plugin>
137         </plugins>
138         <pluginManagement>
139             <plugins>
140                 <plugin>
141                     <groupId>org.eclipse.m2e</groupId>
142                     <artifactId>lifecycle-mapping</artifactId>
143                     <version>1.0.0</version>
144                     <configuration>
145                         <lifecycleMappingMetadata>
146                             <pluginExecutions>
147                                 <pluginExecution>
148                                     <pluginExecutionFilter>
149                                         <groupId>org.apache.maven.plugins</groupId>
150                                         <artifactId>maven-checkstyle-plugin</artifactId>
151                                         <versionRange>2.17,)</versionRange>
152                                         <goals>
153                                             <goal>check</goal>
154                                         </goals>
155                                     </pluginExecutionFilter>
156                                     <action>
157                                         <ignore />
158                                     </action>
159                                 </pluginExecution>
160                             </pluginExecutions>
161                         </lifecycleMappingMetadata>
162                     </configuration>
163                 </plugin>
164             </plugins>
165         </pluginManagement>
166     </build>
167
168 </project>