blob: 1ab95e7003d9d832c03badac823604d609c0c7d6 [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 Gulcu38915da2011-10-31 23:51:10 +010010 <version>1.6.4</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 Gulcu83412492006-09-05 20:48:47 +000014
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 Gulcu84f0f6b2007-02-22 19:15:56 +000031 <properties>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020032 <slf4j.api.minimum.compatible.version>1.6.0
33 </slf4j.api.minimum.compatible.version>
Ceki Gulcu86776ff2010-07-05 19:55:43 +020034 <cal10n.version>0.7.4</cal10n.version>
35 <log4j.version>1.2.16</log4j.version>
Ceki Gulcu84f0f6b2007-02-22 19:15:56 +000036 </properties>
37
Ceki Gulcue967f512009-10-28 18:49:56 +010038
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020039 <modules>
40 <module>slf4j-api</module>
Ceki Gulcuced19de2011-08-15 18:57:38 +020041 <!--<module>slf4j-scala-api</module>-->
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020042 <module>slf4j-simple</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000043 <module>slf4j-nop</module>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020044 <module>slf4j-jdk14</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000045 <module>slf4j-log4j12</module>
46 <module>slf4j-jcl</module>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020047 <module>slf4j-ext</module>
Ceki Gulcu87b72422008-06-03 21:18:51 +000048 <module>jcl-over-slf4j</module>
Ceki Gulcu14797602007-07-09 20:24:02 +000049 <module>log4j-over-slf4j</module>
Ceki Gulcu78f138e2008-05-28 20:28:49 +000050 <module>jul-to-slf4j</module>
Ceki Gulcuecfb1b52008-10-03 15:44:19 +000051 <module>integration</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000052 <module>slf4j-site</module>
Ceki Gulcu5e411702008-02-21 19:06:30 +000053 <module>slf4j-migrator</module>
Ceki Gulcu83412492006-09-05 20:48:47 +000054 </modules>
55
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020056 <dependencies>
Ceki Gulcu83412492006-09-05 20:48:47 +000057 <dependency>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <version>3.8.1</version>
61 <scope>test</scope>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020062 </dependency>
63 </dependencies>
Ceki Gulcu55a650f2006-11-04 18:35:32 +000064
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020065
66 <dependencyManagement>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000067 <dependencies>
68
69 <dependency>
Ceki Gulcu053a98b2008-08-02 19:24:58 +000070 <groupId>org.slf4j</groupId>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000071 <artifactId>slf4j-api</artifactId>
72 <version>${project.version}</version>
73 </dependency>
74
75 <dependency>
Ceki Gulcu060c6482009-04-17 16:43:29 +000076 <groupId>org.slf4j</groupId>
77 <artifactId>slf4j-jdk14</artifactId>
78 <version>${project.version}</version>
79 </dependency>
80
81 <dependency>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000082 <groupId>log4j</groupId>
83 <artifactId>log4j</artifactId>
Ceki Gulcu1db99e32010-06-30 16:01:09 +020084 <version>${log4j.version}</version>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000085 </dependency>
86
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020087 <dependency>
88 <groupId>ch.qos.cal10n</groupId>
89 <artifactId>cal10n-api</artifactId>
90 <version>${cal10n.version}</version>
91 </dependency>
Ceki Gulcu50f843f2009-09-01 19:48:11 +020092
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020093 </dependencies>
94 </dependencyManagement>
Ceki Gulcu2a40c062007-05-18 20:57:38 +000095
Ceki Gulcu83412492006-09-05 20:48:47 +000096
Ceki Gulcu752e2cf2011-10-17 23:30:48 +020097 <build>
Ceki Gulcu38915da2011-10-31 23:51:10 +010098 <extensions>
99 <extension>
100 <groupId>org.apache.maven.wagon</groupId>
101 <artifactId>wagon-ssh</artifactId>
102 <version>2.0</version>
103 </extension>
104 </extensions>
105
Ceki Gulcua1149da2007-08-20 18:10:22 +0000106 <resources>
107 <resource>
108 <directory>src/main/resources</directory>
109 <filtering>true</filtering>
110 </resource>
111 </resources>
Ceki Gulcu738eab62007-08-20 21:27:47 +0000112
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>2.3.2</version>
118 <configuration>
119 <source>1.3</source>
120 <target>1.3</target>
121 </configuration>
122 </plugin>
Ceki Gulcu83412492006-09-05 20:48:47 +0000123
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-jar-plugin</artifactId>
127 <version>2.3.1</version>
128 </plugin>
129
130
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-surefire-plugin</artifactId>
134 <version>2.10</version>
135 <configuration>
136 <forkMode>once</forkMode>
137 <reportFormat>plain</reportFormat>
138 <trimStackTrace>false</trimStackTrace>
139 <excludes>
140 <exclude>**/AllTest.java</exclude>
141 <exclude>**/PackageTest.java</exclude>
142 </excludes>
143 </configuration>
144 </plugin>
145
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
Ceki Gulcu83412492006-09-05 20:48:47 +0000148 <artifactId>maven-source-plugin</artifactId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200149 <version>2.1.2</version>
Ceki Gulcu83412492006-09-05 20:48:47 +0000150 <executions>
151 <execution>
152 <phase>package</phase>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200153 <goals>
Ceki Gulcu83412492006-09-05 20:48:47 +0000154 <goal>jar</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200162 <artifactId>maven-assembly-plugin</artifactId>
163 <version>2.2</version>
164 <configuration>
165 <descriptors>
166 <descriptor>src/main/assembly/source.xml</descriptor>
167 </descriptors>
168 <finalName>slf4j-${project.version}</finalName>
169 <appendAssemblyId>false</appendAssemblyId>
170 <outputDirectory>target/site/dist/</outputDirectory>
171 </configuration>
172 </plugin>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100173
174 <!-- as suggested in http://bugzilla.slf4j.org/show_bug.cgi?id=152 -->
175 <plugin>
176 <groupId>org.codehaus.mojo</groupId>
177 <artifactId>build-helper-maven-plugin</artifactId>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200178 <version>1.7</version>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100179 <executions>
180 <execution>
181 <id>parse-version</id>
Ceki Gulcu38915da2011-10-31 23:51:10 +0100182 <goals>
183 <goal>parse-version</goal>
Ceki Gulcue5bbca32009-11-24 00:21:59 +0100184 </goals>
185 </execution>
186 </executions>
187 </plugin>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200188
Ceki Gulcu38915da2011-10-31 23:51:10 +0100189 <!-- ====== site plugin ===== -->
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-site-plugin</artifactId>
193 <version>3.0</version>
194 <configuration>
195 <reportPlugins>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-jxr-plugin</artifactId>
199 <version>2.3</version>
200 <configuration>
201 <aggregate>true</aggregate>
202 <javadocDir>target/site/apidocs/</javadocDir>
203 <linkJavadoc>true</linkJavadoc>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-javadoc-plugin</artifactId>
209 <version>2.8</version>
210 <configuration>
211 <aggregate>true</aggregate>
212 <excludePackageNames>org.slf4j.migrator:org.slf4j.migrator.*
213 </excludePackageNames>
214 <links>
215 <link>
216 http://java.sun.com/j2se/1.5.0/docs/api
217 </link>
218 </links>
219 <groups>
220 <group>
221 <title>SLF4J packages</title>
222 <packages>org.slf4j:org.slf4j.*</packages>
223 </group>
224
225 <group>
226 <title>SLF4J extensions</title>
227 <packages>
228 org.slf4j.profiler:org.slf4j.ext:org.slf4j.instrumentation:org.slf4j.agent
229 </packages>
230 </group>
231
232 <group>
233 <title>Jakarta Commons Logging packages</title>
234 <packages>org.apache.commons.*</packages>
235 </group>
236
237 <group>
238 <title>Apache log4j</title>
239 <packages>org.apache.log4j</packages>
240 </group>
241
242 <group>
243 <title>java.util.logging (JUL) to SLF4J bridge</title>
244 <packages>org.slf4j.bridge</packages>
245 </group>
246
247 </groups>
248 </configuration>
249 </plugin>
250
251 </reportPlugins>
252 </configuration>
253 </plugin>
Ceki Gulcu83412492006-09-05 20:48:47 +0000254 </plugins>
255
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200256 </build>
Ceki Gulcu83412492006-09-05 20:48:47 +0000257
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000258 <profiles>
259 <profile>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200260 <id>skipTests</id>
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000261 <properties>
262 <maven.test.skip>true</maven.test.skip>
263 </properties>
264 </profile>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200265 <profile>
John E. Conlon426da1d2007-02-16 21:03:05 +0000266 <id>osgi</id>
267 <modules>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200268 <module>osgi-over-slf4j</module>
269 <module>slf4j-osgi-test-bundle</module>
270 <module>slf4j-osgi-integration-test</module>
John E. Conlon426da1d2007-02-16 21:03:05 +0000271 </modules>
Ceki Gulcu0740cb12007-02-18 17:50:26 +0000272
273 <repositories>
274 <repository>
275 <id>m2apache.snapshots</id>
276 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
277 <releases>
278 <enabled>false</enabled>
279 </releases>
280 <snapshots>
281 <enabled>true</enabled>
282 </snapshots>
283 </repository>
284
285 <repository>
286 <id>springframework.org</id>
287 <name>Springframework Maven SNAPSHOT Repository</name>
288 <url>http://static.springframework.org/maven2-snapshots/</url>
289 <snapshots>
290 <enabled>true</enabled>
291 </snapshots>
292 </repository>
293
294 </repositories>
295
296 <pluginRepositories>
297 <pluginRepository>
298 <id>apache.snapshots</id>
299 <name>Apache Snapshot Plugin Repository</name>
300 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
301 <releases>
302 <enabled>false</enabled>
303 </releases>
304 <snapshots>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200305 <enabled>true</enabled>
Ceki Gulcu0740cb12007-02-18 17:50:26 +0000306 </snapshots>
307 </pluginRepository>
308 </pluginRepositories>
309
John E. Conlon426da1d2007-02-16 21:03:05 +0000310 </profile>
Ceki Gulcub1d03d52010-05-08 12:46:15 +0200311
312
313 <profile>
314 <id>javadocjar</id>
315 <build>
316 <plugins>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-javadoc-plugin</artifactId>
320 <executions>
321 <execution>
322 <id>attach-javadocs</id>
323 <goals>
324 <goal>jar</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329 </plugins>
330 </build>
331 </profile>
Ceki Gulcu7ba06052011-10-16 10:28:44 +0200332
333 <profile>
334 <id>license</id>
335 <build>
336 <plugins>
337 <plugin>
338 <groupId>com.google.code.maven-license-plugin</groupId>
339 <artifactId>maven-license-plugin</artifactId>
340 <configuration>
341 <header>src/main/licenseHeader.txt</header>
342 <quiet>false</quiet>
343 <failIfMissing>true</failIfMissing>
344 <aggregate>true</aggregate>
345 <includes>
346 <include>src/**/*.java</include>
347 </includes>
348 <useDefaultExcludes>true</useDefaultExcludes>
349 <useDefaultMapping>true</useDefaultMapping>
350 <properties>
351 <year>1999</year>
352 </properties>
353 <headerDefinitions>
354 <headerDefinition>src/main/javadocHeaders.xml</headerDefinition>
355 </headerDefinitions>
356 </configuration>
357 </plugin>
358 </plugins>
359 </build>
360
361 <pluginRepositories>
362 <pluginRepository>
363 <id>mc-release</id>
364 <name>Local Maven repository of releases</name>
365 <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
366 <snapshots>
367 <enabled>false</enabled>
368 </snapshots>
369 <releases>
370 <enabled>true</enabled>
371 </releases>
372 </pluginRepository>
373 </pluginRepositories>
374 </profile>
375
Ceki Gulcu55a650f2006-11-04 18:35:32 +0000376 </profiles>
377
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000378 <pluginRepositories>
379 <pluginRepository>
380 <id>apache.snapshots</id>
381 <name>Apache Snapshot Plugin Repository</name>
382 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
383 <releases>
John E. Conlonfe3885e2007-02-06 21:01:59 +0000384 <enabled>false</enabled>
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000385 </releases>
386 <snapshots>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200387 <enabled>true</enabled>
388 </snapshots>
Sebastien Pennec06f1fc72007-02-06 18:48:40 +0000389 </pluginRepository>
390 </pluginRepositories>
Ceki Gulcu83412492006-09-05 20:48:47 +0000391
Sebastien Pennec2975f372006-09-13 12:31:38 +0000392 <scm>
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200393 <connection>scm:svn:http://svn.slf4j.org/repos/slf4j/trunk</connection>
394 <developerConnection>scm:svn:https://svn.slf4j.org/repos/slf4j/trunk
395 </developerConnection>
396 <url>http://svn.slf4j.org/viewvc/slf4j/trunk/</url>
397 </scm>
398
399 <distributionManagement>
400 <site>
401 <id>pixie</id>
402 <url>scp://pixie.qos.ch/var/www/www.slf4j.org/htdocs/</url>
403 </site>
Ceki Gulcuc0002ed2006-11-08 22:13:36 +0000404
405 <repository>
406 <id>pixie</id>
Ceki Gulcu32c1ac02009-12-03 00:22:57 +0100407 <url>scp://pixie.qos.ch/var/mvnrepo/</url>
Ceki Gulcuc0002ed2006-11-08 22:13:36 +0000408 </repository>
409
Ceki Gulcu752e2cf2011-10-17 23:30:48 +0200410 </distributionManagement>
411
Heiko Seebergeradab6082010-09-14 21:43:34 +0200412</project>