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