Home | History | Annotate | Download | only in 1.7.2
      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/maven-v4_0_0.xsd">
      4 
      5   <parent>
      6     <groupId>org.slf4j</groupId>
      7     <artifactId>slf4j-parent</artifactId>
      8     <version>1.7.2</version>
      9   </parent>
     10 
     11   <modelVersion>4.0.0</modelVersion>
     12 
     13   <groupId>org.slf4j</groupId>
     14   <artifactId>slf4j-api</artifactId>
     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 
     23   </dependencies> 
     24 
     25   <build>
     26     <plugins>
     27       <plugin>
     28         <groupId>org.apache.maven.plugins</groupId>
     29         <artifactId>maven-surefire-plugin</artifactId>
     30         <configuration>
     31           <forkMode>once</forkMode>
     32           <reportFormat>plain</reportFormat>
     33           <trimStackTrace>false</trimStackTrace>
     34           <excludes>
     35             <exclude>**/AllTest.java</exclude>
     36             <exclude>**/PackageTest.java</exclude>
     37           </excludes>
     38         </configuration>
     39       </plugin>
     40 
     41       <plugin>
     42         <groupId>org.apache.maven.plugins</groupId>
     43         <artifactId>maven-jar-plugin</artifactId>
     44         <configuration>
     45           <archive>
     46             <manifestEntries>
     47               <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
     48               <Bundle-Description>${project.description}</Bundle-Description>
     49               <Implementation-Version>${project.version}</Implementation-Version>
     50             </manifestEntries>
     51             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
     52           </archive>
     53         </configuration>
     54         <executions>
     55           <execution>
     56             <id>bundle-test-jar</id>
     57             <phase>package</phase>
     58             <goals>
     59               <goal>jar</goal>
     60               <goal>test-jar</goal>
     61             </goals>
     62           </execution>
     63         </executions>
     64       </plugin>
     65 
     66       <plugin>
     67         <groupId>org.apache.maven.plugins</groupId>
     68         <artifactId>maven-antrun-plugin</artifactId>
     69         <executions>
     70           <execution>
     71             <phase>process-classes</phase>
     72             <goals>
     73              <goal>run</goal>
     74             </goals>
     75           </execution>
     76         </executions>
     77         <configuration>
     78           <tasks>
     79             <echo>Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder</echo>
     80             <delete dir="target/classes/org/slf4j/impl"/>
     81           </tasks>
     82         </configuration>
     83       </plugin>
     84 
     85     </plugins>
     86 
     87   </build>
     88 
     89 </project>