Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | feature-state-management |
| 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> |
| 29 | <version>1.1.0-SNAPSHOT</version> |
| 30 | </parent> |
| 31 | |
| 32 | <artifactId>feature-state-management</artifactId> |
| 33 | |
| 34 | <name>feature-state-management</name> |
| 35 | <description>Separately loadable module for State Management</description> |
| 36 | |
| 37 | <build> |
| 38 | <plugins> |
| 39 | <plugin> |
| 40 | <artifactId>maven-assembly-plugin</artifactId> |
| 41 | <version>2.6</version> |
| 42 | <executions> |
| 43 | <execution> |
| 44 | <id>zipfile</id> |
| 45 | <goals> |
| 46 | <goal>single</goal> |
| 47 | </goals> |
| 48 | <phase>package</phase> |
| 49 | <configuration> |
| 50 | <attach>true</attach> |
| 51 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 52 | <descriptors> |
| 53 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 54 | </descriptors> |
| 55 | <appendAssemblyId>false</appendAssemblyId> |
| 56 | </configuration> |
| 57 | </execution> |
| 58 | </executions> |
| 59 | </plugin> |
| 60 | <plugin> |
| 61 | <groupId>org.apache.maven.plugins</groupId> |
| 62 | <artifactId>maven-dependency-plugin</artifactId> |
| 63 | <version>2.8</version> |
| 64 | <executions> |
| 65 | <execution> |
| 66 | <id>copy-dependencies</id> |
| 67 | <goals> |
| 68 | <goal>copy-dependencies</goal> |
| 69 | </goals> |
| 70 | <phase>prepare-package</phase> |
| 71 | <configuration> |
| 72 | <transitive>false</transitive> |
| 73 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 74 | <overWriteReleases>false</overWriteReleases> |
| 75 | <overWriteSnapshots>true</overWriteSnapshots> |
| 76 | <overWriteIfNewer>true</overWriteIfNewer> |
| 77 | <useRepositoryLayout>false</useRepositoryLayout> |
| 78 | <addParentPoms>false</addParentPoms> |
| 79 | <copyPom>false</copyPom> |
| 80 | <includeScope>runtime</includeScope> |
| 81 | <excludeTransitive>true</excludeTransitive> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | </plugin> |
| 86 | </plugins> |
| 87 | </build> |
| 88 | |
| 89 | <dependencies> |
| 90 | <dependency> |
| 91 | <groupId>io.swagger</groupId> |
| 92 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 93 | <scope>provided</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 97 | <artifactId>policy-core</artifactId> |
| 98 | <version>${project.version}</version> |
| 99 | <scope>provided</scope> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 103 | <artifactId>policy-management</artifactId> |
| 104 | <version>${project.version}</version> |
| 105 | <scope>provided</scope> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 109 | <artifactId>api-state-management</artifactId> |
| 110 | <version>${project.version}</version> |
| 111 | </dependency> |
| 112 | |
| 113 | <dependency> |
| 114 | <groupId>com.h2database</groupId> |
| 115 | <artifactId>h2</artifactId> |
| 116 | <version>[1.4.186,)</version> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.eclipse.persistence</groupId> |
| 121 | <artifactId>eclipselink</artifactId> |
| 122 | <scope>provided</scope> |
| 123 | </dependency> |
| 124 | <!-- Need to pull in to assembly --> |
| 125 | <dependency> |
| 126 | <groupId>org.onap.policy.common</groupId> |
| 127 | <artifactId>integrity-monitor</artifactId> |
| 128 | <version>${common-modules.version}</version> |
| 129 | </dependency> |
| 130 | <!-- Need to pull into assembly for IntegrityMonitor --> |
| 131 | <dependency> |
| 132 | <groupId>log4j</groupId> |
| 133 | <artifactId>log4j</artifactId> |
| 134 | <version>1.2.17</version> |
| 135 | </dependency> |
| 136 | </dependencies> |
| 137 | </project> |