| 1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 |
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> |
| 4 |
<groupId>com.centreon.connector</groupId> |
| 5 |
<artifactId>centreon-as400</artifactId> |
| 6 |
<version>2.0.6</version> |
| 7 |
<name>Centreon-AS/400</name> |
| 8 |
<description>Connecteur AS/400</description> |
| 9 |
<packaging>jar</packaging> |
| 10 |
|
| 11 |
<properties> |
| 12 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 |
<spring.version>4.0.5.RELEASE</spring.version> |
| 14 |
<java.version>17</java.version> |
| 15 |
<log4j.version>2.17.1</log4j.version> |
| 16 |
<!-- Sonar --> |
| 17 |
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 18 |
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
| 19 |
<sonar.jacoco.itReportPath>${project.basedir}/../target/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 20 |
<sonar.language>java</sonar.language> |
| 21 |
</properties> |
| 22 |
|
| 23 |
<developers> |
| 24 |
<developer> |
| 25 |
<id>qgarnier</id> |
| 26 |
<name>Quentin GARNIER</name> |
| 27 |
<email>[email protected]</email> |
| 28 |
<organization>Centreon</organization> |
| 29 |
</developer> |
| 30 |
<developer> |
| 31 |
<id>jblamotte</id> |
| 32 |
<name>Jean-Baptiste LAMOTTE</name> |
| 33 |
<organization>Centreon</organization> |
| 34 |
</developer> |
| 35 |
</developers> |
| 36 |
|
| 37 |
<build> |
| 38 |
<plugins> |
| 39 |
<plugin> |
| 40 |
<groupId>org.apache.maven.plugins</groupId> |
| 41 |
<artifactId>maven-jar-plugin</artifactId> |
| 42 |
<version>2.3.1</version> |
| 43 |
</plugin> |
| 44 |
<plugin> |
| 45 |
<groupId>org.apache.maven.plugins</groupId> |
| 46 |
<artifactId>maven-assembly-plugin</artifactId> |
| 47 |
<version>2.2.1</version> |
| 48 |
<configuration> |
| 49 |
<descriptorRefs> |
| 50 |
<descriptorRef>jar-with-dependencies</descriptorRef> |
| 51 |
</descriptorRefs> |
| 52 |
|
| 53 |
<!-- <descriptors> <descriptor>jar-with-dependencies-packed.xml</descriptor> |
| 54 |
</descriptors> --> |
| 55 |
<archive> |
| 56 |
<manifest> |
| 57 |
<mainClass>com.centreon.connector.as400.Main</mainClass> |
| 58 |
<addClasspath>true</addClasspath> |
| 59 |
</manifest> |
| 60 |
</archive> |
| 61 |
</configuration> |
| 62 |
<executions> |
| 63 |
<execution> |
| 64 |
<phase>package</phase> |
| 65 |
<goals> |
| 66 |
<goal>single</goal> |
| 67 |
</goals> |
| 68 |
</execution> |
| 69 |
</executions> |
| 70 |
</plugin> |
| 71 |
<plugin> |
| 72 |
<groupId>org.apache.maven.plugins</groupId> |
| 73 |
<artifactId>maven-compiler-plugin</artifactId> |
| 74 |
<version>3.13.0</version> |
| 75 |
<configuration> |
| 76 |
<source>11</source> |
| 77 |
<target>11</target> |
| 78 |
</configuration> |
| 79 |
</plugin> |
| 80 |
|
| 81 |
<plugin> |
| 82 |
<groupId>org.fusesource.mvnplugins</groupId> |
| 83 |
<artifactId>maven-graph-plugin</artifactId> |
| 84 |
<version>1.35</version> |
| 85 |
</plugin> |
| 86 |
|
| 87 |
<plugin> |
| 88 |
<groupId>org.jacoco</groupId> |
| 89 |
<artifactId>jacoco-maven-plugin</artifactId> |
| 90 |
<configuration> |
| 91 |
<!-- <includes> --> |
| 92 |
<!-- <include>>com.centreon.**</include> --> |
| 93 |
<!-- </includes> --> |
| 94 |
<!-- <includes>com.centreon.*</includes> --> |
| 95 |
</configuration> |
| 96 |
<executions> |
| 97 |
<execution> |
| 98 |
<id>pre-test</id> |
| 99 |
<goals> |
| 100 |
<goal>prepare-agent</goal> |
| 101 |
</goals> |
| 102 |
</execution> |
| 103 |
<execution> |
| 104 |
<id>post-test</id> |
| 105 |
<phase>test</phase> |
| 106 |
<goals> |
| 107 |
<goal>report</goal> |
| 108 |
</goals> |
| 109 |
</execution> |
| 110 |
</executions> |
| 111 |
</plugin> |
| 112 |
</plugins> |
| 113 |
<pluginManagement> |
| 114 |
<plugins> |
| 115 |
<plugin> |
| 116 |
<groupId>org.jacoco</groupId> |
| 117 |
<artifactId>jacoco-maven-plugin</artifactId> |
| 118 |
<version>0.8.12</version> |
| 119 |
</plugin> |
| 120 |
<!--This plugin's configuration is used to store Eclipse m2e settings |
| 121 |
only. It has no influence on the Maven build itself. --> |
| 122 |
<plugin> |
| 123 |
<groupId>org.eclipse.m2e</groupId> |
| 124 |
<artifactId>lifecycle-mapping</artifactId> |
| 125 |
<version>1.0.0</version> |
| 126 |
<configuration> |
| 127 |
<lifecycleMappingMetadata> |
| 128 |
<pluginExecutions> |
| 129 |
<pluginExecution> |
| 130 |
<pluginExecutionFilter> |
| 131 |
<groupId>org.jacoco</groupId> |
| 132 |
<artifactId> |
| 133 |
jacoco-maven-plugin |
| 134 |
</artifactId> |
| 135 |
<versionRange> |
| 136 |
[0.8.2,) |
| 137 |
</versionRange> |
| 138 |
<goals> |
| 139 |
<goal>prepare-agent</goal> |
| 140 |
</goals> |
| 141 |
</pluginExecutionFilter> |
| 142 |
<action> |
| 143 |
<ignore></ignore> |
| 144 |
</action> |
| 145 |
</pluginExecution> |
| 146 |
</pluginExecutions> |
| 147 |
</lifecycleMappingMetadata> |
| 148 |
</configuration> |
| 149 |
</plugin> |
| 150 |
</plugins> |
| 151 |
</pluginManagement> |
| 152 |
</build> |
| 153 |
|
| 154 |
<dependencies> |
| 155 |
<dependency> |
| 156 |
<groupId>commons-cli</groupId> |
| 157 |
<artifactId>commons-cli</artifactId> |
| 158 |
<version>1.4</version> |
| 159 |
<type>jar</type> |
| 160 |
<scope>compile</scope> |
| 161 |
</dependency> |
| 162 |
<dependency> |
| 163 |
<groupId>org.apache.commons</groupId> |
| 164 |
<artifactId>commons-exec</artifactId> |
| 165 |
<version>1.3</version> |
| 166 |
<type>jar</type> |
| 167 |
<scope>compile</scope> |
| 168 |
</dependency> |
| 169 |
<dependency> |
| 170 |
<groupId>net.sf.jt400</groupId> |
| 171 |
<artifactId>jt400</artifactId> |
| 172 |
<version>10.7</version> |
| 173 |
<type>jar</type> |
| 174 |
<!-- <scope>compile</scope> --> |
| 175 |
</dependency> |
| 176 |
<dependency> |
| 177 |
<groupId>io.undertow</groupId> |
| 178 |
<artifactId>undertow-core</artifactId> |
| 179 |
<version>2.3.17.Final</version> |
| 180 |
</dependency> |
| 181 |
<dependency> |
| 182 |
<groupId>com.google.code.gson</groupId> |
| 183 |
<artifactId>gson</artifactId> |
| 184 |
<version>2.8.9</version> |
| 185 |
</dependency> |
| 186 |
|
| 187 |
<dependency> |
| 188 |
<groupId>org.apache.logging.log4j</groupId> |
| 189 |
<artifactId>log4j-api</artifactId> |
| 190 |
<version>${log4j.version}</version> |
| 191 |
</dependency> |
| 192 |
<dependency> |
| 193 |
<groupId>org.apache.logging.log4j</groupId> |
| 194 |
<artifactId>log4j-core</artifactId> |
| 195 |
<version>${log4j.version}</version> |
| 196 |
</dependency> |
| 197 |
|
| 198 |
<dependency> |
| 199 |
<groupId>junit</groupId> |
| 200 |
<artifactId>junit</artifactId> |
| 201 |
<version>4.13.1</version> |
| 202 |
<scope>test</scope> |
| 203 |
</dependency> |
| 204 |
|
| 205 |
<dependency> |
| 206 |
<groupId>org.mockito</groupId> |
| 207 |
<artifactId>mockito-core</artifactId> |
| 208 |
<version>5.13.0</version> |
| 209 |
<scope>test</scope> |
| 210 |
</dependency> |
| 211 |
|
| 212 |
|
| 213 |
</dependencies> |
| 214 |
|
| 215 |
<reporting> |
| 216 |
<plugins> |
| 217 |
<!-- Normally, we take off the dependency report, saves time. --> |
| 218 |
<plugin> |
| 219 |
<groupId>org.apache.maven.plugins</groupId> |
| 220 |
<artifactId>maven-project-info-reports-plugin</artifactId> |
| 221 |
<version>2.7</version> |
| 222 |
<configuration> |
| 223 |
<dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 224 |
</configuration> |
| 225 |
</plugin> |
| 226 |
|
| 227 |
<plugin> |
| 228 |
<groupId>org.codehaus.mojo</groupId> |
| 229 |
<artifactId>cobertura-maven-plugin</artifactId> |
| 230 |
<version>2.6</version> |
| 231 |
<configuration> |
| 232 |
<formats> |
| 233 |
<format>html</format> |
| 234 |
<format>xml</format> |
| 235 |
</formats> |
| 236 |
</configuration> |
| 237 |
</plugin> |
| 238 |
|
| 239 |
</plugins> |
| 240 |
</reporting> |
| 241 |
</project> |