Pamela Dragosh | d548b61 | 2018-04-16 11:53:04 -0400 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | drools-pdp-apps |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
Gao, Chenfei (cg287m) | 6837716 | 2017-06-22 14:48:41 -0400 | [diff] [blame] | 20 | <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"> |
| 21 | <modelVersion>4.0.0</modelVersion> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 22 | |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
| 25 | <artifactId>common</artifactId> |
liamfallon | 4cfda9c | 2018-06-05 16:41:35 +0100 | [diff] [blame] | 26 | <version>1.3.0-SNAPSHOT</version> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gao, Chenfei (cg287m) | 6837716 | 2017-06-22 14:48:41 -0400 | [diff] [blame] | 29 | <artifactId>guard</artifactId> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 30 | |
Gao, Chenfei (cg287m) | 6837716 | 2017-06-22 14:48:41 -0400 | [diff] [blame] | 31 | <dependencies> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 32 | <dependency> |
| 33 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
| 34 | <artifactId>policy-yaml</artifactId> |
| 35 | <version>${project.version}</version> |
| 36 | <scope>provided</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>com.att.research.xacml</groupId> |
| 40 | <artifactId>xacml-pdp</artifactId> |
| 41 | <version>1.0.1</version> |
Pamela Dragosh | c11d905 | 2018-03-01 17:11:20 -0500 | [diff] [blame] | 42 | <exclusions> |
| 43 | <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We |
| 44 | are not using that PIP and can safely exclude this jar to resolve CLM issue. |
| 45 | --> |
| 46 | <exclusion> |
| 47 | <groupId>commons-collections</groupId> |
| 48 | <artifactId>commons-collections</artifactId> |
| 49 | </exclusion> |
| 50 | </exclusions> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>junit</groupId> |
| 54 | <artifactId>junit</artifactId> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 55 | <scope>test</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>commons-io</groupId> |
| 59 | <artifactId>commons-io</artifactId> |
| 60 | <version>2.5</version> |
| 61 | <scope>provided</scope> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.apache.httpcomponents</groupId> |
| 65 | <artifactId>httpclient</artifactId> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 66 | <scope>provided</scope> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.drools</groupId> |
| 70 | <artifactId>drools-core</artifactId> |
| 71 | <version>6.5.0.Final</version> |
| 72 | <scope>provided</scope> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>org.eclipse.persistence</groupId> |
| 76 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 77 | <version>2.7.0</version> |
| 78 | <scope>provided</scope> |
| 79 | </dependency> |
| 80 | <dependency> |
mmis | e87b2f7 | 2018-07-23 12:22:07 +0100 | [diff] [blame] | 81 | <groupId>org.onap.policy.common</groupId> |
| 82 | <artifactId>policy-endpoints</artifactId> |
| 83 | <version>${project.version}</version> |
| 84 | <scope>provided</scope> |
| 85 | </dependency> |
| 86 | <dependency> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 87 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 88 | <artifactId>policy-management</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | <scope>provided</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
| 94 | <artifactId>simulators</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | <scope>test</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.mockito</groupId> |
| 100 | <artifactId>mockito-core</artifactId> |
| 101 | <version>2.13.0</version> |
| 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>com.h2database</groupId> |
| 106 | <artifactId>h2</artifactId> |
liamfallon | def0f11 | 2018-02-13 11:29:56 +0000 | [diff] [blame] | 107 | <scope>test</scope> |
| 108 | </dependency> |
Gao, Chenfei (cg287m) | 6837716 | 2017-06-22 14:48:41 -0400 | [diff] [blame] | 109 | </dependencies> |
Pamela Dragosh | a24a985 | 2018-09-21 20:08:11 -0400 | [diff] [blame] | 110 | <build> |
| 111 | <plugins> |
| 112 | <plugin> |
| 113 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>onap-java-style</id> |
| 117 | <goals> |
| 118 | <goal>check</goal> |
| 119 | </goals> |
| 120 | <phase>process-sources</phase> |
| 121 | <configuration> |
| 122 | <!-- Use Google Java Style Guide: |
| 123 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 124 | with minor changes --> |
| 125 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 126 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
Pamela Dragosh | 1c32e0c | 2018-09-26 13:53:38 -0400 | [diff] [blame] | 127 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
Pamela Dragosh | a24a985 | 2018-09-21 20:08:11 -0400 | [diff] [blame] | 128 | <includeResources>true</includeResources> |
| 129 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 130 | <includeTestResources>true</includeTestResources> |
| 131 | <excludes> |
| 132 | </excludes> |
Pamela Dragosh | 1c32e0c | 2018-09-26 13:53:38 -0400 | [diff] [blame] | 133 | <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation> |
Pamela Dragosh | a24a985 | 2018-09-21 20:08:11 -0400 | [diff] [blame] | 134 | <consoleOutput>true</consoleOutput> |
| 135 | <failsOnViolation>true</failsOnViolation> |
| 136 | <violationSeverity>warning</violationSeverity> |
| 137 | </configuration> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | <dependencies> |
| 141 | <dependency> |
| 142 | <groupId>org.onap.oparent</groupId> |
| 143 | <artifactId>checkstyle</artifactId> |
| 144 | <version>${oparent.version}</version> |
| 145 | <scope>compile</scope> |
| 146 | </dependency> |
| 147 | </dependencies> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
Gao, Chenfei (cg287m) | 6837716 | 2017-06-22 14:48:41 -0400 | [diff] [blame] | 151 | </project> |