Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP Policy Engine - Drools PDP |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017 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 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | 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 | |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 28 | <artifactId>drools-pdp</artifactId> |
Jessica Wagantall | 9de8f79 | 2017-11-18 18:47:57 -0800 | [diff] [blame] | 29 | <version>1.2.0-SNAPSHOT</version> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 30 | </parent> |
| 31 | |
| 32 | <artifactId>feature-session-persistence</artifactId> |
| 33 | |
| 34 | <name>feature-session-persistence</name> |
| 35 | <description>Separately loadable feature module with session persistence code</description> |
| 36 | |
| 37 | <properties> |
| 38 | <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | <maven.compiler.target>1.8</maven.compiler.target> |
| 40 | <powermock.version>1.6.6</powermock.version> |
| 41 | </properties> |
| 42 | |
| 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
| 46 | <artifactId>maven-assembly-plugin</artifactId> |
| 47 | <version>2.6</version> |
| 48 | <executions> |
| 49 | <execution> |
| 50 | <id>zipfile</id> |
| 51 | <goals> |
| 52 | <goal>single</goal> |
| 53 | </goals> |
| 54 | <phase>package</phase> |
| 55 | <configuration> |
| 56 | <attach>true</attach> |
| 57 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 58 | <descriptors> |
| 59 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 60 | </descriptors> |
| 61 | <appendAssemblyId>false</appendAssemblyId> |
| 62 | </configuration> |
| 63 | </execution> |
| 64 | </executions> |
| 65 | </plugin> |
| 66 | <plugin> |
| 67 | <groupId>org.apache.maven.plugins</groupId> |
| 68 | <artifactId>maven-dependency-plugin</artifactId> |
| 69 | <version>2.8</version> |
| 70 | <executions> |
| 71 | <execution> |
| 72 | <id>copy-dependencies</id> |
| 73 | <goals> |
| 74 | <goal>copy-dependencies</goal> |
| 75 | </goals> |
| 76 | <phase>prepare-package</phase> |
| 77 | <configuration> |
| 78 | <transitive>false</transitive> |
| 79 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 80 | <overWriteReleases>false</overWriteReleases> |
| 81 | <overWriteSnapshots>true</overWriteSnapshots> |
| 82 | <overWriteIfNewer>true</overWriteIfNewer> |
| 83 | <useRepositoryLayout>false</useRepositoryLayout> |
| 84 | <addParentPoms>false</addParentPoms> |
| 85 | <copyPom>false</copyPom> |
| 86 | <includeScope>runtime</includeScope> |
| 87 | <excludeScope>provided</excludeScope> |
| 88 | <excludeTransitive>true</excludeTransitive> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | </plugins> |
| 94 | </build> |
| 95 | |
| 96 | <dependencies> |
| 97 | <dependency> |
| 98 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 99 | <artifactId>policy-core</artifactId> |
| 100 | <version>${project.version}</version> |
| 101 | <scope>provided</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 105 | <artifactId>policy-management</artifactId> |
| 106 | <version>${project.version}</version> |
| 107 | <scope>provided</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
Jim Hahn | c83e35b | 2018-02-14 12:52:31 -0500 | [diff] [blame] | 110 | <groupId>org.onap.policy.common</groupId> |
| 111 | <artifactId>utils</artifactId> |
| 112 | <version>${project.version}</version> |
| 113 | </dependency> |
| 114 | <dependency> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 115 | <groupId>org.powermock</groupId> |
| 116 | <artifactId>powermock-api-mockito</artifactId> |
| 117 | <version>${powermock.version}</version> |
| 118 | <scope>test</scope> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.powermock</groupId> |
| 122 | <artifactId>powermock-module-junit4</artifactId> |
| 123 | <version>${powermock.version}</version> |
| 124 | <scope>test</scope> |
| 125 | <exclusions> |
| 126 | <exclusion> |
| 127 | <groupId>junit</groupId> |
| 128 | <artifactId>junit</artifactId> |
| 129 | </exclusion> |
| 130 | <exclusion> |
| 131 | <groupId>org.powermock</groupId> |
| 132 | <artifactId>powermock-core</artifactId> |
| 133 | </exclusion> |
| 134 | <exclusion> |
| 135 | <groupId>org.powermock</groupId> |
| 136 | <artifactId>powermock-reflect</artifactId> |
| 137 | </exclusion> |
| 138 | <exclusion> |
| 139 | <groupId>org.javassist</groupId> |
| 140 | <artifactId>javassist</artifactId> |
| 141 | </exclusion> |
| 142 | </exclusions> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.javassist</groupId> |
| 146 | <artifactId>javassist</artifactId> |
| 147 | <version>3.21.0-GA</version> |
| 148 | <scope>test</scope> |
| 149 | </dependency> |
Jim Hahn | c83e35b | 2018-02-14 12:52:31 -0500 | [diff] [blame] | 150 | <dependency> |
| 151 | <groupId>org.jboss.jbossts</groupId> |
| 152 | <artifactId>jbossjta</artifactId> |
| 153 | <version>4.16.6.Final</version> |
| 154 | <exclusions> |
| 155 | <exclusion> |
| 156 | <artifactId>jboss-servlet-api_3.0_spec</artifactId> |
| 157 | <groupId>org.jboss.spec.javax.servlet</groupId> |
| 158 | </exclusion> |
| 159 | </exclusions> |
| 160 | </dependency> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 161 | <dependency> |
| 162 | <groupId>com.h2database</groupId> |
| 163 | <artifactId>h2</artifactId> |
| 164 | <version>[1.4.186,)</version> |
| 165 | <scope>test</scope> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>org.hibernate</groupId> |
| 169 | <artifactId>hibernate-core</artifactId> |
| 170 | <scope>provided</scope> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>org.hibernate.common</groupId> |
| 174 | <artifactId>hibernate-commons-annotations</artifactId> |
| 175 | <scope>provided</scope> |
| 176 | </dependency> |
| 177 | <dependency> |
Jim Hahn | c83e35b | 2018-02-14 12:52:31 -0500 | [diff] [blame] | 178 | <groupId>org.apache.commons</groupId> |
| 179 | <artifactId>commons-dbcp2</artifactId> |
| 180 | <version>2.1.1</version> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 181 | </dependency> |
| 182 | <dependency> |
Jim Hahn | c83e35b | 2018-02-14 12:52:31 -0500 | [diff] [blame] | 183 | <groupId>org.apache.commons</groupId> |
| 184 | <artifactId>commons-pool2</artifactId> |
| 185 | <version>2.4.2</version> |
| 186 | </dependency> |
| 187 | |
| 188 | <dependency> |
| 189 | <groupId>junit</groupId> |
| 190 | <artifactId>junit</artifactId> |
| 191 | <scope>test</scope> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 192 | </dependency> |
| 193 | </dependencies> |
| 194 | </project> |