Bump drools-apps to 1.5.1-SNAPSHOT
[policy/drools-applications.git] / controlloop / common / feature-controlloop-trans / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP
4   ================================================================================
5   Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2019 Nordix Foundation.
7   ================================================================================
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
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   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
22 <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">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
27         <artifactId>common</artifactId>
28         <version>1.5.1-SNAPSHOT</version>
29     </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>
46                 <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>
64             <plugin>
65                 <groupId>org.apache.maven.plugins</groupId>
66                 <artifactId>maven-dependency-plugin</artifactId>
67                 <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>
87             <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 -->
102                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
103                             <includeResources>true</includeResources>
104                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
105                             <includeTestResources>true</includeTestResources>
106                             <excludes>
107                             </excludes>
108                             <consoleOutput>true</consoleOutput>
109                             <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>
122         </plugins>
123     </build>
124
125     <dependencies>
126         <dependency>
127             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
128             <artifactId>events</artifactId>
129             <version>${policy.models.version}</version>
130             <scope>provided</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.onap.policy.common</groupId>
134             <artifactId>policy-endpoints</artifactId>
135             <version>${version.policy.common}</version>
136             <scope>provided</scope>
137         </dependency>
138         <dependency>
139             <groupId>org.onap.policy.drools-pdp</groupId>
140             <artifactId>policy-management</artifactId>
141             <version>${version.policy.drools-pdp}</version>
142             <scope>provided</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.onap.policy.drools-pdp</groupId>
146             <artifactId>policy-utils</artifactId>
147             <version>${version.policy.drools-pdp}</version>
148             <scope>provided</scope>
149         </dependency>
150         <dependency>
151             <groupId>junit</groupId>
152             <artifactId>junit</artifactId>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.awaitility</groupId>
157             <artifactId>awaitility</artifactId>
158             <version>3.0.0</version>
159             <scope>test</scope>
160         </dependency>
161         <dependency>
162             <groupId>com.google.guava</groupId>
163             <artifactId>guava</artifactId>
164             <scope>provided</scope>
165         </dependency>
166     </dependencies>
167 </project>