blob: f7bc974aad026b479c4aae8306e0df16e8ddd36d [file] [log] [blame]
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -05001<!--
2 ============LICENSE_START=======================================================
3 ONAP
4 ================================================================================
Jim Hahne617b922019-01-10 14:28:28 -05005 Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
shaoqiue55d2562019-04-02 12:33:04 +00006 Modifications Copyright (C) 2019 Nordix Foundation.
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -05007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
Jim Hahne6bf6012019-06-28 09:53:35 -040011
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050012 http://www.apache.org/licenses/LICENSE-2.0
Jim Hahne6bf6012019-06-28 09:53:35 -040013
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050014 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
liamfallonfd6a4f32018-10-31 16:54:18 +000022<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">
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050023 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
27 <artifactId>common</artifactId>
Pamela Dragoshcb84d7e2019-05-30 10:34:32 -040028 <version>1.5.0-SNAPSHOT</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050029 </parent>
30
31 <artifactId>feature-controlloop-trans</artifactId>
32
33 <description>
34 Loadable PDP-D feature module to track control loop transactions
35 </description>
36
37 <properties>
38 <maven.compiler.source>1.8</maven.compiler.source>
39 <maven.compiler.target>1.8</maven.compiler.target>
40 </properties>
41
42 <build>
43 <plugins>
44 <plugin>
45 <artifactId>maven-assembly-plugin</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050046 <executions>
47 <execution>
48 <id>zipfile</id>
49 <goals>
50 <goal>single</goal>
51 </goals>
52 <phase>package</phase>
53 <configuration>
54 <attach>true</attach>
55 <finalName>${project.artifactId}-${project.version}</finalName>
56 <descriptors>
57 <descriptor>src/assembly/assemble_zip.xml</descriptor>
58 </descriptors>
59 <appendAssemblyId>false</appendAssemblyId>
60 </configuration>
61 </execution>
62 </executions>
63 </plugin>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050064 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-dependency-plugin</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050067 <executions>
68 <execution>
69 <id>copy-dependencies</id>
70 <goals>
71 <goal>copy-dependencies</goal>
72 </goals>
73 <phase>prepare-package</phase>
74 <configuration>
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 </configuration>
84 </execution>
85 </executions>
86 </plugin>
Pamela Dragosha24a9852018-09-21 20:08:11 -040087 <plugin>
88 <artifactId>maven-checkstyle-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>onap-java-style</id>
92 <goals>
93 <goal>check</goal>
94 </goals>
95 <phase>process-sources</phase>
96 <configuration>
97 <!-- Use Google Java Style Guide:
98 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 -->
Pamela Dragosh1c32e0c2018-09-26 13:53:38 -0400102 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400103 <includeResources>true</includeResources>
104 <includeTestSourceDirectory>true</includeTestSourceDirectory>
105 <includeTestResources>true</includeTestResources>
106 <excludes>
107 </excludes>
108 <consoleOutput>true</consoleOutput>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400109 <violationSeverity>warning</violationSeverity>
110 </configuration>
111 </execution>
112 </executions>
113 <dependencies>
114 <dependency>
115 <groupId>org.onap.oparent</groupId>
116 <artifactId>checkstyle</artifactId>
117 <version>${oparent.version}</version>
118 <scope>compile</scope>
119 </dependency>
120 </dependencies>
121 </plugin>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500122 </plugins>
123 </build>
124
125 <dependencies>
126 <dependency>
shaoqiue55d2562019-04-02 12:33:04 +0000127 <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500128 <artifactId>events</artifactId>
shaoqiue55d2562019-04-02 12:33:04 +0000129 <version>${policy.models.version}</version>
jhh50be5872019-04-14 21:41:14 -0500130 <scope>provided</scope>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500131 </dependency>
132 <dependency>
mmise87b2f72018-07-23 12:22:07 +0100133 <groupId>org.onap.policy.common</groupId>
134 <artifactId>policy-endpoints</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100135 <version>${version.policy.common}</version>
mmise87b2f72018-07-23 12:22:07 +0100136 <scope>provided</scope>
137 </dependency>
138 <dependency>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500139 <groupId>org.onap.policy.drools-pdp</groupId>
140 <artifactId>policy-management</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100141 <version>${version.policy.drools-pdp}</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500142 <scope>provided</scope>
143 </dependency>
144 <dependency>
145 <groupId>org.onap.policy.drools-pdp</groupId>
146 <artifactId>policy-utils</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100147 <version>${version.policy.drools-pdp}</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500148 <scope>provided</scope>
149 </dependency>
150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500153 <scope>test</scope>
154 </dependency>
155 <dependency>
Jim Hahne6bf6012019-06-28 09:53:35 -0400156 <groupId>org.awaitility</groupId>
157 <artifactId>awaitility</artifactId>
158 <version>3.0.0</version>
159 <scope>test</scope>
160 </dependency>
161 <dependency>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500162 <groupId>com.google.guava</groupId>
163 <artifactId>guava</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500164 <scope>provided</scope>
165 </dependency>
166 </dependencies>
167</project>