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.5.0-SNAPSHOT</version>
10 <artifactId>logging-filter-parent</artifactId>
11 <packaging>pom</packaging>
14 <module>logging-filter-base</module>
15 <module>logging-filter-spring</module>
19 <format.skipValidate>false</format.skipValidate>
20 <format.skipExecute>true</format.skipExecute>
21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24 <dependencyManagement>
27 <groupId>javax.annotation</groupId>
28 <artifactId> javax.annotation-api</artifactId>
29 <version>1.2</version>
30 <scope>provided</scope>
33 <groupId>org.onap.logging-analytics</groupId>
34 <artifactId>logging-slf4j</artifactId>
35 <version>1.5.0-SNAPSHOT</version>
38 <groupId>javax.servlet</groupId>
39 <artifactId>javax.servlet-api</artifactId>
40 <version>3.1.0</version>
41 <scope>provided</scope>
44 <groupId>javax.ws.rs</groupId>
45 <artifactId>javax.ws.rs-api</artifactId>
46 <version>2.0.1</version>
47 <scope>provided</scope>
50 <groupId>org.slf4j</groupId>
51 <artifactId>slf4j-api</artifactId>
52 <version>1.7.25</version>
53 <scope>provided</scope>
56 <groupId>org.apache.logging.log4j</groupId>
57 <artifactId>log4j-slf4j-impl</artifactId>
58 <version>2.11.2</version>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <version>4.11</version>
68 <groupId>org.mockito</groupId>
69 <artifactId>mockito-core</artifactId>
70 <version>2.15.0</version>
74 </dependencyManagement>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>2.5.1</version>
83 <id>default-compile</id>
84 <phase>compile</phase>
91 <showWarnings>true</showWarnings>
93 <arg>-parameters</arg>
94 <arg>-Xlint:deprecation</arg>
99 <id>default-testCompile</id>
100 <phase>test-compile</phase>
102 <goal>testCompile</goal>
107 <showWarnings>true</showWarnings>
109 <arg>-parameters</arg>
110 <arg>-Xlint:deprecation</arg>
118 <showWarnings>true</showWarnings>
120 <arg>-parameters</arg>
121 <arg>-Xlint:deprecation</arg>
126 <groupId>org.codehaus.gmaven</groupId>
127 <artifactId>groovy-maven-plugin</artifactId>
128 <version>2.0</version>
130 <!-- set absolute base path from super pom -->
132 <id>find-basepath</id>
133 <phase>validate</phase>
141 log.info('## define projects super pom absolute path through basepath_marker')
142 String p = "basepath_marker";
145 def _max_child_poms = 0
146 while( _max_child_poms++ < 5 ) {
155 String basePath = f.getCanonicalPath();
156 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
157 project.properties['base-path'] = basePath.replace( '\\' , '/');
158 log.info(' - used base path = ' + project.properties['base-path'] );
160 log.error( 'Could not find basepath_marker marker file!' );
170 <groupId>net.revelc.code.formatter</groupId>
171 <artifactId>formatter-maven-plugin</artifactId>
172 <version>2.9.0</version>
180 <skip>${format.skipExecute}</skip>
181 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
190 <skip>${format.skipExecute}</skip>
191 <sourceDirectory>${project.basedir}</sourceDirectory>
192 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
194 <include>${project.basedir}/pom.xml</include>
199 <id>validate-java</id>
201 <goal>validate</goal>
204 <skip>${format.skipValidate}</skip>
205 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
209 <id>validate-poms</id>
211 <goal>validate</goal>
214 <skip>${format.skipValidate}</skip>
215 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
217 <include>${project.basedir}/pom.xml</include>
224 <groupId>com.fasterxml.jackson.core</groupId>
225 <artifactId>jackson-annotations</artifactId>
226 <version>2.9.8</version>
236 <format.skipValidate>true</format.skipValidate>
237 <format.skipExecute>false</format.skipExecute>