1<project xmlns="http://maven.apache.org/POM/4.0.0"
2  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5  <modelVersion>4.0.0</modelVersion>
6
7  <parent>
8    <groupId>org.slf4j</groupId>
9    <artifactId>slf4j-parent</artifactId>
10    <version>1.7.13-SNAPSHOT</version>
11  </parent>
12
13  <artifactId>slf4j-api</artifactId>
14
15  <packaging>jar</packaging>
16  <name>SLF4J API Module</name>
17  <description>The slf4j API</description>
18
19  <url>http://www.slf4j.org</url>
20
21  <dependencies>
22  </dependencies>
23
24  <build>
25    <plugins>
26      <plugin>
27        <groupId>org.apache.maven.plugins</groupId>
28        <artifactId>maven-surefire-plugin</artifactId>
29        <configuration>
30          <forkMode>once</forkMode>
31          <reportFormat>plain</reportFormat>
32          <trimStackTrace>false</trimStackTrace>
33          <excludes>
34            <exclude>**/AllTest.java</exclude>
35            <exclude>**/PackageTest.java</exclude>
36          </excludes>
37        </configuration>
38      </plugin>
39
40      <plugin>
41        <groupId>org.apache.maven.plugins</groupId>
42        <artifactId>maven-jar-plugin</artifactId>
43        <configuration>
44          <archive>
45            <manifestEntries>
46              <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
47              <Bundle-Description>${project.description}</Bundle-Description>
48              <Implementation-Version>${project.version}</Implementation-Version>
49            </manifestEntries>
50            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
51          </archive>
52        </configuration>
53        <executions>
54          <execution>
55            <id>bundle-test-jar</id>
56            <phase>package</phase>
57            <goals>
58              <goal>jar</goal>
59              <goal>test-jar</goal>
60            </goals>
61          </execution>
62        </executions>
63      </plugin>
64
65      <plugin>
66        <groupId>org.apache.maven.plugins</groupId>
67        <artifactId>maven-antrun-plugin</artifactId>
68        <executions>
69          <execution>
70            <phase>process-classes</phase>
71            <goals>
72             <goal>run</goal>
73            </goals>
74          </execution>
75        </executions>
76        <configuration>
77          <tasks>
78            <echo>Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder</echo>
79            <delete dir="target/classes/org/slf4j/impl"/>
80          </tasks>
81        </configuration>
82      </plugin>
83
84    </plugins>
85
86  </build>
87
88</project>