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