mirror of https://github.com/qos-ch/slf4j
moving to oss.sonatype repo, indentation changes
This commit is contained in:
parent
f880d89e0a
commit
d8b43cb95f
|
|
@ -12,11 +12,9 @@
|
|||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>JCL 1.1.1 implemented over SLF4J</name>
|
||||
|
||||
<description>JCL 1.1.1 implemented over SLF4J</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
JCL 1.1.1 implementation over SLF4J
|
||||
</description>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<!--
|
||||
|
|
|
|||
|
|
@ -16,11 +16,9 @@
|
|||
|
||||
<packaging>jar</packaging>
|
||||
<name>JUL to SLF4J bridge</name>
|
||||
<description>JUL to SLF4J bridge</description>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
JUL to SLF4J bridge
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -14,17 +14,10 @@
|
|||
<artifactId>log4j-over-slf4j</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Log4j Implemented Over SLF4J</name>
|
||||
<description>Log4j implemented over SLF4J</description>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<description>
|
||||
<!--
|
||||
Never _never_ let Eclipse's auto format function add
|
||||
a line return in the description.
|
||||
The generated jar will contain a corrupt MANIFEST file.
|
||||
-->
|
||||
Log4j implemented over SLF4J
|
||||
</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache Software Licenses</name>
|
||||
|
|
|
|||
49
pom.xml
49
pom.xml
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<packaging>pom</packaging>
|
||||
<name>SLF4J</name>
|
||||
|
||||
<description>Top SLF4J project pom.xml file</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<organization>
|
||||
|
|
@ -28,6 +28,11 @@
|
|||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/ceki/slf4j</url>
|
||||
<connection>git@github.com:ceki/slf4j.git</connection>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<slf4j.api.minimum.compatible.version>1.6.0
|
||||
</slf4j.api.minimum.compatible.version>
|
||||
|
|
@ -35,6 +40,13 @@
|
|||
<log4j.version>1.2.16</log4j.version>
|
||||
</properties>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>ceki</id>
|
||||
<name>Ceki Gulcu</name>
|
||||
<email>ceki@qos.ch</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<modules>
|
||||
<module>slf4j-api</module>
|
||||
|
|
@ -373,6 +385,28 @@
|
|||
</pluginRepositories>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>sign-artifacts</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
<pluginRepositories>
|
||||
|
|
@ -389,13 +423,6 @@
|
|||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.slf4j.org/repos/slf4j/trunk</connection>
|
||||
<developerConnection>scm:svn:https://svn.slf4j.org/repos/slf4j/trunk
|
||||
</developerConnection>
|
||||
<url>http://svn.slf4j.org/viewvc/slf4j/trunk/</url>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>pixie</id>
|
||||
|
|
@ -403,8 +430,10 @@
|
|||
</site>
|
||||
|
||||
<repository>
|
||||
<id>pixie</id>
|
||||
<url>scp://pixie.qos.ch/var/mvnrepo/</url>
|
||||
<!--<id>pixie</id>-->
|
||||
<!--<url>scp://pixie.qos.ch/var/mvnrepo/</url>-->
|
||||
<id>sonatype-nexus-staging</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
</repository>
|
||||
|
||||
</distributionManagement>
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@
|
|||
<artifactId>slf4j-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J API Module</name>
|
||||
<description>The slf4j API</description>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>The slf4j API</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@
|
|||
<artifactId>slf4j-ext</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Extensions Module</name>
|
||||
<description>Extensions to the SLF4J API</description>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>Extensions to the SLF4J API</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -12,12 +12,10 @@
|
|||
<artifactId>slf4j-jcl</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J JCL Binding</name>
|
||||
<description>SLF4J JCL Binding</description>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<description>
|
||||
The slf4j jcl binding
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -1,32 +1,30 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J JDK14 Binding</name>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J JDK14 Binding</name>
|
||||
<description>SLF4J JDK14 Binding</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
The slf4j JDK14 binding
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
|
@ -38,19 +36,19 @@
|
|||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.4</source>
|
||||
<target>1.4</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.4</source>
|
||||
<target>1.4</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
|
|
@ -61,7 +59,7 @@
|
|||
</manifestEntries>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
|
|
|||
|
|
@ -1,55 +1,52 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J LOG4J-12 Binding</name>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J LOG4J-12 Binding</name>
|
||||
<description>SLF4J LOG4J-12 Binding</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<description>
|
||||
The slf4j log4j-12 binding
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
||||
<Bundle-Description>${project.description}</Bundle-Description>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
</manifestEntries>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
||||
<Bundle-Description>${project.description}</Bundle-Description>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
</manifestEntries>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,26 +1,27 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-migrator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Migrator</name>
|
||||
<description>SLF4J Migrator</description>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-migrator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Migrator</name>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
|
|
@ -28,7 +29,7 @@
|
|||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
|
|||
|
|
@ -1,36 +1,34 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-nop</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J NOP Binding</name>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-nop</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J NOP Binding</name>
|
||||
<description>SLF4J NOP Binding</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
The slf4j NOP binding
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
@ -43,8 +41,8 @@
|
|||
</manifestEntries>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
|
|
|||
|
|
@ -1,240 +1,241 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-integration-test</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J OSGi Integration Test</name>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
OSGi integration tests for the slf4j.
|
||||
</description>
|
||||
<!-- These dependencies are deceptive they are only for the springframework testing env.
|
||||
bundles being tested are specified in the -->
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>javax.servlet</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.compendium</artifactId>
|
||||
<version>4.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-test-bundle</artifactId>
|
||||
<version>${parent.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>org.springframework.osgi.test</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-integration-test</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J OSGi Integration Test</name>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>OSGi integration tests</description>
|
||||
|
||||
<!-- These dependencies are deceptive they are only for the springframework testing env.
|
||||
bundles being tested are specified in the -->
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>javax.servlet</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.compendium</artifactId>
|
||||
<version>4.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-test-bundle</artifactId>
|
||||
<version>${parent.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>org.springframework.osgi.test</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-mock</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>jcl104-over-slf4j.osgi</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j-full</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>log4j.osgi</artifactId>
|
||||
<version>1.2.13-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>backport-util-concurrent</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>spring-mock</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>jcl104-over-slf4j.osgi</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j-full</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>log4j.osgi</artifactId>
|
||||
<version>1.2.13-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.osgi</groupId>
|
||||
<artifactId>backport-util-concurrent</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- run tests during the integration-test phase, not the normal test phase -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
<systemProperties>
|
||||
<property>
|
||||
<name>org.springframework.osgi.test.framework</name>
|
||||
<value>${osgi.test.platform}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>org.osgi.framework.system.packages</name>
|
||||
<value>${osgi.test.system.packages}</value>
|
||||
</property>
|
||||
<!--
|
||||
<property>
|
||||
<name>org.osgi.vendor.framework</name>
|
||||
<value>${org.osgi.vendor.framework}</value>
|
||||
</property>
|
||||
-->
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default</id>
|
||||
<phase>test</phase>
|
||||
<goals></goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<phase>integration-test</phase>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<skip>false</skip>
|
||||
<forkMode>pertest</forkMode>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>equinox</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.equinox</groupId>
|
||||
<artifactId>org.eclipse.osgi</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
|
||||
<osgi.test.platform>equinox</osgi.test.platform>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>knopflerfish</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.knopflerfish</groupId>
|
||||
<artifactId>framework</artifactId>
|
||||
<version>2.0.1</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<!-- knopflerfish testing requires that the system property
|
||||
org.osgi.framework.system.packages be set with a list
|
||||
system packages that are to be imported on the kf classpath.
|
||||
This property is a placeholder for the list. See the surefire
|
||||
plugin configuration systemProperties referenced above to see
|
||||
the mapping to this element. -->
|
||||
<osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
|
||||
<osgi.test.platform>knopflerfish</osgi.test.platform>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>felix</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.framework</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.main</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<osgi.test.platform>felix</osgi.test.platform>
|
||||
<!-- <org.osgi.vendor.framework>org.apache.felix.framework</org.osgi.vendor.framework> -->
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
<systemProperties>
|
||||
<property>
|
||||
<name>org.springframework.osgi.test.framework</name>
|
||||
<value>${osgi.test.platform}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>org.osgi.framework.system.packages</name>
|
||||
<value>${osgi.test.system.packages}</value>
|
||||
</property>
|
||||
<!--
|
||||
<property>
|
||||
<name>org.osgi.vendor.framework</name>
|
||||
<value>${org.osgi.vendor.framework}</value>
|
||||
</property>
|
||||
-->
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default</id>
|
||||
<phase>test</phase>
|
||||
<goals></goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<phase>integration-test</phase>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<skip>false</skip>
|
||||
<forkMode>pertest</forkMode>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>equinox</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.equinox</groupId>
|
||||
<artifactId>org.eclipse.osgi</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management
|
||||
</osgi.test.system.packages>
|
||||
<osgi.test.platform>equinox</osgi.test.platform>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>knopflerfish</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.knopflerfish</groupId>
|
||||
<artifactId>framework</artifactId>
|
||||
<version>2.0.1</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<!-- knopflerfish testing requires that the system property
|
||||
org.osgi.framework.system.packages be set with a list
|
||||
system packages that are to be imported on the kf classpath.
|
||||
This property is a placeholder for the list. See the surefire
|
||||
plugin configuration systemProperties referenced above to see
|
||||
the mapping to this element. -->
|
||||
<osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management
|
||||
</osgi.test.system.packages>
|
||||
<osgi.test.platform>knopflerfish</osgi.test.platform>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>felix</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.framework</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.main</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<osgi.test.platform>felix</osgi.test.platform>
|
||||
<!-- <org.osgi.vendor.framework>org.apache.felix.framework</org.osgi.vendor.framework> -->
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
@ -1,79 +1,76 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-test-bundle</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>SLF4J Testing Bundle</name>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<description>
|
||||
The slf4j OSGi testing bundle.
|
||||
</description>
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-osgi-test-bundle</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>SLF4J Testing Bundle</name>
|
||||
<description>SLF4J OSGi testing bundle.</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-nop</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- To get org.apache.commons.logging package for
|
||||
commons logging testing.-->
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>0.9.0-incubator-SNAPSHOT</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.slf4j.osgi.test.service
|
||||
</Export-Package>
|
||||
<Private-Package>org.slf4j.osgi.test</Private-Package>
|
||||
<Import-Package>
|
||||
org.osgi.framework,org.slf4j;version="[1.3,1.4)"
|
||||
</Import-Package>
|
||||
<Bundle-Activator>org.slf4j.osgi.test.Activator</Bundle-Activator>
|
||||
<DynamicImport-Package>org.apache.commons.logging</DynamicImport-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-nop</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- To get org.apache.commons.logging package for
|
||||
commons logging testing.-->
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>0.8.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>0.9.0-incubator-SNAPSHOT</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.slf4j.osgi.test.service
|
||||
</Export-Package>
|
||||
<Private-Package>org.slf4j.osgi.test</Private-Package>
|
||||
<Import-Package>
|
||||
org.osgi.framework,org.slf4j;version="[1.3,1.4)"
|
||||
</Import-Package>
|
||||
<Bundle-Activator>org.slf4j.osgi.test.Activator</Bundle-Activator>
|
||||
<DynamicImport-Package>org.apache.commons.logging</DynamicImport-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
|||
|
|
@ -1,31 +1,31 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-parent</artifactId>
|
||||
<version>1.6.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Simple Binding</name>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<url>http://www.slf4j.org</url>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Simple Binding</name>
|
||||
<description>SLF4J Simple binding</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
@ -38,11 +38,11 @@
|
|||
</manifestEntries>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<artifactId>slf4j-site</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>SLF4J Site</name>
|
||||
|
||||
<description>SLF4J Site</description>
|
||||
<url>http://www.slf4j.org</url>
|
||||
|
||||
<build>
|
||||
|
|
|
|||
|
|
@ -210,7 +210,8 @@
|
|||
javadocs</a> for usage instructions.
|
||||
</p>
|
||||
|
||||
<p>Contrary to other bridging modules, namely jcl-over-slf4j and
|
||||
<p><span class="label notice">Note on performance</span> Contrary
|
||||
to other bridging modules, namely jcl-over-slf4j and
|
||||
log4j-over-slf4j, which reimplement JCL and respectively log4j,
|
||||
the jul-to-slf4j module does not reimplement the java.util.logging
|
||||
because packages under the java.* namespace cannot be
|
||||
|
|
@ -221,18 +222,17 @@
|
|||
instance regardless of whether the SLF4J logger is disabled for
|
||||
the given level or nor. <b>Consequently, j.u.l. to SLF4J
|
||||
translation can seriously increase the cost of disabled logging
|
||||
statements (60 fold or 6000% increase) and
|
||||
measurably impact the performance of enabled log statements (20%
|
||||
overall increase).</b> Please note that as of logback-version
|
||||
0.9.25, it is possible to completely eliminate the 60 fold
|
||||
translation overhead for disabled log statements with the help of
|
||||
<a
|
||||
statements (60 fold or 6000%) and measurably impact the
|
||||
performance of enabled log statements (20% overall increase).</b>
|
||||
As of logback-version 0.9.25, it is possible to completely
|
||||
eliminate the 60 fold translation overhead for disabled log
|
||||
statements with the help of <a
|
||||
href="http://logback.qos.ch/manual/configuration.html#LevelChangePropagator">LevelChangePropagator</a>.
|
||||
</p>
|
||||
|
||||
<p>If you are concerned about application performance, then use of
|
||||
<code>SLF4JBridgeHandler</code> is appropriate only if one the
|
||||
following two conditions is true:
|
||||
<code>SLF4JBridgeHandler</code> is appropriate only if any one of
|
||||
the following two conditions is true:
|
||||
</p>
|
||||
<ol>
|
||||
<li>few j.u.l. logging statements are in play </li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue