blob: 8abf2acd3ffeff90c113aaf1d6730084f53774f9 [file] [log] [blame]
Jim Hahn4ec725e2019-02-06 13:14:57 -05001<!--
2 ============LICENSE_START=======================================================
3 ONAP policy
Pamela Dragosha974aa02017-02-14 19:31:53 -05004 ================================================================================
Pamela Dragosh739a86b2020-01-09 20:26:46 -05005 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
liamfallon89b8fe52019-11-01 11:21:54 +00006 Modifications Copyright (C) 2019 Nordix Foundation.
Pamela Dragosha974aa02017-02-14 19:31:53 -05007 ================================================================================
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
Pamela Dragosh1dccffb2018-02-16 10:29:09 -050011
Pamela Dragosha974aa02017-02-14 19:31:53 -050012 http://www.apache.org/licenses/LICENSE-2.0
Pamela Dragosh1dccffb2018-02-16 10:29:09 -050013
Pamela Dragosha974aa02017-02-14 19:31:53 -050014 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.
Jim Hahn4ec725e2019-02-06 13:14:57 -050019 ============LICENSE_END=========================================================
Pamela Dragosh1dccffb2018-02-16 10:29:09 -050020-->
Pamela Dragosha974aa02017-02-14 19:31:53 -050021
liamfallon2f72ab62018-10-31 15:23:33 +000022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
mmisb40acf22018-07-20 15:28:25 +010023 <modelVersion>4.0.0</modelVersion>
Pamela Dragosha974aa02017-02-14 19:31:53 -050024
mmisb40acf22018-07-20 15:28:25 +010025 <parent>
liamfallon73ba8032018-07-30 10:22:27 +010026 <groupId>org.onap.policy.parent</groupId>
27 <artifactId>integration</artifactId>
HOCKLA79e69312019-12-11 10:24:44 -060028 <version>3.1.1-SNAPSHOT</version>
liamfalloncf282dd2018-09-07 13:36:41 +010029 <relativePath />
mmisb40acf22018-07-20 15:28:25 +010030 </parent>
Guo Ruijinga790f402017-08-03 09:05:02 +000031
mmisb40acf22018-07-20 15:28:25 +010032 <groupId>org.onap.policy.common</groupId>
33 <artifactId>common-modules</artifactId>
HOCKLAe20940f2019-12-06 14:29:46 -060034 <version>1.6.2-SNAPSHOT</version>
Pamela Dragosha974aa02017-02-14 19:31:53 -050035
mmisb40acf22018-07-20 15:28:25 +010036 <packaging>pom</packaging>
Pamela Dragosha974aa02017-02-14 19:31:53 -050037
mmisb40acf22018-07-20 15:28:25 +010038 <name>policy-common</name>
39 <description>Common Modules for Policy-Engine in both XACML and Drools flavor</description>
Pamela Dragosha974aa02017-02-14 19:31:53 -050040
mmisb40acf22018-07-20 15:28:25 +010041 <properties>
42 <!-- Project common build settings -->
Pamela Dragosh1dccffb2018-02-16 10:29:09 -050043
mmisb40acf22018-07-20 15:28:25 +010044 <!-- Project path properties -->
45 <nexusproxy>https://nexus.onap.org</nexusproxy>
46 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
47 <releases.path>content/repositories/releases/</releases.path>
48 <snapshots.path>content/repositories/snapshots/</snapshots.path>
49 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosh1dccffb2018-02-16 10:29:09 -050050
mmisb40acf22018-07-20 15:28:25 +010051 <!-- Project common dependency versions -->
liamfalloncf282dd2018-09-07 13:36:41 +010052 <commons-lang3.version>3.4</commons-lang3.version>
mmisb40acf22018-07-20 15:28:25 +010053 </properties>
Pamela Dragosha974aa02017-02-14 19:31:53 -050054
mmisb40acf22018-07-20 15:28:25 +010055 <modules>
56 <module>capabilities</module>
57 <module>utils-test</module>
58 <module>utils</module>
Jim Hahn4ec725e2019-02-06 13:14:57 -050059 <module>gson</module>
mmisb40acf22018-07-20 15:28:25 +010060 <module>common-logging</module>
liamfallon32c6ed62018-07-24 12:38:24 +010061 <module>common-parameters</module>
mmisb40acf22018-07-20 15:28:25 +010062 <module>integrity-audit</module>
63 <module>integrity-monitor</module>
64 <module>policy-endpoints</module>
65 </modules>
Pamela Dragosha974aa02017-02-14 19:31:53 -050066
mmisb40acf22018-07-20 15:28:25 +010067 <dependencyManagement>
68 <dependencies>
69 <dependency>
liamfalloncf282dd2018-09-07 13:36:41 +010070 <groupId>org.apache.commons</groupId>
71 <artifactId>commons-lang3</artifactId>
72 <version>${commons-lang3.version}</version>
73 </dependency>
mmisb40acf22018-07-20 15:28:25 +010074 </dependencies>
75 </dependencyManagement>
Pamela Dragoshf391f8a2017-11-10 19:18:46 -050076
mmisb40acf22018-07-20 15:28:25 +010077 <build>
78 <pluginManagement>
79 <plugins>
80 <plugin>
mmisb40acf22018-07-20 15:28:25 +010081 <groupId>org.eclipse.m2e</groupId>
82 <artifactId>lifecycle-mapping</artifactId>
83 <version>1.0.0</version>
84 <configuration>
85 <lifecycleMappingMetadata>
86 <pluginExecutions>
87 <pluginExecution>
88 <pluginExecutionFilter>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-checkstyle-plugin</artifactId>
91 <versionRange>2.17,)</versionRange>
92 <goals>
93 <goal>check</goal>
94 </goals>
95 </pluginExecutionFilter>
96 <action>
97 <ignore />
98 </action>
99 </pluginExecution>
100 </pluginExecutions>
101 </lifecycleMappingMetadata>
102 </configuration>
103 </plugin>
104 </plugins>
105 </pluginManagement>
106 <plugins>
107 <plugin>
mmisb40acf22018-07-20 15:28:25 +0100108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-deploy-plugin</artifactId>
110 <configuration>
111 <skip />
112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-site-plugin</artifactId>
117 <dependencies>
118 <dependency>
119 <groupId>org.apache.maven.wagon</groupId>
120 <artifactId>wagon-webdav-jackrabbit</artifactId>
121 <version>2.10</version>
122 </dependency>
123 </dependencies>
124 </plugin>
Pamela Dragoshf133be22018-08-22 14:02:14 -0400125 <plugin>
liamfalloncf282dd2018-09-07 13:36:41 +0100126 <artifactId>maven-checkstyle-plugin</artifactId>
127 <executions>
128 <execution>
129 <id>onap-java-style</id>
130 <goals>
131 <goal>check</goal>
132 </goals>
133 <phase>process-sources</phase>
134 <configuration>
Pamela Dragoshf133be22018-08-22 14:02:14 -0400135 <!-- Use Google Java Style Guide:
136 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
137 with minor changes -->
liamfalloncf282dd2018-09-07 13:36:41 +0100138 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Pamela Dragoshf133be22018-08-22 14:02:14 -0400139 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
HOCKLA79e69312019-12-11 10:24:44 -0600140 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
liamfalloncf282dd2018-09-07 13:36:41 +0100141 <includeResources>true</includeResources>
142 <includeTestSourceDirectory>true</includeTestSourceDirectory>
143 <includeTestResources>true</includeTestResources>
144 <excludes>
145 </excludes>
liamfalloncf282dd2018-09-07 13:36:41 +0100146 <consoleOutput>true</consoleOutput>
Pamela Dragoshaf5e28c2018-09-21 12:48:29 -0400147 <failsOnViolation>true</failsOnViolation>
liamfalloncf282dd2018-09-07 13:36:41 +0100148 <violationSeverity>warning</violationSeverity>
149 </configuration>
150 </execution>
151 </executions>
152 <dependencies>
153 <dependency>
154 <groupId>org.onap.oparent</groupId>
155 <artifactId>checkstyle</artifactId>
156 <version>${oparent.version}</version>
157 <scope>compile</scope>
158 </dependency>
159 </dependencies>
Pamela Dragoshf133be22018-08-22 14:02:14 -0400160 </plugin>
mmisb40acf22018-07-20 15:28:25 +0100161 </plugins>
162 </build>
163 <reporting>
164 <plugins>
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-javadoc-plugin</artifactId>
168 <version>2.10.4</version>
169 <configuration>
170 <failOnError>false</failOnError>
171 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
172 <docletArtifact>
173 <groupId>org.umlgraph</groupId>
174 <artifactId>umlgraph</artifactId>
175 <version>5.6</version>
176 </docletArtifact>
177 <additionalparam>-views</additionalparam>
178 <useStandardDocletOptions>true</useStandardDocletOptions>
179 </configuration>
180 </plugin>
181 </plugins>
182 </reporting>
Pamela Dragosha974aa02017-02-14 19:31:53 -0500183</project>