blob: 36aec5620654b986d1aa340085dd5f5b15b7990c [file] [log] [blame]
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -04001<!--
2 ============LICENSE_START=======================================================
ramverma74b108c2018-05-24 12:40:21 +01003 ONAP Policy API
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -04004 ================================================================================
Chenfei Gao6ea2e1b2019-01-31 16:09:09 -05005 Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved.
Jim Hahn6e50bcd2020-01-14 17:52:12 -05006 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
liamfallonbdfdcf12019-11-01 11:37:50 +00007 Modifications Copyright (C) 2019 Nordix Foundation.
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -04008 ================================================================================
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"
Krishnajinkada9e01a2018-08-31 20:01:30 +090024 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>
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -040026
Krishnajinkada9e01a2018-08-31 20:01:30 +090027 <parent>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>integration</artifactId>
Pamela Dragosh2fa3f4c2020-04-10 17:43:17 -040030 <version>3.1.2</version>
Pamela Dragosh8218ae02018-09-25 09:20:32 -040031 <relativePath />
Krishnajinkada9e01a2018-08-31 20:01:30 +090032 </parent>
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -040033
Krishnajinkada9e01a2018-08-31 20:01:30 +090034 <groupId>org.onap.policy.api</groupId>
35 <artifactId>policy-api</artifactId>
Ram Krishna Verma42870e72020-04-15 08:23:14 -040036 <version>2.2.3-SNAPSHOT</version>
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -040037
Krishnajinkada9e01a2018-08-31 20:01:30 +090038 <packaging>pom</packaging>
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -040039
Krishnajinkada9e01a2018-08-31 20:01:30 +090040 <name>policy-api</name>
41 <description>Code that define our external API.</description>
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -040042
Krishnajinkada9e01a2018-08-31 20:01:30 +090043 <properties>
Pamela Dragoshdf7f59c2020-04-14 14:50:07 -040044 <policy.common.version>1.6.4</policy.common.version>
Jim Hahnc29b1922020-04-24 11:17:24 -040045 <policy.models.version>2.2.5-SNAPSHOT</policy.models.version>
Krishnajinkada9e01a2018-08-31 20:01:30 +090046 </properties>
47
48 <modules>
49 <module>main</module>
Chenfei Gao6ea2e1b2019-01-31 16:09:09 -050050 <module>packages</module>
Bilal A56f97fa2019-02-14 14:49:44 -050051 <module>testsuites</module>
Krishnajinkada9e01a2018-08-31 20:01:30 +090052 </modules>
53
54 <dependencies>
55 <dependency>
Chenfei Gao304afad2019-11-12 22:29:37 -050056 <groupId>org.slf4j</groupId>
57 <artifactId>slf4j-api</artifactId>
58 </dependency>
59 <dependency>
Krishnajinkada9e01a2018-08-31 20:01:30 +090060 <groupId>junit</groupId>
61 <artifactId>junit</artifactId>
62 <scope>test</scope>
63 </dependency>
Bilal A56f97fa2019-02-14 14:49:44 -050064 <dependency>
Chenfei Gao6ea2e1b2019-01-31 16:09:09 -050065 <groupId>org.onap.policy.common</groupId>
66 <artifactId>policy-endpoints</artifactId>
67 <version>${policy.common.version}</version>
Krishnajinkada9e01a2018-08-31 20:01:30 +090068 </dependency>
HOCKLA3e87a452019-12-18 08:57:22 -060069 <dependency>
70 <groupId>javax.servlet</groupId>
71 <artifactId>javax.servlet-api</artifactId>
HOCKLA3e87a452019-12-18 08:57:22 -060072 </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>
Krishnajinkada9e01a2018-08-31 20:01:30 +090091 </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>
Krishnajinkada9e01a2018-08-31 20:01:30 +0900103 <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>
Pamela Dragosh8218ae02018-09-25 09:20:32 -0400112 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
113 with minor changes -->
Krishnajinkada9e01a2018-08-31 20:01:30 +0900114 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
115 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
HOCKLA3e87a452019-12-18 08:57:22 -0600116 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Krishnajinkada9e01a2018-08-31 20:01:30 +0900117 <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>
Pamela Dragosh8218ae02018-09-25 09:20:32 -0400132 <version>${oparent.version}</version>
Krishnajinkada9e01a2018-08-31 20:01:30 +0900133 <scope>compile</scope>
134 </dependency>
135 </dependencies>
136 </plugin>
137 </plugins>
138 <pluginManagement>
139 <plugins>
140 <plugin>
Pamela Dragosh8218ae02018-09-25 09:20:32 -0400141 <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>
Krishnajinkada9e01a2018-08-31 20:01:30 +0900164 </plugins>
165 </pluginManagement>
166 </build>
Pamela Dragoshcb8f3f02017-08-15 11:39:16 -0400167
Pamela Dragosh7ef1ede2017-08-03 12:56:47 -0400168</project>