Michal Ptacek | 7168a9a | 2019-11-04 06:45:08 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP Policy Engine - Drools PDP |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. |
| 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/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <artifactId>policy-core</artifactId> |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 28 | <artifactId>drools-pdp</artifactId> |
| 29 | <version>1.5.2</version> |
| 30 | </parent> |
| 31 | |
| 32 | <dependencies> |
| 33 | <!-- |
| 34 | Issue: 1 of 2 |
| 35 | These 3 dependencies are trying to upgrade security fixes |
| 36 | identified. If they are removed or manipulated then please |
| 37 | fix the 2nd change as noted below. |
| 38 | --> |
| 39 | <dependency> |
| 40 | <groupId>org.codehaus.plexus</groupId> |
| 41 | <artifactId>plexus-utils</artifactId> |
| 42 | <version>3.0.24</version> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>com.thoughtworks.xstream</groupId> |
| 46 | <artifactId>xstream</artifactId> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>com.google.guava</groupId> |
| 50 | <artifactId>guava</artifactId> |
| 51 | </dependency> |
| 52 | |
| 53 | <dependency> |
| 54 | <groupId>org.kie</groupId> |
| 55 | <artifactId>kie-api</artifactId> |
| 56 | <version>6.5.0.Final</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.kie</groupId> |
| 60 | <artifactId>kie-ci</artifactId> |
| 61 | <version>6.5.0.Final</version> |
| 62 | <!-- |
| 63 | Issue: 2 of 2 |
| 64 | Excluding these 2 dependencies in order to force upgrade security fixes |
| 65 | identified. As declared above. Any changes here should be reflected above |
| 66 | and vice versa. |
| 67 | --> |
| 68 | <exclusions> |
| 69 | <exclusion> |
| 70 | <groupId>org.codehaus.plexus</groupId> |
| 71 | <artifactId>plexus-utils</artifactId> |
| 72 | </exclusion> |
| 73 | <exclusion> |
| 74 | <groupId>com.thoughtworks.xstream</groupId> |
| 75 | <artifactId>xstream</artifactId> |
| 76 | </exclusion> |
| 77 | <exclusion> |
| 78 | <groupId>com.google.guava</groupId> |
| 79 | <artifactId>guava</artifactId> |
| 80 | </exclusion> |
| 81 | </exclusions> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.drools</groupId> |
| 85 | <artifactId>drools-core</artifactId> |
| 86 | <version>6.5.0.Final</version> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.drools</groupId> |
| 90 | <artifactId>drools-persistence-jpa</artifactId> |
| 91 | <version>6.5.0.Final</version> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.onap.policy.common</groupId> |
| 95 | <artifactId>capabilities</artifactId> |
| 96 | <version>${policy.common.version}</version> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.onap.policy.common</groupId> |
| 100 | <artifactId>utils</artifactId> |
| 101 | <version>${policy.common.version}</version> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 105 | <artifactId>policy-utils</artifactId> |
| 106 | <version>${project.version}</version> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.projectlombok</groupId> |
| 110 | <artifactId>lombok</artifactId> |
| 111 | <scope>provided</scope> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>junit</groupId> |
| 115 | <artifactId>junit</artifactId> |
| 116 | <scope>test</scope> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.powermock</groupId> |
| 120 | <artifactId>powermock-api-mockito</artifactId> |
| 121 | <scope>test</scope> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>org.assertj</groupId> |
| 125 | <artifactId>assertj-core</artifactId> |
| 126 | <scope>test</scope> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.onap.policy.common</groupId> |
| 130 | <artifactId>utils-test</artifactId> |
| 131 | <version>${policy.common.version}</version> |
| 132 | <scope>test</scope> |
| 133 | </dependency> |
| 134 | </dependencies> |
| 135 | <build> |
| 136 | <plugins> |
| 137 | <plugin> |
| 138 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 139 | <executions> |
| 140 | <execution> |
| 141 | <id>onap-java-style</id> |
| 142 | <goals> |
| 143 | <goal>check</goal> |
| 144 | </goals> |
| 145 | <phase>process-sources</phase> |
| 146 | <configuration> |
| 147 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 148 | with minor changes --> |
| 149 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 150 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 151 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 152 | <includeResources>true</includeResources> |
| 153 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 154 | <includeTestResources>true</includeTestResources> |
| 155 | <excludes> |
| 156 | </excludes> |
| 157 | <consoleOutput>true</consoleOutput> |
| 158 | <failsOnViolation>true</failsOnViolation> |
| 159 | <violationSeverity>warning</violationSeverity> |
| 160 | </configuration> |
| 161 | </execution> |
| 162 | </executions> |
| 163 | <dependencies> |
| 164 | <dependency> |
| 165 | <groupId>org.onap.oparent</groupId> |
| 166 | <artifactId>checkstyle</artifactId> |
| 167 | <version>${oparent.version}</version> |
| 168 | <scope>compile</scope> |
| 169 | </dependency> |
| 170 | </dependencies> |
| 171 | </plugin> |
| 172 | </plugins> |
| 173 | </build> |
| 174 | </project> |