blob: abcf29099f6a2ba0b6d7efb77ada151f76fe09e2 [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 ================================================================================
Jim Hahne6f7f7e2019-07-10 16:10:49 -04005 Copyright (C) 2017-2019 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>
Jim Hahn89a8e322019-09-10 11:22:40 -040028 <version>1.6.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>
Jim Hahn1bee2d22018-10-02 15:29:54 -0400108 <consoleOutput>true</consoleOutput>
109 <failsOnViolation>true</failsOnViolation>
110 <violationSeverity>warning</violationSeverity>
111 </configuration>
112 </execution>
113 </executions>
114 <dependencies>
115 <dependency>
116 <groupId>org.onap.oparent</groupId>
117 <artifactId>checkstyle</artifactId>
118 <version>${oparent.version}</version>
119 <scope>compile</scope>
120 </dependency>
121 </dependencies>
122 </plugin>
123 </plugins>
124 </build>
125
126 <dependencies>
127 <dependency>
Jim Hahn1bee2d22018-10-02 15:29:54 -0400128 <groupId>org.onap.policy.drools-pdp</groupId>
129 <artifactId>policy-core</artifactId>
130 <version>${project.version}</version>
131 <scope>provided</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.onap.policy.common</groupId>
135 <artifactId>policy-endpoints</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100136 <version>${policy.common.version}</version>
Jim Hahn1bee2d22018-10-02 15:29:54 -0400137 <scope>provided</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.onap.policy.drools-pdp</groupId>
141 <artifactId>policy-management</artifactId>
142 <version>${project.version}</version>
143 <scope>provided</scope>
144 </dependency>
145 <dependency>
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 <scope>test</scope>
149 </dependency>
150 <dependency>
151 <groupId>org.powermock</groupId>
152 <artifactId>powermock-api-mockito</artifactId>
153 <scope>test</scope>
154 </dependency>
155 </dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500156
157</project>