Merge "Fixing Sonar bugs and code smells"
[policy/apex-pdp.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4   ================================================================================
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16
17   SPDX-License-Identifier: Apache-2.0
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"
22     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     <parent>
25         <groupId>org.onap.policy.parent</groupId>
26         <artifactId>integration</artifactId>
27         <version>2.0.0-SNAPSHOT</version>
28         <relativePath />
29     </parent>
30
31     <groupId>org.onap.policy.apex-pdp</groupId>
32     <artifactId>apex-pdp</artifactId>
33     <version>2.0.0-SNAPSHOT</version>
34     <packaging>pom</packaging>
35
36     <name>policy-apex-pdp</name>
37     <description>Packaging for all the Apex components, the engine, the WAR service, and the editor.</description>
38
39     <properties>
40         <encoding>UTF-8</encoding>
41         <file.encoding>UTF-8</file.encoding>
42         <version.derby>10.13.1.1</version.derby>
43     </properties>
44
45     <distributionManagement>
46         <site>
47             <id>ecomp-site</id>
48             <url>dav:${onap.nexus.url}${sitePath}</url>
49         </site>
50     </distributionManagement>
51
52     <dependencies>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>org.slf4j</groupId>
60             <artifactId>slf4j-ext</artifactId>
61             <version>1.7.25</version>
62         </dependency>
63         <dependency>
64             <groupId>org.slf4j</groupId>
65             <artifactId>slf4j-api</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>ch.qos.logback</groupId>
69             <artifactId>logback-core</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>ch.qos.logback</groupId>
73             <artifactId>logback-classic</artifactId>
74         </dependency>
75     </dependencies>
76
77
78     <profiles>
79         <profile>
80             <!--This profile is used to store Eclipse m2e settings only. It has no 
81                 influence on the Maven build itself. -->
82             <id>only-eclipse</id>
83             <activation>
84                 <property>
85                     <name>m2e.version</name>
86                 </property>
87             </activation>
88             <build>
89                 <pluginManagement>
90                     <plugins>
91                         <plugin>
92                             <groupId>org.eclipse.m2e</groupId>
93                             <artifactId>lifecycle-mapping</artifactId>
94                             <version>1.0.0</version>
95                             <configuration>
96                                 <lifecycleMappingMetadata>
97                                     <pluginExecutions>
98                                         <pluginExecution>
99                                             <pluginExecutionFilter>
100                                                 <groupId>org.commonjava.maven.plugins</groupId>
101                                                 <artifactId>directory-maven-plugin</artifactId>
102                                                 <versionRange>0.2</versionRange>
103                                                 <goals>
104                                                     <goal>directory-of</goal>
105                                                 </goals>
106                                             </pluginExecutionFilter>
107                                             <action>
108                                                 <execute />
109                                             </action>
110                                         </pluginExecution>
111                                     </pluginExecutions>
112                                 </lifecycleMappingMetadata>
113                             </configuration>
114                         </plugin>
115                     </plugins>
116                 </pluginManagement>
117             </build>
118         </profile>
119     </profiles>
120
121
122     <modules>
123         <module>model</module>
124         <module>context</module>
125     </modules>
126 </project>