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.7-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>org.aspectj</groupId>
31 <artifactId>aspectjrt</artifactId>
32 <version>1.9.5</version>
35 <groupId>javax.annotation</groupId>
36 <artifactId>javax.annotation-api</artifactId>
37 <version>1.2</version>
38 <scope>provided</scope>
41 <groupId>org.onap.logging-analytics</groupId>
42 <artifactId>logging-slf4j</artifactId>
43 <version>${project.version}</version>
46 <groupId>javax.servlet</groupId>
47 <artifactId>javax.servlet-api</artifactId>
48 <version>3.1.0</version>
49 <scope>provided</scope>
52 <groupId>javax.ws.rs</groupId>
53 <artifactId>javax.ws.rs-api</artifactId>
54 <version>2.0.1</version>
55 <scope>provided</scope>
58 <groupId>org.slf4j</groupId>
59 <artifactId>slf4j-api</artifactId>
60 <version>1.7.25</version>
61 <scope>provided</scope>
64 <groupId>org.apache.logging.log4j</groupId>
65 <artifactId>log4j-slf4j-impl</artifactId>
66 <version>2.11.2</version>
70 </dependencyManagement>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-compiler-plugin</artifactId>
78 <!-- Plugin to identify root path of the project -->
80 <groupId>org.commonjava.maven.plugins</groupId>
81 <artifactId>directory-maven-plugin</artifactId>
82 <version>0.2</version>
85 <phase>validate</phase>
88 <goal>highest-basedir</goal>
91 <property>baseDirPath</property>
97 <!-- Plugin to Generate/Validate Copyright License header -->
98 <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.20</version> <configuration> <processStartTag>============LICENSE_START=======================================================</processStartTag>
99 <sectionDelimiter>================================================================================</sectionDelimiter> <processEndTag>============LICENSE_END=========================================================</processEndTag>
100 <licenseName>apache_v2</licenseName> <inceptionYear>2019</inceptionYear> <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> <projectName>ONAP
101 - Logging</projectName> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <skipUpdateLicense>${format.skipExecute}</skipUpdateLicense> <skipCheckLicense>${format.skipValidate}</skipCheckLicense>
102 </configuration> <executions> <execution> <id>update-headers</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> <configuration> <canUpdateCopyright>true</canUpdateCopyright>
103 <canUpdateDescription>true</canUpdateDescription> <canUpdateLicense>true</canUpdateLicense> <emptyLineAfterHeader>true</emptyLineAfterHeader> </configuration> </execution> <execution>
104 <id>check-headers</id> <goals> <goal>check-file-header</goal> </goals> <phase>validate</phase> <configuration> <failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnMissingHeader>true</failOnMissingHeader>
105 </configuration> </execution> </executions> </plugin> -->
107 <!-- Plugin to Format/Validate Java Classes -->
109 <groupId>net.revelc.code.formatter</groupId>
110 <artifactId>formatter-maven-plugin</artifactId>
111 <version>2.10.0</version>
118 <phase>process-sources</phase>
120 <lineEnding>LF</lineEnding>
121 <skip>${format.skipExecute}</skip>
122 <sourceDirectory>${project.basedir}</sourceDirectory>
123 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
125 <include>src/**/*.java</include>
130 <id>validate-java</id>
132 <goal>validate</goal>
134 <phase>validate</phase>
136 <lineEnding>LF</lineEnding>
137 <skip>${format.skipValidate}</skip>
138 <sourceDirectory>${project.basedir}</sourceDirectory>
139 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
141 <include>src/**/*.java</include>
148 <groupId>com.fasterxml.jackson.core</groupId>
149 <artifactId>jackson-annotations</artifactId>
150 <version>2.9.8</version>
155 <!-- Plugin to Format/Validate POM Files -->
157 <groupId>org.codehaus.mojo</groupId>
158 <artifactId>tidy-maven-plugin</artifactId>
159 <version>1.1.0</version>
163 <phase>process-sources</phase>
168 <skip>${format.skipExecute}</skip>
172 <id>validate-pom</id>
173 <phase>validate</phase>
178 <skip>${format.skipValidate}</skip>
190 <format.skipValidate>true</format.skipValidate>
191 <format.skipExecute>false</format.skipExecute>