Merge "Upgrade xacml 1.0.2"
[policy/drools-applications.git] / controlloop / common / feature-controlloop-trans / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP
4   ================================================================================
5   Copyright (C) 2018 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                             <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
108                             <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>
128             <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
129             <artifactId>events</artifactId>
130             <version>${project.version}</version>
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>com.google.guava</groupId>
157             <artifactId>guava</artifactId>
158             <scope>provided</scope>
159         </dependency>
160     </dependencies>
161 </project>