• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-ext</artifactId>
14
15  <packaging>jar</packaging>
16  <name>SLF4J Extensions Module</name>
17  <description>Extensions to the SLF4J API</description>
18
19  <url>http://www.slf4j.org</url>
20
21  <dependencies>
22    <dependency>
23      <groupId>org.slf4j</groupId>
24      <artifactId>slf4j-api</artifactId>
25    </dependency>
26    <dependency>
27      <groupId>org.slf4j</groupId>
28      <artifactId>slf4j-log4j12</artifactId>
29      <version>${project.version}</version>
30      <scope>test</scope>
31    </dependency>
32    <dependency>
33      <groupId>ch.qos.cal10n</groupId>
34      <artifactId>cal10n-api</artifactId>
35    </dependency>
36    <dependency>
37      <groupId>javassist</groupId>
38      <artifactId>javassist</artifactId>
39      <version>3.4.GA</version>
40      <optional>true</optional>
41    </dependency>
42    <dependency>
43      <groupId>commons-lang</groupId>
44      <artifactId>commons-lang</artifactId>
45      <version>2.4</version>
46      <optional>true</optional>
47    </dependency>
48  </dependencies>
49
50  <build>
51		<plugins>
52			<plugin>
53				<groupId>org.apache.maven.plugins</groupId>
54				<artifactId>maven-compiler-plugin</artifactId>
55				<configuration>
56					<source>${required.jdk.version}</source>
57					<target>${required.jdk.version}</target>
58				</configuration>
59			</plugin>
60
61      <plugin>
62        <groupId>org.apache.maven.plugins</groupId>
63        <artifactId>maven-surefire-plugin</artifactId>
64         <configuration>
65		  <!-- http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html -->
66         <printSummary>false</printSummary>
67          <forkMode>once</forkMode>
68          <reportFormat>plain</reportFormat>
69          <trimStackTrace>false</trimStackTrace>
70          <excludes>
71            <exclude>**/AllTest.java</exclude>
72            <exclude>**/PackageTest.java</exclude>
73          </excludes>
74        </configuration>
75      </plugin>
76
77
78      <plugin>
79        <groupId>org.apache.maven.plugins</groupId>
80        <artifactId>maven-jar-plugin</artifactId>
81        <configuration>
82          <archive>
83            <manifestEntries>
84              <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
85              <Bundle-Description>${project.description}</Bundle-Description>
86              <Implementation-Version>${project.version}</Implementation-Version>
87              <Premain-Class>org.slf4j.agent.AgentPremain</Premain-Class>
88              <!-- what is the proper way to specify the maven full name? /ravn -->
89              <Boot-Class-Path>../../../../javassist/javassist/3.4.GA/javassist-3.4.GA.jar javassist-3.4.GA.jar javassist.jar</Boot-Class-Path>
90            </manifestEntries>
91            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
92          </archive>
93        </configuration>
94      </plugin>
95    </plugins>
96
97  </build>
98
99  <reporting>
100    <plugins>
101
102    </plugins>
103  </reporting>
104
105</project>