Merge "Add getter for ControlLoopPolicy instance in ControlLoopProcessor"
[policy/drools-applications.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   drools-pdp-apps
4   ================================================================================
5   Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2019 Nordix Foundation.
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
22 <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/xsd/maven-4.0.0.xsd">
23
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.policy.parent</groupId>
27         <artifactId>integration</artifactId>
28         <version>3.1.3</version>
29         <relativePath />
30     </parent>
31
32     <groupId>org.onap.policy.drools-applications</groupId>
33     <artifactId>drools-applications</artifactId>
34     <version>1.6.4-SNAPSHOT</version>
35
36     <name>policy-drools-applications</name>
37     <packaging>pom</packaging>
38
39     <properties>
40         <!-- Project path properties -->
41         <nexusproxy>https://nexus.onap.org</nexusproxy>
42         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
43         <releases.path>content/repositories/releases/</releases.path>
44         <snapshots.path>content/repositories/snapshots/</snapshots.path>
45         <staging.path>content/repositories/staging/</staging.path>
46
47         <!-- Project common dependency versions -->
48         <version.policy.common>1.6.5</version.policy.common>
49         <policy.models.version>2.2.6</policy.models.version>
50         <version.policy.drools-pdp>1.6.3-SNAPSHOT</version.policy.drools-pdp>
51     </properties>
52
53     <build>
54         <plugins>
55             <plugin>
56                 <groupId>org.apache.maven.plugins</groupId>
57                 <artifactId>maven-deploy-plugin</artifactId>
58                 <configuration>
59                     <skip />
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-compiler-plugin</artifactId>
65                 <configuration>
66                     <encoding>${project.encoding}</encoding>
67                     <release>${java.version}</release>
68                 </configuration>
69             </plugin>
70             <plugin>
71                 <groupId>org.apache.maven.plugins</groupId>
72                 <artifactId>maven-site-plugin</artifactId>
73                 <dependencies>
74                     <dependency>
75                         <groupId>org.apache.maven.wagon</groupId>
76                         <artifactId>wagon-webdav-jackrabbit</artifactId>
77                         <version>2.10</version>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81             <plugin>
82                 <artifactId>maven-checkstyle-plugin</artifactId>
83                 <executions>
84                     <execution>
85                         <id>onap-java-style</id>
86                         <goals>
87                             <goal>check</goal>
88                         </goals>
89                         <phase>process-sources</phase>
90                         <configuration>
91                             <!-- Use Google Java Style Guide:
92                             https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
93                             with minor changes -->
94                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
95                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
96                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
97                             <includeResources>true</includeResources>
98                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
99                             <includeTestResources>true</includeTestResources>
100                             <excludes>
101                             </excludes>
102                             <suppressionsLocation>/checkstyle-suppressions.xml</suppressionsLocation>
103                             <consoleOutput>true</consoleOutput>
104                             <failsOnViolation>true</failsOnViolation>
105                             <violationSeverity>warning</violationSeverity>
106                         </configuration>
107                     </execution>
108                 </executions>
109                 <dependencies>
110                     <dependency>
111                         <groupId>org.onap.oparent</groupId>
112                         <artifactId>checkstyle</artifactId>
113                         <version>${oparent.version}</version>
114                         <scope>compile</scope>
115                     </dependency>
116                 </dependencies>
117             </plugin>
118         </plugins>
119         <pluginManagement>
120             <plugins>
121                 <plugin>
122                     <groupId>org.eclipse.m2e</groupId>
123                     <artifactId>lifecycle-mapping</artifactId>
124                     <version>1.0.0</version>
125                     <configuration>
126                         <lifecycleMappingMetadata>
127                             <pluginExecutions>
128                                 <pluginExecution>
129                                     <pluginExecutionFilter>
130                                         <groupId>org.apache.maven.plugins</groupId>
131                                         <artifactId>maven-checkstyle-plugin</artifactId>
132                                         <versionRange>2.17,)</versionRange>
133                                         <goals>
134                                             <goal>check</goal>
135                                         </goals>
136                                     </pluginExecutionFilter>
137                                     <action>
138                                         <ignore />
139                                     </action>
140                                 </pluginExecution>
141                             </pluginExecutions>
142                         </lifecycleMappingMetadata>
143                     </configuration>
144                 </plugin>
145             </plugins>
146         </pluginManagement>
147     </build>
148
149     <modules>
150         <module>controlloop</module>
151         <module>testsuites</module>
152     </modules>
153
154     <reporting>
155         <plugins>
156             <plugin>
157                 <groupId>org.apache.maven.plugins</groupId>
158                 <artifactId>maven-javadoc-plugin</artifactId>
159                 <version>2.10.4</version>
160                 <configuration>
161                     <failOnError>false</failOnError>
162                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
163                     <docletArtifact>
164                         <groupId>org.umlgraph</groupId>
165                         <artifactId>umlgraph</artifactId>
166                         <version>5.6</version>
167                     </docletArtifact>
168                     <additionalparam>-views</additionalparam>
169                     <useStandardDocletOptions>true</useStandardDocletOptions>
170                 </configuration>
171             </plugin>
172         </plugins>
173     </reporting>
174
175     <dependencies>
176         <dependency>
177             <groupId>ch.qos.logback</groupId>
178             <artifactId>logback-classic</artifactId>
179             <scope>provided</scope>
180         </dependency>
181         <dependency>
182             <groupId>junit</groupId>
183             <artifactId>junit</artifactId>
184             <scope>test</scope>
185         </dependency>
186         <dependency>
187             <groupId>org.powermock</groupId>
188             <artifactId>powermock-api-mockito2</artifactId>
189             <scope>test</scope>
190         </dependency>
191         <dependency>
192             <groupId>org.mockito</groupId>
193             <artifactId>mockito-core</artifactId>
194             <scope>test</scope>
195         </dependency>
196         <dependency>
197             <groupId>org.powermock</groupId>
198             <artifactId>powermock-module-junit4</artifactId>
199             <scope>test</scope>
200         </dependency>
201         <dependency>
202             <groupId>org.assertj</groupId>
203             <artifactId>assertj-core</artifactId>
204             <scope>test</scope>
205         </dependency>
206         <dependency>
207             <groupId>org.awaitility</groupId>
208             <artifactId>awaitility</artifactId>
209             <scope>test</scope>
210         </dependency>
211     </dependencies>
212
213 </project>