1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.logging-analytics</groupId>
7 <artifactId>logging-reference</artifactId>
8 <version>1.6.5-SNAPSHOT</version>
11 <artifactId>logging-filter-parent</artifactId>
12 <packaging>pom</packaging>
14 <name>logging-analytics :: ${project.artifactId}</name>
17 <module>logging-filter-base</module>
18 <module>logging-filter-spring</module>
22 <format.skipValidate>false</format.skipValidate>
23 <format.skipExecute>true</format.skipExecute>
24 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 <dependencyManagement>
30 <groupId>javax.annotation</groupId>
31 <artifactId>javax.annotation-api</artifactId>
32 <version>1.2</version>
33 <scope>provided</scope>
36 <groupId>org.onap.logging-analytics</groupId>
37 <artifactId>logging-slf4j</artifactId>
38 <version>${project.version}</version>
41 <groupId>javax.servlet</groupId>
42 <artifactId>javax.servlet-api</artifactId>
43 <version>3.1.0</version>
44 <scope>provided</scope>
47 <groupId>javax.ws.rs</groupId>
48 <artifactId>javax.ws.rs-api</artifactId>
49 <version>2.0.1</version>
50 <scope>provided</scope>
53 <groupId>org.slf4j</groupId>
54 <artifactId>slf4j-api</artifactId>
55 <version>1.7.25</version>
56 <scope>provided</scope>
59 <groupId>org.apache.logging.log4j</groupId>
60 <artifactId>log4j-slf4j-impl</artifactId>
61 <version>2.11.2</version>
65 <groupId>junit</groupId>
66 <artifactId>junit</artifactId>
67 <version>4.11</version>
71 <groupId>org.mockito</groupId>
72 <artifactId>mockito-core</artifactId>
73 <version>2.15.0</version>
77 </dependencyManagement>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-compiler-plugin</artifactId>
85 <!-- Plugin to identify root path of the project -->
87 <groupId>org.commonjava.maven.plugins</groupId>
88 <artifactId>directory-maven-plugin</artifactId>
89 <version>0.2</version>
92 <phase>validate</phase>
95 <goal>highest-basedir</goal>
98 <property>baseDirPath</property>
104 <!-- Plugin to Generate/Validate Copyright License header -->
105 <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.20</version> <configuration> <processStartTag>============LICENSE_START=======================================================</processStartTag>
106 <sectionDelimiter>================================================================================</sectionDelimiter> <processEndTag>============LICENSE_END=========================================================</processEndTag>
107 <licenseName>apache_v2</licenseName> <inceptionYear>2019</inceptionYear> <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> <projectName>ONAP
108 - Logging</projectName> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <skipUpdateLicense>${format.skipExecute}</skipUpdateLicense> <skipCheckLicense>${format.skipValidate}</skipCheckLicense>
109 </configuration> <executions> <execution> <id>update-headers</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> <configuration> <canUpdateCopyright>true</canUpdateCopyright>
110 <canUpdateDescription>true</canUpdateDescription> <canUpdateLicense>true</canUpdateLicense> <emptyLineAfterHeader>true</emptyLineAfterHeader> </configuration> </execution> <execution>
111 <id>check-headers</id> <goals> <goal>check-file-header</goal> </goals> <phase>validate</phase> <configuration> <failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnMissingHeader>true</failOnMissingHeader>
112 </configuration> </execution> </executions> </plugin> -->
114 <!-- Plugin to Format/Validate Java Classes -->
116 <groupId>net.revelc.code.formatter</groupId>
117 <artifactId>formatter-maven-plugin</artifactId>
118 <version>2.10.0</version>
125 <phase>process-sources</phase>
127 <lineEnding>LF</lineEnding>
128 <skip>${format.skipExecute}</skip>
129 <sourceDirectory>${project.basedir}</sourceDirectory>
130 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
132 <include>src/**/*.java</include>
137 <id>validate-java</id>
139 <goal>validate</goal>
141 <phase>validate</phase>
143 <lineEnding>LF</lineEnding>
144 <skip>${format.skipValidate}</skip>
145 <sourceDirectory>${project.basedir}</sourceDirectory>
146 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
148 <include>src/**/*.java</include>
155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-annotations</artifactId>
157 <version>2.9.8</version>
162 <!-- Plugin to Format/Validate POM Files -->
164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>tidy-maven-plugin</artifactId>
166 <version>1.1.0</version>
170 <phase>process-sources</phase>
175 <skip>${format.skipExecute}</skip>
179 <id>validate-pom</id>
180 <phase>validate</phase>
185 <skip>${format.skipValidate}</skip>
197 <format.skipValidate>true</format.skipValidate>
198 <format.skipExecute>false</format.skipExecute>