Merge "Miscellaneous code clean up"
[policy/drools-pdp.git] / feature-mdc-filters / pom.xml
1 <!--\r
2   ============LICENSE_START=======================================================\r
3   feature-mdc-filters\r
4   ================================================================================\r
5   Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.\r
6   ================================================================================\r
7   Licensed under the Apache License, Version 2.0 (the "License");\r
8   you may not use this file except in compliance with the License.\r
9   You may obtain a copy of the License at\r
10 \r
11        http://www.apache.org/licenses/LICENSE-2.0\r
12 \r
13   Unless required by applicable law or agreed to in writing, software\r
14   distributed under the License is distributed on an "AS IS" BASIS,\r
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16   See the License for the specific language governing permissions and\r
17   limitations under the License.\r
18   ============LICENSE_END=========================================================\r
19   -->\r
20 \r
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
23     <modelVersion>4.0.0</modelVersion>\r
24     <parent>\r
25         <artifactId>drools-pdp</artifactId>\r
26         <groupId>org.onap.policy.drools-pdp</groupId>\r
27         <version>1.6.0-SNAPSHOT</version>\r
28     </parent>\r
29 \r
30     <artifactId>feature-mdc-filters</artifactId>\r
31 \r
32     <name>feature-mdc-filters</name>\r
33     <description>Loadable module that marks key fields in messages through logback mdc.</description>\r
34 \r
35     <properties>\r
36         <maven.compiler.source>1.8</maven.compiler.source>\r
37         <maven.compiler.target>1.8</maven.compiler.target>\r
38     </properties>\r
39 \r
40     <build>\r
41         <plugins>\r
42             <plugin>\r
43                 <artifactId>maven-assembly-plugin</artifactId>\r
44                 <executions>\r
45                     <execution>\r
46                         <id>zipfile</id>\r
47                         <goals>\r
48                             <goal>single</goal>\r
49                         </goals>\r
50                         <phase>package</phase>\r
51                         <configuration>\r
52                             <attach>true</attach>\r
53                             <finalName>${project.artifactId}-${project.version}</finalName>\r
54                             <descriptors>\r
55                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>\r
56                             </descriptors>\r
57                             <appendAssemblyId>false</appendAssemblyId>\r
58                         </configuration>\r
59                     </execution>\r
60                 </executions>\r
61             </plugin>\r
62             <plugin>\r
63                 <groupId>org.apache.maven.plugins</groupId>\r
64                 <artifactId>maven-dependency-plugin</artifactId>\r
65                 <executions>\r
66                     <execution>\r
67                         <id>copy-dependencies</id>\r
68                         <goals>\r
69                             <goal>copy-dependencies</goal>\r
70                         </goals>\r
71                         <phase>prepare-package</phase>\r
72                         <configuration>\r
73                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>\r
74                             <overWriteReleases>false</overWriteReleases>\r
75                             <overWriteSnapshots>true</overWriteSnapshots>\r
76                             <overWriteIfNewer>true</overWriteIfNewer>\r
77                             <useRepositoryLayout>false</useRepositoryLayout>\r
78                             <addParentPoms>false</addParentPoms>\r
79                             <copyPom>false</copyPom>\r
80                             <includeScope>runtime</includeScope>\r
81                             <excludeTransitive>true</excludeTransitive>\r
82                         </configuration>\r
83                     </execution>\r
84                 </executions>\r
85             </plugin>\r
86         </plugins>\r
87     </build>\r
88 \r
89     <dependencies>\r
90 \r
91         <dependency>\r
92             <groupId>org.onap.policy.common</groupId>\r
93             <artifactId>policy-endpoints</artifactId>\r
94             <version>${policy.common.version}</version>\r
95             <scope>provided</scope>\r
96         </dependency>\r
97 \r
98         <dependency>\r
99             <groupId>org.onap.policy.drools-pdp</groupId>\r
100             <artifactId>policy-management</artifactId>\r
101             <version>${project.version}</version>\r
102             <scope>provided</scope>\r
103         </dependency>\r
104 \r
105         <dependency>\r
106             <groupId>org.mockito</groupId>\r
107             <artifactId>mockito-core</artifactId>\r
108             <version>2.13.0</version>\r
109             <scope>test</scope>\r
110         </dependency>\r
111 \r
112         <dependency>\r
113             <groupId>org.assertj</groupId>\r
114             <artifactId>assertj-core</artifactId>\r
115             <scope>test</scope>\r
116         </dependency>\r
117 \r
118         <dependency>\r
119             <groupId>junit</groupId>\r
120             <artifactId>junit</artifactId>\r
121             <scope>test</scope>\r
122         </dependency>\r
123 \r
124     </dependencies>\r
125 </project>\r