blob: 086431c037fe58922bbf32ceed5999999e677045 [file] [log] [blame]
Kevin McKiou4c539952017-09-14 12:31:02 -05001<!--
2 ============LICENSE_START=======================================================
3 feature-active-standby-management
4 ================================================================================
Pamela Dragoshfd307be2018-08-28 18:10:51 -04005 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Kevin McKiou4c539952017-09-14 12:31:02 -05006 ================================================================================
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 Dragoshfd307be2018-08-28 18:10:51 -040021<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 McKiou4c539952017-09-14 12:31:02 -050024
Pamela Dragoshfd307be2018-08-28 18:10:51 -040025 <modelVersion>4.0.0</modelVersion>
Kevin McKiou4c539952017-09-14 12:31:02 -050026
Pamela Dragoshfd307be2018-08-28 18:10:51 -040027 <parent>
28 <groupId>org.onap.policy.drools-pdp</groupId>
29 <artifactId>drools-pdp</artifactId>
30 <version>1.3.0-SNAPSHOT</version>
31 </parent>
Kevin McKiou4c539952017-09-14 12:31:02 -050032
Pamela Dragoshfd307be2018-08-28 18:10:51 -040033 <artifactId>feature-active-standby-management</artifactId>
Kevin McKiou4c539952017-09-14 12:31:02 -050034
Pamela Dragoshfd307be2018-08-28 18:10:51 -040035 <name>feature-active-standby-management</name>
36 <description>Separately loadable module for managing active-standby behavior</description>
Kevin McKiou4c539952017-09-14 12:31:02 -050037
Pamela Dragoshfd307be2018-08-28 18:10:51 -040038 <build>
39 <plugins>
40 <plugin>
41 <artifactId>maven-assembly-plugin</artifactId>
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 <executions>
64 <execution>
65 <id>copy-dependencies</id>
66 <goals>
67 <goal>copy-dependencies</goal>
68 </goals>
69 <phase>prepare-package</phase>
70 <configuration>
71 <transitive>false</transitive>
72 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
73 <overWriteReleases>false</overWriteReleases>
74 <overWriteSnapshots>true</overWriteSnapshots>
75 <overWriteIfNewer>true</overWriteIfNewer>
76 <useRepositoryLayout>false</useRepositoryLayout>
77 <addParentPoms>false</addParentPoms>
78 <copyPom>false</copyPom>
79 <includeScope>runtime</includeScope>
80 <excludeTransitive>true</excludeTransitive>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
Pamela Dragosha0e0c782018-09-28 04:58:26 -040085 <plugin>
86 <artifactId>maven-checkstyle-plugin</artifactId>
87 <executions>
88 <execution>
89 <id>onap-java-style</id>
90 <goals>
91 <goal>check</goal>
92 </goals>
93 <phase>process-sources</phase>
94 <configuration>
95 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
96 with minor changes -->
97 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
98 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
99 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
100 <includeResources>true</includeResources>
101 <includeTestSourceDirectory>true</includeTestSourceDirectory>
102 <includeTestResources>true</includeTestResources>
103 <excludes>
104 </excludes>
105 <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation>
106 <consoleOutput>true</consoleOutput>
107 <failsOnViolation>true</failsOnViolation>
108 <violationSeverity>warning</violationSeverity>
109 </configuration>
110 </execution>
111 </executions>
112 <dependencies>
113 <dependency>
114 <groupId>org.onap.oparent</groupId>
115 <artifactId>checkstyle</artifactId>
116 <version>${oparent.version}</version>
117 <scope>compile</scope>
118 </dependency>
119 </dependencies>
120 </plugin>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400121 </plugins>
122 </build>
Kevin McKiou4c539952017-09-14 12:31:02 -0500123
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400124 <dependencies>
125 <dependency>
126 <groupId>io.swagger</groupId>
127 <artifactId>swagger-jersey2-jaxrs</artifactId>
128 <scope>provided</scope>
129 </dependency>
130 <dependency>
131 <groupId>org.onap.policy.drools-pdp</groupId>
132 <artifactId>policy-core</artifactId>
133 <version>${project.version}</version>
134 <scope>provided</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.onap.policy.drools-pdp</groupId>
138 <artifactId>policy-management</artifactId>
139 <version>${project.version}</version>
140 <scope>provided</scope>
141 </dependency>
142 <dependency>
143 <groupId>org.eclipse.persistence</groupId>
144 <artifactId>eclipselink</artifactId>
145 <scope>provided</scope>
146 </dependency>
147 <dependency>
148 <groupId>org.onap.policy.drools-pdp</groupId>
149 <artifactId>api-active-standby-management</artifactId>
150 <version>${project.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>org.onap.policy.drools-pdp</groupId>
154 <artifactId>api-state-management</artifactId>
155 <version>${project.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.onap.policy.drools-pdp</groupId>
159 <artifactId>feature-state-management</artifactId>
160 <version>${project.version}</version>
161 <scope>test</scope>
162 </dependency>
163 <dependency>
164 <groupId>com.h2database</groupId>
165 <artifactId>h2</artifactId>
166 <scope>test</scope>
167 </dependency>
168 <dependency>
169 <groupId>junit</groupId>
170 <artifactId>junit</artifactId>
171 <scope>test</scope>
172 </dependency>
173 </dependencies>
Kevin McKiou4c539952017-09-14 12:31:02 -0500174
175</project>