Merge "Remove model-impl/vfc checkstyle suppressions"
[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   ================================================================================
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
21 <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">
22     <modelVersion>4.0.0</modelVersion>
23
24     <parent>
25         <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
26         <artifactId>common</artifactId>
27         <version>1.4.0-SNAPSHOT</version>
28     </parent>
29
30     <artifactId>feature-controlloop-trans</artifactId>
31
32     <description>
33         Loadable PDP-D feature module to track control loop transactions
34     </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                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
75                             <overWriteReleases>false</overWriteReleases>
76                             <overWriteSnapshots>true</overWriteSnapshots>
77                             <overWriteIfNewer>true</overWriteIfNewer>
78                             <useRepositoryLayout>false</useRepositoryLayout>
79                             <addParentPoms>false</addParentPoms>
80                             <copyPom>false</copyPom>
81                             <includeScope>runtime</includeScope>
82                         </configuration>
83                     </execution>
84                 </executions>
85             </plugin>
86             <plugin>
87                 <artifactId>maven-checkstyle-plugin</artifactId>
88                 <executions>
89                     <execution>
90                         <id>onap-java-style</id>
91                         <goals>
92                             <goal>check</goal>
93                         </goals>
94                         <phase>process-sources</phase>
95                         <configuration>
96                             <!-- Use Google Java Style Guide:
97                             https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
98                             with minor changes -->
99                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
100                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
101                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
102                             <includeResources>true</includeResources>
103                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
104                             <includeTestResources>true</includeTestResources>
105                             <excludes>
106                             </excludes>
107                             <consoleOutput>true</consoleOutput>
108                             <failsOnViolation>true</failsOnViolation>
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.drools-applications.controlloop.common.model-impl</groupId>
128             <artifactId>events</artifactId>
129             <version>${project.version}</version>
130         </dependency>
131         <dependency>
132             <groupId>org.onap.policy.common</groupId>
133             <artifactId>policy-endpoints</artifactId>
134             <version>${version.policy.common}</version>
135             <scope>provided</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.onap.policy.drools-pdp</groupId>
139             <artifactId>policy-management</artifactId>
140             <version>${version.policy.drools-pdp}</version>
141             <scope>provided</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.onap.policy.drools-pdp</groupId>
145             <artifactId>policy-utils</artifactId>
146             <version>${version.policy.drools-pdp}</version>
147             <scope>provided</scope>
148         </dependency>
149         <dependency>
150             <groupId>junit</groupId>
151             <artifactId>junit</artifactId>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>com.google.guava</groupId>
156             <artifactId>guava</artifactId>
157             <scope>provided</scope>
158         </dependency>
159     </dependencies>
160 </project>