1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 5 6 <modelVersion>4.0.0</modelVersion> 7 8 <groupId>org.slf4j</groupId> 9 <artifactId>slf4j-parent</artifactId> 10 <version>1.7.2</version> 11 12 <packaging>pom</packaging> 13 <name>SLF4J</name> 14 <description>Top SLF4J project pom.xml file</description> 15 <url>http://www.slf4j.org</url> 16 17 <organization> 18 <name>QOS.ch</name> 19 <url>http://www.qos.ch</url> 20 </organization> 21 <inceptionYear>2005</inceptionYear> 22 23 <licenses> 24 <license> 25 <name>MIT License</name> 26 <url>http://www.opensource.org/licenses/mit-license.php</url> 27 <distribution>repo</distribution> 28 </license> 29 </licenses> 30 31 <scm> 32 <url>https://github.com/ceki/slf4j</url> 33 <connection>git (a] github.com:ceki/slf4j.git</connection> 34 </scm> 35 36 <properties> 37 <slf4j.api.minimum.compatible.version>1.6.0</slf4j.api.minimum.compatible.version> 38 <cal10n.version>0.7.4</cal10n.version> 39 <log4j.version>1.2.17</log4j.version> 40 <logback.version>1.0.7</logback.version> 41 <junit.version>4.10</junit.version> 42 </properties> 43 44 <developers> 45 <developer> 46 <id>ceki</id> 47 <name>Ceki Gulcu</name> 48 <email>ceki (a] qos.ch</email> 49 </developer> 50 </developers> 51 52 <modules> 53 <module>slf4j-api</module> 54 <!--<module>slf4j-scala-api</module>--> 55 <module>slf4j-simple</module> 56 <module>slf4j-nop</module> 57 <module>slf4j-jdk14</module> 58 <module>slf4j-log4j12</module> 59 <module>slf4j-jcl</module> 60 <module>slf4j-ext</module> 61 <module>jcl-over-slf4j</module> 62 <module>log4j-over-slf4j</module> 63 <module>jul-to-slf4j</module> 64 <module>osgi-over-slf4j</module> 65 <module>integration</module> 66 <module>slf4j-site</module> 67 <module>slf4j-migrator</module> 68 </modules> 69 70 <dependencies> 71 <dependency> 72 <groupId>junit</groupId> 73 <artifactId>junit</artifactId> 74 <version>${junit.version}</version> 75 <scope>test</scope> 76 </dependency> 77 </dependencies> 78 79 80 <dependencyManagement> 81 <dependencies> 82 83 <dependency> 84 <groupId>org.slf4j</groupId> 85 <artifactId>slf4j-api</artifactId> 86 <version>${project.version}</version> 87 </dependency> 88 89 <dependency> 90 <groupId>org.slf4j</groupId> 91 <artifactId>slf4j-jdk14</artifactId> 92 <version>${project.version}</version> 93 </dependency> 94 95 <dependency> 96 <groupId>log4j</groupId> 97 <artifactId>log4j</artifactId> 98 <version>${log4j.version}</version> 99 </dependency> 100 101 <dependency> 102 <groupId>ch.qos.cal10n</groupId> 103 <artifactId>cal10n-api</artifactId> 104 <version>${cal10n.version}</version> 105 </dependency> 106 107 </dependencies> 108 </dependencyManagement> 109 110 111 <build> 112 <extensions> 113 <extension> 114 <groupId>org.apache.maven.wagon</groupId> 115 <artifactId>wagon-ssh</artifactId> 116 <version>2.0</version> 117 </extension> 118 </extensions> 119 120 <resources> 121 <resource> 122 <directory>src/main/resources</directory> 123 <filtering>true</filtering> 124 </resource> 125 </resources> 126 127 <plugins> 128 <plugin> 129 <groupId>org.apache.maven.plugins</groupId> 130 <artifactId>maven-compiler-plugin</artifactId> 131 <version>2.3.2</version> 132 <configuration> 133 <source>1.5</source> 134 <target>1.5</target> 135 </configuration> 136 </plugin> 137 138 <plugin> 139 <groupId>org.apache.maven.plugins</groupId> 140 <artifactId>maven-jar-plugin</artifactId> 141 <version>2.3.1</version> 142 </plugin> 143 144 145 <plugin> 146 <groupId>org.apache.maven.plugins</groupId> 147 <artifactId>maven-surefire-plugin</artifactId> 148 <version>2.10</version> 149 <configuration> 150 <forkMode>once</forkMode> 151 <reportFormat>plain</reportFormat> 152 <trimStackTrace>false</trimStackTrace> 153 <excludes> 154 <exclude>**/AllTest.java</exclude> 155 <exclude>**/PackageTest.java</exclude> 156 </excludes> 157 </configuration> 158 </plugin> 159 160 <plugin> 161 <groupId>org.apache.maven.plugins</groupId> 162 <artifactId>maven-source-plugin</artifactId> 163 <version>2.1.2</version> 164 <executions> 165 <execution> 166 <phase>package</phase> 167 <goals> 168 <goal>jar</goal> 169 </goals> 170 </execution> 171 </executions> 172 </plugin> 173 174 <plugin> 175 <groupId>org.apache.maven.plugins</groupId> 176 <artifactId>maven-assembly-plugin</artifactId> 177 <version>2.2</version> 178 <configuration> 179 <descriptors> 180 <descriptor>src/main/assembly/source.xml</descriptor> 181 </descriptors> 182 <finalName>slf4j-${project.version}</finalName> 183 <appendAssemblyId>false</appendAssemblyId> 184 <outputDirectory>target/site/dist/</outputDirectory> 185 </configuration> 186 </plugin> 187 188 <!-- as suggested in http://bugzilla.slf4j.org/show_bug.cgi?id=152 --> 189 <plugin> 190 <groupId>org.codehaus.mojo</groupId> 191 <artifactId>build-helper-maven-plugin</artifactId> 192 <version>1.7</version> 193 <executions> 194 <execution> 195 <id>parse-version</id> 196 <goals> 197 <goal>parse-version</goal> 198 </goals> 199 </execution> 200 </executions> 201 </plugin> 202 203 <!-- ====== site plugin ===== --> 204 <plugin> 205 <groupId>org.apache.maven.plugins</groupId> 206 <artifactId>maven-site-plugin</artifactId> 207 <version>3.0</version> 208 <configuration> 209 <reportPlugins> 210 <plugin> 211 <groupId>org.apache.maven.plugins</groupId> 212 <artifactId>maven-jxr-plugin</artifactId> 213 <version>2.3</version> 214 <configuration> 215 <aggregate>true</aggregate> 216 <javadocDir>target/site/apidocs/</javadocDir> 217 <linkJavadoc>true</linkJavadoc> 218 </configuration> 219 </plugin> 220 221 <plugin> 222 <groupId>org.apache.maven.plugins</groupId> 223 <artifactId>maven-javadoc-plugin</artifactId> 224 <version>2.8</version> 225 <configuration> 226 <!--<aggregate>true</aggregate>--> 227 <excludePackageNames>org.slf4j.migrator:org.slf4j.migrator.*</excludePackageNames> 228 <links> 229 <link> 230 http://java.sun.com/j2se/1.5.0/docs/api 231 </link> 232 </links> 233 <groups> 234 <group> 235 <title>SLF4J packages</title> 236 <packages>org.slf4j:org.slf4j.*</packages> 237 </group> 238 239 <group> 240 <title>SLF4J extensions</title> 241 <packages> 242 org.slf4j.cal10n:org.slf4j.profiler:org.slf4j.ext:org.slf4j.instrumentation:org.slf4j.agent 243 </packages> 244 </group> 245 246 <group> 247 <title>Jakarta Commons Logging packages</title> 248 <packages>org.apache.commons.*</packages> 249 </group> 250 251 <group> 252 <title>java.util.logging (JUL) to SLF4J bridge</title> 253 <packages>org.slf4j.bridge</packages> 254 </group> 255 256 <group> 257 <title>Apache log4j</title> 258 <packages>org.apache.log4j:org.apache.log4j.*</packages> 259 </group> 260 261 262 263 </groups> 264 </configuration> 265 </plugin> 266 267 </reportPlugins> 268 </configuration> 269 </plugin> 270 </plugins> 271 272 </build> 273 274 <profiles> 275 <profile> 276 <id>skipTests</id> 277 <properties> 278 <maven.test.skip>true</maven.test.skip> 279 </properties> 280 </profile> 281 282 <profile> 283 <id>javadocjar</id> 284 <build> 285 <plugins> 286 <plugin> 287 <groupId>org.apache.maven.plugins</groupId> 288 <artifactId>maven-javadoc-plugin</artifactId> 289 <executions> 290 <execution> 291 <id>attach-javadocs</id> 292 <goals> 293 <goal>jar</goal> 294 </goals> 295 </execution> 296 </executions> 297 </plugin> 298 </plugins> 299 </build> 300 </profile> 301 302 <profile> 303 <id>license</id> 304 <build> 305 <plugins> 306 <plugin> 307 <groupId>com.google.code.maven-license-plugin</groupId> 308 <artifactId>maven-license-plugin</artifactId> 309 <configuration> 310 <header>src/main/licenseHeader.txt</header> 311 <quiet>false</quiet> 312 <failIfMissing>true</failIfMissing> 313 <aggregate>true</aggregate> 314 <includes> 315 <include>src/**/*.java</include> 316 </includes> 317 <useDefaultExcludes>true</useDefaultExcludes> 318 <useDefaultMapping>true</useDefaultMapping> 319 <properties> 320 <year>1999</year> 321 </properties> 322 <headerDefinitions> 323 <headerDefinition>src/main/javadocHeaders.xml</headerDefinition> 324 </headerDefinitions> 325 </configuration> 326 </plugin> 327 </plugins> 328 </build> 329 330 <pluginRepositories> 331 <pluginRepository> 332 <id>mc-release</id> 333 <name>Local Maven repository of releases</name> 334 <url>http://mc-repo.googlecode.com/svn/maven2/releases</url> 335 <snapshots> 336 <enabled>false</enabled> 337 </snapshots> 338 <releases> 339 <enabled>true</enabled> 340 </releases> 341 </pluginRepository> 342 </pluginRepositories> 343 </profile> 344 345 <profile> 346 <id>sign-artifacts</id> 347 <build> 348 <plugins> 349 <plugin> 350 <groupId>org.apache.maven.plugins</groupId> 351 <artifactId>maven-gpg-plugin</artifactId> 352 <version>1.1</version> 353 <executions> 354 <execution> 355 <id>sign-artifacts</id> 356 <phase>verify</phase> 357 <goals> 358 <goal>sign</goal> 359 </goals> 360 </execution> 361 </executions> 362 </plugin> 363 </plugins> 364 </build> 365 </profile> 366 367 </profiles> 368 369 <pluginRepositories> 370 <pluginRepository> 371 <id>apache.snapshots</id> 372 <name>Apache Snapshot Plugin Repository</name> 373 <url>http://people.apache.org/repo/m2-snapshot-repository</url> 374 <releases> 375 <enabled>false</enabled> 376 </releases> 377 <snapshots> 378 <enabled>true</enabled> 379 </snapshots> 380 </pluginRepository> 381 </pluginRepositories> 382 383 <distributionManagement> 384 <site> 385 <id>pixie</id> 386 <url>scp://pixie.qos.ch/var/www/www.slf4j.org/htdocs/</url> 387 </site> 388 389 <repository> 390 <!--<id>pixie</id>--> 391 <!--<url>scp://pixie.qos.ch/var/mvnrepo/</url>--> 392 <id>sonatype-nexus-staging</id> 393 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 394 </repository> 395 396 </distributionManagement> 397 398 </project> 399