blob: d3bacfaba0048783791472fc974a9bfe791bb8c8 [file] [log] [blame]
Ceki Gulcu83412492006-09-05 20:48:47 +00001<?xml version="1.0" encoding="UTF-8"?>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +02002<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">
Ceki Gulcu83412492006-09-05 20:48:47 +00005
Ceki Gulcu752e2cf2011-10-17 23:30:48 +02006 <modelVersion>4.0.0</modelVersion>
Ceki Gulcu83412492006-09-05 20:48:47 +00007
Ceki Gulcu752e2cf2011-10-17 23:30:48 +02008 <groupId>org.slf4j</groupId>
9 <artifactId>slf4j-parent</artifactId>
Ceki Gulcu79e1b892012-06-03 23:29:09 +020010 <version>1.6.5</version>
Ceki Gulcua0a881b2006-09-11 22:08:20 +000011
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020012 <packaging>pom</packaging>
13 <name>SLF4J</name>
Ceki Gulcud8b43cb2012-05-08 18:47:02 +020014 <description>Top SLF4J project pom.xml file</description>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020015 <url>http://www.slf4j.org</url>
Ceki Gulcu83412492006-09-05 20:48:47 +000016
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020017 <organization>
18 <name>QOS.ch</name>
19 <url>http://www.qos.ch</url>
20 </organization>
21 <inceptionYear>2005</inceptionYear>
Ceki Gulcu83412492006-09-05 20:48:47 +000022
Ceki Gulcu1e3aadf2009-08-24 23:46:55 +020023 <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
Ceki Gulcud8b43cb2012-05-08 18:47:02 +020031 <scm>
32 <url>https://github.com/ceki/slf4j</url>
33 <connection>git@github.com:ceki/slf4j.git</connection>
34 </scm>
35
Ceki Gulcu84f0f6b2007-02-22 19:15:56 +000036 <properties>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020037 <slf4j.api.minimum.compatible.version>1.6.0
38 </slf4j.api.minimum.compatible.version>
Ceki Gulcu86776ff2010-07-05 19:55:43 +020039 <cal10n.version>0.7.4</cal10n.version>
Ceki Gulcu79e1b892012-06-03 23:29:09 +020040 <log4j.version>1.2.17</log4j.version>
41 <logback.version>1.0.4</logback.version>
Ceki Gulcu84f0f6b2007-02-22 19:15:56 +000042 </properties>
43
Ceki Gulcud8b43cb2012-05-08 18:47:02 +020044 <developers>
45 <developer>
46 <id>ceki</id>
47 <name>Ceki Gulcu</name>
48 <email>ceki@qos.ch</email>
49 </developer>
50 </developers>
Ceki Gulcue967f512009-10-28 18:49:56 +010051
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020052 <modules>
53 <module>slf4j-api</module>
Ceki Gulcuced19de2011-08-15 18:57:38 +020054 <!--<module>slf4j-scala-api</module>-->
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020055 <module>slf4j-simple</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000056 <module>slf4j-nop</module>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020057 <module>slf4j-jdk14</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000058 <module>slf4j-log4j12</module>
59 <module>slf4j-jcl</module>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020060 <module>slf4j-ext</module>
Ceki Gulcu87b72422008-06-03 21:18:51 +000061 <module>jcl-over-slf4j</module>
Ceki Gulcu14797602007-07-09 20:24:02 +000062 <module>log4j-over-slf4j</module>
Ceki Gulcu78f138e2008-05-28 20:28:49 +000063 <module>jul-to-slf4j</module>
Ceki Gulcuecfb1b52008-10-03 15:44:19 +000064 <module>integration</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000065 <module>slf4j-site</module>
Ceki Gulcu5e411702008-02-21 19:06:30 +000066 <module>slf4j-migrator</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000067 </modules>
68
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020069 <dependencies>
Ceki Gulcu83412492006-09-05 20:48:47 +000070 <dependency>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 <version>3.8.1</version>
74 <scope>test</scope>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020075 </dependency>
76 </dependencies>
Ceki Gulcu55a650f2006-11-04 18:35:32 +000077
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020078
79 <dependencyManagement>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000080 <dependencies>
81
82 <dependency>
Ceki Gulcu053a98b2008-08-02 19:24:58 +000083 <groupId>org.slf4j</groupId>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000084 <artifactId>slf4j-api</artifactId>
85 <version>${project.version}</version>
86 </dependency>
87
88 <dependency>
Ceki Gulcu060c6482009-04-17 16:43:29 +000089 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-jdk14</artifactId>
91 <version>${project.version}</version>
92 </dependency>
93
94 <dependency>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000095 <groupId>log4j</groupId>
96 <artifactId>log4j</artifactId>
Ceki Gulcu1db99e32010-06-30 16:01:09 +020097 <version>${log4j.version}</version>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000098 </dependency>
99
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200100 <dependency>
101 <groupId>ch.qos.cal10n</groupId>
102 <artifactId>cal10n-api</artifactId>
103 <version>${cal10n.version}</version>
104 </dependency>
Ceki Gulcu50f843f2009-09-01 19:48:11 +0200105
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200106 </dependencies>
107 </dependencyManagement>
Ceki Gulcu2a40c062007-05-18 20:57:38 +0000108
Ceki Gulcu83412492006-09-05 20:48:47 +0000109
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200110 <build>
Ceki Gulcu38915da2011-10-31 23:51:10 +0100111 <extensions>
112 <extension>
113 <groupId>org.apache.maven.wagon</groupId>
114 <artifactId>wagon-ssh</artifactId>
115 <version>2.0</version>
116 </extension>
117 </extensions>
118
Ceki Gulcua1149da2007-08-20 18:10:22 +0000119 <resources>
120 <resource>
121 <directory>src/main/resources</directory>
122 <filtering>true</filtering>
123 </resource>
124 </resources>
Ceki Gulcu738eab62007-08-20 21:27:47 +0000125
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200126 <plugins>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-compiler-plugin</artifactId>
130 <version>2.3.2</version>
131 <configuration>
132 <source>1.3</source>
133 <target>1.3</target>
134 </configuration>
135 </plugin>
Ceki Gulcu83412492006-09-05 20:48:47 +0000136
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-jar-plugin</artifactId>
140 <version>2.3.1</version>
141 </plugin>
142
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-surefire-plugin</artifactId>
147 <version>2.10</version>
148 <configuration>
149 <forkMode>once</forkMode>
150 <reportFormat>plain</reportFormat>
151 <trimStackTrace>false</trimStackTrace>
152 <excludes>
153 <exclude>**/AllTest.java</exclude>
154 <exclude>**/PackageTest.java</exclude>
155 </excludes>
156 </configuration>
157 </plugin>
158
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
Ceki Gulcu83412492006-09-05 20:48:47 +0000161 <artifactId>maven-source-plugin</artifactId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200162 <version>2.1.2</version>
Ceki Gulcu83412492006-09-05 20:48:47 +0000163 <executions>
164 <execution>
165 <phase>package</phase>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200166 <goals>
Ceki Gulcu83412492006-09-05 20:48:47 +0000167 <goal>jar</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
172
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200175 <artifactId>maven-assembly-plugin</artifactId>
176 <version>2.2</version>
177 <configuration>
178 <descriptors>
179 <descriptor>src/main/assembly/source.xml</descriptor>
180 </descriptors>
181 <finalName>slf4j-${project.version}</finalName>
182 <appendAssemblyId>false</appendAssemblyId>
183 <outputDirectory>target/site/dist/</outputDirectory>
184 </configuration>
185 </plugin>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100186
187 <!-- as suggested in http://bugzilla.slf4j.org/show_bug.cgi?id=152 -->
188 <plugin>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>build-helper-maven-plugin</artifactId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200191 <version>1.7</version>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100192 <executions>
193 <execution>
194 <id>parse-version</id>
Ceki Gulcu38915da2011-10-31 23:51:10 +0100195 <goals>
196 <goal>parse-version</goal>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100197 </goals>
198 </execution>
199 </executions>
200 </plugin>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200201
Ceki Gulcu38915da2011-10-31 23:51:10 +0100202 <!-- ====== site plugin ===== -->
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-site-plugin</artifactId>
206 <version>3.0</version>
207 <configuration>
208 <reportPlugins>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-jxr-plugin</artifactId>
212 <version>2.3</version>
213 <configuration>
214 <aggregate>true</aggregate>
215 <javadocDir>target/site/apidocs/</javadocDir>
216 <linkJavadoc>true</linkJavadoc>
217 </configuration>
218 </plugin>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-javadoc-plugin</artifactId>
222 <version>2.8</version>
223 <configuration>
224 <aggregate>true</aggregate>
225 <excludePackageNames>org.slf4j.migrator:org.slf4j.migrator.*
226 </excludePackageNames>
227 <links>
228 <link>
229 http://java.sun.com/j2se/1.5.0/docs/api
230 </link>
231 </links>
232 <groups>
233 <group>
234 <title>SLF4J packages</title>
235 <packages>org.slf4j:org.slf4j.*</packages>
236 </group>
237
238 <group>
239 <title>SLF4J extensions</title>
240 <packages>
241 org.slf4j.profiler:org.slf4j.ext:org.slf4j.instrumentation:org.slf4j.agent
242 </packages>
243 </group>
244
245 <group>
246 <title>Jakarta Commons Logging packages</title>
247 <packages>org.apache.commons.*</packages>
248 </group>
249
250 <group>
251 <title>Apache log4j</title>
252 <packages>org.apache.log4j</packages>
253 </group>
254
255 <group>
256 <title>java.util.logging (JUL) to SLF4J bridge</title>
257 <packages>org.slf4j.bridge</packages>
258 </group>
259
260 </groups>
261 </configuration>
262 </plugin>
263
264 </reportPlugins>
265 </configuration>
266 </plugin>
Ceki Gulcu83412492006-09-05 20:48:47 +0000267 </plugins>
268
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200269 </build>
Ceki Gulcu83412492006-09-05 20:48:47 +0000270
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000271 <profiles>
272 <profile>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200273 <id>skipTests</id>
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000274 <properties>
275 <maven.test.skip>true</maven.test.skip>
276 </properties>
277 </profile>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200278 <profile>
John E. Conlon426da1d2007-02-16 21:03:05 +0000279 <id>osgi</id>
280 <modules>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200281 <module>osgi-over-slf4j</module>
282 <module>slf4j-osgi-test-bundle</module>
283 <module>slf4j-osgi-integration-test</module>
John E. Conlon426da1d2007-02-16 21:03:05 +0000284 </modules>
Ceki Gulcu0740cb12007-02-18 17:50:26 +0000285
286 <repositories>
287 <repository>
288 <id>m2apache.snapshots</id>
289 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
290 <releases>
291 <enabled>false</enabled>
292 </releases>
293 <snapshots>
294 <enabled>true</enabled>
295 </snapshots>
296 </repository>
297
298 <repository>
299 <id>springframework.org</id>
300 <name>Springframework Maven SNAPSHOT Repository</name>
301 <url>http://static.springframework.org/maven2-snapshots/</url>
302 <snapshots>
303 <enabled>true</enabled>
304 </snapshots>
305 </repository>
306
307 </repositories>
308
309 <pluginRepositories>
310 <pluginRepository>
311 <id>apache.snapshots</id>
312 <name>Apache Snapshot Plugin Repository</name>
313 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
314 <releases>
315 <enabled>false</enabled>
316 </releases>
317 <snapshots>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200318 <enabled>true</enabled>
Ceki Gulcu0740cb12007-02-18 17:50:26 +0000319 </snapshots>
320 </pluginRepository>
321 </pluginRepositories>
322
John E. Conlon426da1d2007-02-16 21:03:05 +0000323 </profile>
Ceki Gulcub1d03d52010-05-08 12:46:15 +0200324
325
326 <profile>
327 <id>javadocjar</id>
328 <build>
329 <plugins>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-javadoc-plugin</artifactId>
333 <executions>
334 <execution>
335 <id>attach-javadocs</id>
336 <goals>
337 <goal>jar</goal>
338 </goals>
339 </execution>
340 </executions>
341 </plugin>
342 </plugins>
343 </build>
344 </profile>
Ceki Gulcu7ba06052011-10-16 10:28:44 +0200345
346 <profile>
347 <id>license</id>
348 <build>
349 <plugins>
350 <plugin>
351 <groupId>com.google.code.maven-license-plugin</groupId>
352 <artifactId>maven-license-plugin</artifactId>
353 <configuration>
354 <header>src/main/licenseHeader.txt</header>
355 <quiet>false</quiet>
356 <failIfMissing>true</failIfMissing>
357 <aggregate>true</aggregate>
358 <includes>
359 <include>src/**/*.java</include>
360 </includes>
361 <useDefaultExcludes>true</useDefaultExcludes>
362 <useDefaultMapping>true</useDefaultMapping>
363 <properties>
364 <year>1999</year>
365 </properties>
366 <headerDefinitions>
367 <headerDefinition>src/main/javadocHeaders.xml</headerDefinition>
368 </headerDefinitions>
369 </configuration>
370 </plugin>
371 </plugins>
372 </build>
373
374 <pluginRepositories>
375 <pluginRepository>
376 <id>mc-release</id>
377 <name>Local Maven repository of releases</name>
378 <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
379 <snapshots>
380 <enabled>false</enabled>
381 </snapshots>
382 <releases>
383 <enabled>true</enabled>
384 </releases>
385 </pluginRepository>
386 </pluginRepositories>
387 </profile>
388
Ceki Gulcud8b43cb2012-05-08 18:47:02 +0200389 <profile>
390 <id>sign-artifacts</id>
391 <build>
392 <plugins>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-gpg-plugin</artifactId>
396 <version>1.1</version>
397 <executions>
398 <execution>
399 <id>sign-artifacts</id>
400 <phase>verify</phase>
401 <goals>
402 <goal>sign</goal>
403 </goals>
404 </execution>
405 </executions>
406 </plugin>
407 </plugins>
408 </build>
409 </profile>
410
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000411 </profiles>
412
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000413 <pluginRepositories>
414 <pluginRepository>
415 <id>apache.snapshots</id>
416 <name>Apache Snapshot Plugin Repository</name>
417 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
418 <releases>
John E. Conlonfe3885e2007-02-06 21:01:59 +0000419 <enabled>false</enabled>
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000420 </releases>
421 <snapshots>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200422 <enabled>true</enabled>
423 </snapshots>
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000424 </pluginRepository>
425 </pluginRepositories>
Ceki Gulcu83412492006-09-05 20:48:47 +0000426
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200427 <distributionManagement>
428 <site>
429 <id>pixie</id>
430 <url>scp://pixie.qos.ch/var/www/www.slf4j.org/htdocs/</url>
431 </site>
Ceki Gulcuc0002ed2006-11-08 22:13:36 +0000432
433 <repository>
Ceki Gulcud8b43cb2012-05-08 18:47:02 +0200434 <!--<id>pixie</id>-->
435 <!--<url>scp://pixie.qos.ch/var/mvnrepo/</url>-->
436 <id>sonatype-nexus-staging</id>
437 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
Ceki Gulcuc0002ed2006-11-08 22:13:36 +0000438 </repository>
439
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200440 </distributionManagement>
441
Heiko Seebergeradab6082010-09-14 21:43:34 +0200442</project>