991e3b6c78044a6470764958eabc75f2ac0f5047
[dcaegen2/analytics/tca-gen2.git] / eelf-logger / eelf-logger-model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ================================================================================
4   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
5   ~ ================================================================================
6   ~ Licensed under the Apache License, Version 2.0 (the "License");
7   ~ you may not use this file except in compliance with the License.
8   ~ You may obtain a copy of the License at
9   ~
10   ~      http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~ Unless required by applicable law or agreed to in writing, software
13   ~ distributed under the License is distributed on an "AS IS" BASIS,
14   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   ~ See the License for the specific language governing permissions and
16   ~ limitations under the License.
17   ~ ============LICENSE_END=========================================================
18   ~
19   -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28                 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
29         <artifactId>eelf-logger</artifactId>
30         <version>3.0.0-SNAPSHOT</version>
31     </parent>
32
33     <artifactId>eelf-logger-model</artifactId>
34     <packaging>jar</packaging>
35
36
37     <!-- EELF LOGGER MODELS CONTAINS IMMUTABLE MODEL OBJECTS FOR VARIOUS EELF LOGGER INTERFACES -->
38     <name>EELF Logger Model</name>
39     <description>Contains immutable model objects for various EELF Logger interfaces</description>
40
41     <properties>
42         <main.basedir>${project.parent.basedir}</main.basedir>
43         <!-- SONAR SETTINGS : EXCLUDE TEST COVERAGE AS MODEL ONLY CONTAINS POJOs AND NO BUSINESS LOGIC-->
44         <sonar.coverage.exclusions>**/model/**</sonar.coverage.exclusions>
45     </properties>
46
47     <!-- NOTE: THIS MODULE MUST NOT HAVE ANY DEPENDENCY BESIDES ECOMP LOGGER API IN COMPILE SCOPE -->
48     <dependencies>
49
50         <!-- ECOMP LOGGER API -->
51         <dependency>
52             <groupId>${project.groupId}</groupId>
53             <artifactId>eelf-logger-api</artifactId>
54             <version>${project.version}</version>
55         </dependency>
56
57         <!-- LOMBOK IS USED FOR CODE GENERATION IN PROVIDED SCOPE (NOT IN COMPILE SCOPE) -->
58         <dependency>
59             <groupId>org.projectlombok</groupId>
60             <artifactId>lombok</artifactId>
61         </dependency>
62
63     </dependencies>
64
65     <build>
66         <sourceDirectory>${project.build.directory}/generated-sources/delombok</sourceDirectory>
67         <plugins>
68             <plugin>
69                 <groupId>org.projectlombok</groupId>
70                 <artifactId>lombok-maven-plugin</artifactId>
71             </plugin>
72         </plugins>
73     </build>
74
75
76
77 </project>