blob: f4091cc11f7e4bd22cfb77c887d1632d59a44d51 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00003 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05004 ================================================================================
Pamela Dragoshfd307be2018-08-28 18:10:51 -04005 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Pamela Dragosh0e16acf2017-02-14 19:45:48 -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
liamfallon99200202018-10-31 16:00:08 +000021<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">
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050022
Jim Hahn1bee2d22018-10-02 15:29:54 -040023 <modelVersion>4.0.0</modelVersion>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050024
Jim Hahn1bee2d22018-10-02 15:29:54 -040025 <parent>
26 <groupId>org.onap.policy.drools-pdp</groupId>
27 <artifactId>drools-pdp</artifactId>
liamfallon99200202018-10-31 16:00:08 +000028 <version>1.4.0-SNAPSHOT</version>
Jim Hahn1bee2d22018-10-02 15:29:54 -040029 </parent>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050030
Jim Hahn1bee2d22018-10-02 15:29:54 -040031 <artifactId>feature-healthcheck</artifactId>
32
33 <name>feature-healthcheck</name>
34 <description>Loadable module that performs remote system healthchecks</description>
35
36 <properties>
37 <maven.compiler.source>1.8</maven.compiler.source>
38 <maven.compiler.target>1.8</maven.compiler.target>
39 </properties>
40
41 <build>
42 <plugins>
43 <plugin>
44 <artifactId>maven-assembly-plugin</artifactId>
45 <executions>
46 <execution>
47 <id>zipfile</id>
48 <goals>
49 <goal>single</goal>
50 </goals>
51 <phase>package</phase>
52 <configuration>
53 <attach>true</attach>
54 <finalName>${project.artifactId}-${project.version}</finalName>
55 <descriptors>
56 <descriptor>src/assembly/assemble_zip.xml</descriptor>
57 </descriptors>
58 <appendAssemblyId>false</appendAssemblyId>
59 </configuration>
60 </execution>
61 </executions>
62 </plugin>
63 <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-dependency-plugin</artifactId>
66 <executions>
67 <execution>
68 <id>copy-dependencies</id>
69 <goals>
70 <goal>copy-dependencies</goal>
71 </goals>
72 <phase>prepare-package</phase>
73 <configuration>
74 <transitive>false</transitive>
75 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
76 <overWriteReleases>false</overWriteReleases>
77 <overWriteSnapshots>true</overWriteSnapshots>
78 <overWriteIfNewer>true</overWriteIfNewer>
79 <useRepositoryLayout>false</useRepositoryLayout>
80 <addParentPoms>false</addParentPoms>
81 <copyPom>false</copyPom>
82 <includeScope>runtime</includeScope>
83 <excludeTransitive>true</excludeTransitive>
84 </configuration>
85 </execution>
86 </executions>
87 </plugin>
88 <plugin>
89 <artifactId>maven-checkstyle-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>onap-java-style</id>
93 <goals>
94 <goal>check</goal>
95 </goals>
96 <phase>process-sources</phase>
97 <configuration>
98 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
99 with minor changes -->
100 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
101 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
102 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
103 <includeResources>true</includeResources>
104 <includeTestSourceDirectory>true</includeTestSourceDirectory>
105 <includeTestResources>true</includeTestResources>
106 <excludes>
107 </excludes>
108 <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation>
109 <consoleOutput>true</consoleOutput>
110 <failsOnViolation>true</failsOnViolation>
111 <violationSeverity>warning</violationSeverity>
112 </configuration>
113 </execution>
114 </executions>
115 <dependencies>
116 <dependency>
117 <groupId>org.onap.oparent</groupId>
118 <artifactId>checkstyle</artifactId>
119 <version>${oparent.version}</version>
120 <scope>compile</scope>
121 </dependency>
122 </dependencies>
123 </plugin>
124 </plugins>
125 </build>
126
127 <dependencies>
128 <dependency>
129 <groupId>io.swagger</groupId>
130 <artifactId>swagger-jersey2-jaxrs</artifactId>
131 <scope>provided</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.onap.policy.drools-pdp</groupId>
135 <artifactId>policy-core</artifactId>
136 <version>${project.version}</version>
137 <scope>provided</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.onap.policy.common</groupId>
141 <artifactId>policy-endpoints</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100142 <version>${policy.common.version}</version>
Jim Hahn1bee2d22018-10-02 15:29:54 -0400143 <scope>provided</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.onap.policy.drools-pdp</groupId>
147 <artifactId>policy-management</artifactId>
148 <version>${project.version}</version>
149 <scope>provided</scope>
150 </dependency>
151 <dependency>
152 <groupId>junit</groupId>
153 <artifactId>junit</artifactId>
154 <scope>test</scope>
155 </dependency>
156 <dependency>
157 <groupId>org.powermock</groupId>
158 <artifactId>powermock-api-mockito</artifactId>
159 <scope>test</scope>
160 </dependency>
161 </dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500162
163</project>