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 </dependencyManagement>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-compiler-plugin</artifactId>
73 <!-- Plugin to identify root path of the project -->
75 <groupId>org.commonjava.maven.plugins</groupId>
76 <artifactId>directory-maven-plugin</artifactId>
77 <version>0.2</version>
80 <phase>validate</phase>
83 <goal>highest-basedir</goal>
86 <property>baseDirPath</property>
92 <!-- Plugin to Generate/Validate Copyright License header -->
93 <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.20</version> <configuration> <processStartTag>============LICENSE_START=======================================================</processStartTag>
94 <sectionDelimiter>================================================================================</sectionDelimiter> <processEndTag>============LICENSE_END=========================================================</processEndTag>
95 <licenseName>apache_v2</licenseName> <inceptionYear>2019</inceptionYear> <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> <projectName>ONAP
96 - Logging</projectName> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <skipUpdateLicense>${format.skipExecute}</skipUpdateLicense> <skipCheckLicense>${format.skipValidate}</skipCheckLicense>
97 </configuration> <executions> <execution> <id>update-headers</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> <configuration> <canUpdateCopyright>true</canUpdateCopyright>
98 <canUpdateDescription>true</canUpdateDescription> <canUpdateLicense>true</canUpdateLicense> <emptyLineAfterHeader>true</emptyLineAfterHeader> </configuration> </execution> <execution>
99 <id>check-headers</id> <goals> <goal>check-file-header</goal> </goals> <phase>validate</phase> <configuration> <failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnMissingHeader>true</failOnMissingHeader>
100 </configuration> </execution> </executions> </plugin> -->
102 <!-- Plugin to Format/Validate Java Classes -->
104 <groupId>net.revelc.code.formatter</groupId>
105 <artifactId>formatter-maven-plugin</artifactId>
106 <version>2.10.0</version>
113 <phase>process-sources</phase>
115 <lineEnding>LF</lineEnding>
116 <skip>${format.skipExecute}</skip>
117 <sourceDirectory>${project.basedir}</sourceDirectory>
118 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
120 <include>src/**/*.java</include>
125 <id>validate-java</id>
127 <goal>validate</goal>
129 <phase>validate</phase>
131 <lineEnding>LF</lineEnding>
132 <skip>${format.skipValidate}</skip>
133 <sourceDirectory>${project.basedir}</sourceDirectory>
134 <configFile>${baseDirPath}/project-configs/code-tools/onap-java-format.xml</configFile>
136 <include>src/**/*.java</include>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-annotations</artifactId>
145 <version>2.9.8</version>
150 <!-- Plugin to Format/Validate POM Files -->
152 <groupId>org.codehaus.mojo</groupId>
153 <artifactId>tidy-maven-plugin</artifactId>
154 <version>1.1.0</version>
158 <phase>process-sources</phase>
163 <skip>${format.skipExecute}</skip>
167 <id>validate-pom</id>
168 <phase>validate</phase>
173 <skip>${format.skipValidate}</skip>
185 <format.skipValidate>true</format.skipValidate>
186 <format.skipExecute>false</format.skipExecute>