Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
ramverma | 74b108c | 2018-05-24 12:40:21 +0100 | [diff] [blame] | 3 | ONAP Policy API |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 4 | ================================================================================ |
Chenfei Gao | 6ea2e1b | 2019-01-31 16:09:09 -0500 | [diff] [blame] | 5 | Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved. |
Jim Hahn | 6e50bcd | 2020-01-14 17:52:12 -0500 | [diff] [blame] | 6 | Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. |
liamfallon | bdfdcf1 | 2019-11-01 11:37:50 +0000 | [diff] [blame] | 7 | Modifications Copyright (C) 2019 Nordix Foundation. |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 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" |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 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> |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 26 | |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 27 | <parent> |
| 28 | <groupId>org.onap.policy.parent</groupId> |
| 29 | <artifactId>integration</artifactId> |
Pamela Dragosh | 9f2a10f | 2020-05-19 12:19:39 -0400 | [diff] [blame] | 30 | <version>3.1.3</version> |
Pamela Dragosh | 8218ae0 | 2018-09-25 09:20:32 -0400 | [diff] [blame] | 31 | <relativePath /> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 32 | </parent> |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 33 | |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 34 | <groupId>org.onap.policy.api</groupId> |
| 35 | <artifactId>policy-api</artifactId> |
Jim Hahn | 27b200a | 2020-05-20 08:24:16 -0400 | [diff] [blame^] | 36 | <version>2.2.5-SNAPSHOT</version> |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 37 | |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 38 | <packaging>pom</packaging> |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 39 | |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 40 | <name>policy-api</name> |
| 41 | <description>Code that define our external API.</description> |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 42 | |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 43 | <properties> |
Pamela Dragosh | 9f2a10f | 2020-05-19 12:19:39 -0400 | [diff] [blame] | 44 | <policy.common.version>1.6.5</policy.common.version> |
| 45 | <policy.models.version>2.2.6</policy.models.version> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 46 | </properties> |
| 47 | |
| 48 | <modules> |
| 49 | <module>main</module> |
Chenfei Gao | 6ea2e1b | 2019-01-31 16:09:09 -0500 | [diff] [blame] | 50 | <module>packages</module> |
Bilal A | 56f97fa | 2019-02-14 14:49:44 -0500 | [diff] [blame] | 51 | <module>testsuites</module> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 52 | </modules> |
| 53 | |
| 54 | <dependencies> |
| 55 | <dependency> |
Chenfei Gao | 304afad | 2019-11-12 22:29:37 -0500 | [diff] [blame] | 56 | <groupId>org.slf4j</groupId> |
| 57 | <artifactId>slf4j-api</artifactId> |
| 58 | </dependency> |
| 59 | <dependency> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 60 | <groupId>junit</groupId> |
| 61 | <artifactId>junit</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
Bilal A | 56f97fa | 2019-02-14 14:49:44 -0500 | [diff] [blame] | 64 | <dependency> |
Chenfei Gao | 6ea2e1b | 2019-01-31 16:09:09 -0500 | [diff] [blame] | 65 | <groupId>org.onap.policy.common</groupId> |
| 66 | <artifactId>policy-endpoints</artifactId> |
| 67 | <version>${policy.common.version}</version> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 68 | </dependency> |
HOCKLA | 3e87a45 | 2019-12-18 08:57:22 -0600 | [diff] [blame] | 69 | <dependency> |
| 70 | <groupId>javax.servlet</groupId> |
| 71 | <artifactId>javax.servlet-api</artifactId> |
HOCKLA | 3e87a45 | 2019-12-18 08:57:22 -0600 | [diff] [blame] | 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> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 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> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 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> |
Pamela Dragosh | 8218ae0 | 2018-09-25 09:20:32 -0400 | [diff] [blame] | 112 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 113 | with minor changes --> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 114 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 115 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
HOCKLA | 3e87a45 | 2019-12-18 08:57:22 -0600 | [diff] [blame] | 116 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 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> |
Pamela Dragosh | 8218ae0 | 2018-09-25 09:20:32 -0400 | [diff] [blame] | 132 | <version>${oparent.version}</version> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 133 | <scope>compile</scope> |
| 134 | </dependency> |
| 135 | </dependencies> |
| 136 | </plugin> |
| 137 | </plugins> |
| 138 | <pluginManagement> |
| 139 | <plugins> |
| 140 | <plugin> |
Pamela Dragosh | 8218ae0 | 2018-09-25 09:20:32 -0400 | [diff] [blame] | 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> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 164 | </plugins> |
| 165 | </pluginManagement> |
| 166 | </build> |
Pamela Dragosh | cb8f3f0 | 2017-08-15 11:39:16 -0400 | [diff] [blame] | 167 | |
Pamela Dragosh | 7ef1ede | 2017-08-03 12:56:47 -0400 | [diff] [blame] | 168 | </project> |