1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" 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>2.0.12</version> 11 <relativePath>../parent/pom.xml</relativePath> 12 </parent> 13 14 <artifactId>slf4j-ext</artifactId> 15 16 <packaging>jar</packaging> 17 <name>SLF4J Extensions Module</name> 18 <description>Extensions to the SLF4J API</description> 19 20 <url>http://www.slf4j.org</url> 21 22 <dependencies> 23 <dependency> 24 <groupId>org.slf4j</groupId> 25 <artifactId>slf4j-api</artifactId> 26 </dependency> 27 <dependency> 28 <groupId>org.slf4j</groupId> 29 <artifactId>slf4j-reload4j</artifactId> 30 <version>${project.version}</version> 31 <scope>test</scope> 32 </dependency> 33 <dependency> 34 <groupId>ch.qos.cal10n</groupId> 35 <artifactId>cal10n-api</artifactId> 36 <optional>true</optional> 37 </dependency> 38 <dependency> 39 <groupId>javassist</groupId> 40 <artifactId>javassist</artifactId> 41 <version>3.4.GA</version> 42 <optional>true</optional> 43 </dependency> 44 </dependencies> 45 46 <build> 47 <plugins> 48 <plugin> 49 <groupId>org.apache.maven.plugins</groupId> 50 <artifactId>maven-surefire-plugin</artifactId> 51 <configuration> 52 <!-- http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html --> 53 <printSummary>false</printSummary> 54 <forkMode>once</forkMode> 55 <reportFormat>plain</reportFormat> 56 <trimStackTrace>false</trimStackTrace> 57 <excludes> 58 <exclude>**/AllTest.java</exclude> 59 <exclude>**/PackageTest.java</exclude> 60 </excludes> 61 </configuration> 62 </plugin> 63 64 <plugin> 65 <groupId>org.apache.maven.plugins</groupId> 66 <artifactId>maven-jar-plugin</artifactId> 67 <configuration> 68 <archive> 69 <manifestEntries> 70 <Premain-Class>org.slf4j.agent.AgentPremain</Premain-Class> 71 <!-- what is the proper way to specify the maven full name? /ravn --> 72 <Boot-Class-Path>../../../../javassist/javassist/3.4.GA/javassist-3.4.GA.jar javassist-3.4.GA.jar javassist.jar</Boot-Class-Path> 73 </manifestEntries> 74 </archive> 75 </configuration> 76 </plugin> 77 78 <plugin> 79 <groupId>org.apache.felix</groupId> 80 <artifactId>maven-bundle-plugin</artifactId> 81 <configuration> 82 <instructions> 83 <Import-Package>ch.qos.cal10n;version="${cal10n.version}";resolution:="optional", org.slf4j, org.slf4j.*</Import-Package> 84 <_exportcontents>org.slf4j.ext, org.slf4j.profiler, org.slf4j.cal10n</_exportcontents> 85 </instructions> 86 </configuration> 87 </plugin> 88 89 </plugins> 90 </build> 91 92</project> 93