blob: e2e0376234489ef49b4eb5b73dcda8871bad0410 [file] [log] [blame]
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -05001<!--
2 ============LICENSE_START=======================================================
3 ONAP
4 ================================================================================
Hockla, Ali (ah999m)25d3e432020-01-15 15:04:09 -06005 Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved.
shaoqiue55d2562019-04-02 12:33:04 +00006 Modifications Copyright (C) 2019 Nordix Foundation.
Ram Krishna Vermad0cbee12020-02-07 13:03:27 -05007 Modifications Copyright (C) 2020 Bell Canada.
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -05008 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
Jim Hahne6bf6012019-06-28 09:53:35 -040012
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050013 http://www.apache.org/licenses/LICENSE-2.0
Jim Hahne6bf6012019-06-28 09:53:35 -040014
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050015 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21 -->
22
liamfallonfd6a4f32018-10-31 16:54:18 +000023<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 -050024 <modelVersion>4.0.0</modelVersion>
25
26 <parent>
27 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
Ram Krishna Vermad0cbee12020-02-07 13:03:27 -050028 <artifactId>drools-applications-common</artifactId>
jhh83bd1672021-03-11 18:43:49 -060029 <version>1.9.0-SNAPSHOT</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050030 </parent>
31
32 <artifactId>feature-controlloop-trans</artifactId>
33
34 <description>
35 Loadable PDP-D feature module to track control loop transactions
36 </description>
37
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050038 <build>
39 <plugins>
40 <plugin>
41 <artifactId>maven-assembly-plugin</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050042 <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>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050060 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-dependency-plugin</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -050063 <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 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
72 <overWriteReleases>false</overWriteReleases>
73 <overWriteSnapshots>true</overWriteSnapshots>
74 <overWriteIfNewer>true</overWriteIfNewer>
75 <useRepositoryLayout>false</useRepositoryLayout>
76 <addParentPoms>false</addParentPoms>
77 <copyPom>false</copyPom>
78 <includeScope>runtime</includeScope>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
Pamela Dragosha24a9852018-09-21 20:08:11 -040083 <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:
94 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
95 with minor changes -->
96 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
97 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Hockla, Ali (ah999m)25d3e432020-01-15 15:04:09 -060098 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragosha24a9852018-09-21 20:08:11 -040099 <includeResources>true</includeResources>
100 <includeTestSourceDirectory>true</includeTestSourceDirectory>
101 <includeTestResources>true</includeTestResources>
102 <excludes>
103 </excludes>
104 <consoleOutput>true</consoleOutput>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400105 <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>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500118 </plugins>
119 </build>
120
121 <dependencies>
122 <dependency>
shaoqiue55d2562019-04-02 12:33:04 +0000123 <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500124 <artifactId>events</artifactId>
shaoqiue55d2562019-04-02 12:33:04 +0000125 <version>${policy.models.version}</version>
jhh50be5872019-04-14 21:41:14 -0500126 <scope>provided</scope>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500127 </dependency>
128 <dependency>
mmise87b2f72018-07-23 12:22:07 +0100129 <groupId>org.onap.policy.common</groupId>
130 <artifactId>policy-endpoints</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100131 <version>${version.policy.common}</version>
mmise87b2f72018-07-23 12:22:07 +0100132 <scope>provided</scope>
133 </dependency>
134 <dependency>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500135 <groupId>org.onap.policy.drools-pdp</groupId>
136 <artifactId>policy-management</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100137 <version>${version.policy.drools-pdp}</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500138 <scope>provided</scope>
139 </dependency>
140 <dependency>
141 <groupId>org.onap.policy.drools-pdp</groupId>
142 <artifactId>policy-utils</artifactId>
ramvermae2b3a9c2018-10-25 11:59:09 +0100143 <version>${version.policy.drools-pdp}</version>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500144 <scope>provided</scope>
145 </dependency>
146 <dependency>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500147 <groupId>com.google.guava</groupId>
148 <artifactId>guava</artifactId>
Jorge Hernandezc9f47ef2018-03-23 01:14:12 -0500149 <scope>provided</scope>
150 </dependency>
151 </dependencies>
152</project>