Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | feature-active-standby-management |
| 4 | ================================================================================ |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 5 | Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -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 | |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 21 | <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"> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 22 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 24 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 27 | <artifactId>drools-pdp</artifactId> |
Pamela Dragosh | 3f5c528 | 2020-04-24 17:12:14 -0400 | [diff] [blame^] | 28 | <version>1.6.3-SNAPSHOT</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 29 | </parent> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 30 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 31 | <artifactId>feature-active-standby-management</artifactId> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 32 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 33 | <name>feature-active-standby-management</name> |
| 34 | <description>Separately loadable module for managing active-standby behavior</description> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 35 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 36 | <build> |
| 37 | <plugins> |
| 38 | <plugin> |
| 39 | <artifactId>maven-assembly-plugin</artifactId> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <id>zipfile</id> |
| 43 | <goals> |
| 44 | <goal>single</goal> |
| 45 | </goals> |
| 46 | <phase>package</phase> |
| 47 | <configuration> |
| 48 | <attach>true</attach> |
| 49 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 50 | <descriptors> |
| 51 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 52 | </descriptors> |
| 53 | <appendAssemblyId>false</appendAssemblyId> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-dependency-plugin</artifactId> |
| 61 | <executions> |
| 62 | <execution> |
| 63 | <id>copy-dependencies</id> |
| 64 | <goals> |
| 65 | <goal>copy-dependencies</goal> |
| 66 | </goals> |
| 67 | <phase>prepare-package</phase> |
| 68 | <configuration> |
| 69 | <transitive>false</transitive> |
| 70 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 71 | <overWriteReleases>false</overWriteReleases> |
| 72 | <overWriteSnapshots>true</overWriteSnapshots> |
| 73 | <overWriteIfNewer>true</overWriteIfNewer> |
| 74 | <useRepositoryLayout>false</useRepositoryLayout> |
| 75 | <addParentPoms>false</addParentPoms> |
| 76 | <copyPom>false</copyPom> |
| 77 | <includeScope>runtime</includeScope> |
| 78 | <excludeTransitive>true</excludeTransitive> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 83 | <plugin> |
| 84 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>onap-java-style</id> |
| 88 | <goals> |
| 89 | <goal>check</goal> |
| 90 | </goals> |
| 91 | <phase>process-sources</phase> |
| 92 | <configuration> |
| 93 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 94 | with minor changes --> |
| 95 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 96 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 97 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 98 | <includeResources>true</includeResources> |
| 99 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 100 | <includeTestResources>true</includeTestResources> |
| 101 | <excludes> |
| 102 | </excludes> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 103 | <consoleOutput>true</consoleOutput> |
| 104 | <failsOnViolation>true</failsOnViolation> |
| 105 | <violationSeverity>warning</violationSeverity> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | <dependencies> |
| 110 | <dependency> |
| 111 | <groupId>org.onap.oparent</groupId> |
| 112 | <artifactId>checkstyle</artifactId> |
| 113 | <version>${oparent.version}</version> |
| 114 | <scope>compile</scope> |
| 115 | </dependency> |
| 116 | </dependencies> |
| 117 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 118 | </plugins> |
| 119 | </build> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 120 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 121 | <dependencies> |
| 122 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 123 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 124 | <artifactId>policy-core</artifactId> |
| 125 | <version>${project.version}</version> |
| 126 | <scope>provided</scope> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 130 | <artifactId>policy-management</artifactId> |
| 131 | <version>${project.version}</version> |
| 132 | <scope>provided</scope> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.eclipse.persistence</groupId> |
| 136 | <artifactId>eclipselink</artifactId> |
| 137 | <scope>provided</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 141 | <artifactId>api-active-standby-management</artifactId> |
| 142 | <version>${project.version}</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 146 | <artifactId>api-state-management</artifactId> |
| 147 | <version>${project.version}</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 151 | <artifactId>feature-state-management</artifactId> |
| 152 | <version>${project.version}</version> |
| 153 | <scope>test</scope> |
| 154 | </dependency> |
| 155 | <dependency> |
Jim Hahn | dfe8fa8 | 2019-08-14 17:31:50 -0400 | [diff] [blame] | 156 | <groupId>org.onap.policy.common</groupId> |
| 157 | <artifactId>utils-test</artifactId> |
| 158 | <version>${policy.common.version}</version> |
| 159 | <scope>test</scope> |
| 160 | </dependency> |
| 161 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 162 | <groupId>com.h2database</groupId> |
| 163 | <artifactId>h2</artifactId> |
| 164 | <scope>test</scope> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>junit</groupId> |
| 168 | <artifactId>junit</artifactId> |
| 169 | <scope>test</scope> |
| 170 | </dependency> |
Jim Hahn | 15014b8 | 2020-04-06 15:33:23 -0400 | [diff] [blame] | 171 | <dependency> |
| 172 | <groupId>org.assertj</groupId> |
| 173 | <artifactId>assertj-core</artifactId> |
| 174 | <scope>test</scope> |
| 175 | </dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 176 | </dependencies> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 177 | |
| 178 | </project> |