[jboss-svn-commits] JBoss Common SVN: r3163 - in common-logging-jdk/tags: 2.1.0.GA and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon May 11 20:17:55 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-05-11 20:17:55 -0400 (Mon, 11 May 2009)
New Revision: 3163
Added:
common-logging-jdk/tags/2.1.0.GA/
common-logging-jdk/tags/2.1.0.GA/pom.xml
common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java
Removed:
common-logging-jdk/tags/2.1.0.GA/pom.xml
common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java
Log:
[maven-release-plugin] copy for tag 2.1.0.GA
Copied: common-logging-jdk/tags/2.1.0.GA (from rev 3108, common-logging-jdk/trunk)
Deleted: common-logging-jdk/tags/2.1.0.GA/pom.xml
===================================================================
--- common-logging-jdk/trunk/pom.xml 2009-04-13 15:15:01 UTC (rev 3108)
+++ common-logging-jdk/tags/2.1.0.GA/pom.xml 2009-05-12 00:17:55 UTC (rev 3163)
@@ -1,78 +0,0 @@
-<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.jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-jdk</artifactId>
- <version>2.0.6-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Logging JDK</name>
- <url>http://www.jboss.org</url>
- <description>JBoss Logging JDK Implementation</description>
- <scm>
- <connection>scm:svn:https://svn.jboss.org/repos/common/common-logging-jdk/trunk/</connection>
- </scm>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <!-- The tagBase property is needed during the release process so that the maven release plugin
- will create the release tag in the appropriate location. -->
- <tagBase>https://svn.jboss.org/repos/common/common-logging-jdk/tags</tagBase>
- </configuration>
- </plugin>
- <plugin>
- <groupId>jboss.maven-plugins</groupId>
- <artifactId>jboss-deploy-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <layout>default</layout>
- <url>http://snapshots.jboss.org/maven2/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-spi</artifactId>
- <version>2.0.5.GA</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- <version>2.2.5.GA</version>
- <!-- org.jboss.logging.jdk.xml DOMConfigurator uses:
- import org.jboss.util.StringPropertyReplacer;
- import org.jboss.util.propertyeditor.PropertyEditors;
- import org.jboss.util.xml.JBossEntityResolver; -->
- <optional>true</optional>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
Copied: common-logging-jdk/tags/2.1.0.GA/pom.xml (from rev 3162, common-logging-jdk/trunk/pom.xml)
===================================================================
--- common-logging-jdk/tags/2.1.0.GA/pom.xml (rev 0)
+++ common-logging-jdk/tags/2.1.0.GA/pom.xml 2009-05-12 00:17:55 UTC (rev 3163)
@@ -0,0 +1,78 @@
+<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.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>3</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-jdk</artifactId>
+ <version>2.1.0.GA</version>
+ <packaging>jar</packaging>
+ <name>JBoss Logging JDK</name>
+ <url>http://www.jboss.org</url>
+ <description>JBoss Logging JDK Implementation</description>
+ <scm>
+ <connection>scm:svn:https://svn.jboss.org/repos/common/common-logging-jdk/tags/2.1.0.GA</connection>
+ </scm>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <!-- The tagBase property is needed during the release process so that the maven release plugin
+ will create the release tag in the appropriate location. -->
+ <tagBase>https://svn.jboss.org/repos/common/common-logging-jdk/tags</tagBase>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>jboss.maven-plugins</groupId>
+ <artifactId>jboss-deploy-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <layout>default</layout>
+ <url>http://snapshots.jboss.org/maven2/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.1.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ <version>2.2.5.GA</version>
+ <!-- org.jboss.logging.jdk.xml DOMConfigurator uses:
+ import org.jboss.util.StringPropertyReplacer;
+ import org.jboss.util.propertyeditor.PropertyEditors;
+ import org.jboss.util.xml.JBossEntityResolver; -->
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Deleted: common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java
===================================================================
--- common-logging-jdk/trunk/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java 2009-04-13 15:15:01 UTC (rev 3108)
+++ common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java 2009-05-12 00:17:55 UTC (rev 3163)
@@ -1,145 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.jdk;
-
-import java.util.logging.Logger;
-import java.util.logging.Level;
-import java.util.logging.LogRecord;
-
-import org.jboss.logging.LoggerPlugin;
-import org.jboss.logging.MDCProvider;
-import org.jboss.logging.MDCSupport;
-import org.jboss.logging.NDCProvider;
-import org.jboss.logging.NDCSupport;
-
-/** An example LoggerPlugin which uses the JDK java.util.logging framework.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revison:$
- */
-public class JDK14LoggerPlugin implements LoggerPlugin, MDCSupport, NDCSupport
-{
- private Logger log;
- private String name;
-
- public void init(String name)
- {
- this.name = name;
- log = Logger.getLogger(name);
- }
-
- private void doLog(Level level, Object message, Throwable t) {
- LogRecord record = new LogRecord(level, message.toString());
- record.setLoggerName(name);
- record.setThrown(t);
- record.setSourceMethodName(null); // prevent expensive, yet pointless, lookup
- log.log(record);
- }
-
- public boolean isTraceEnabled()
- {
- return log.isLoggable(JBossLevel.TRACE);
- }
-
- public void trace(Object message)
- {
- doLog(JBossLevel.TRACE, message, null);
- }
-
- public void trace(Object message, Throwable t)
- {
- doLog(JBossLevel.TRACE, message, t);
- }
-
- @Deprecated
- public boolean isDebugEnabled()
- {
- return log.isLoggable(JBossLevel.DEBUG);
- }
-
- public void debug(Object message)
- {
- doLog(JBossLevel.DEBUG, message, null);
- }
-
- public void debug(Object message, Throwable t)
- {
- doLog(JBossLevel.DEBUG, message, t);
- }
-
- @Deprecated
- public boolean isInfoEnabled()
- {
- return log.isLoggable(JBossLevel.INFO);
- }
-
- public void info(Object message)
- {
- doLog(JBossLevel.INFO, message, null);
- }
-
- public void info(Object message, Throwable t)
- {
- doLog(JBossLevel.INFO, message, t);
- }
-
- public void warn(Object message)
- {
- doLog(JBossLevel.WARN, message, null);
- }
-
- public void warn(Object message, Throwable t)
- {
- doLog(JBossLevel.WARN, message, t);
- }
-
- public void error(Object message)
- {
- doLog(JBossLevel.ERROR, message, null);
- }
-
- public void error(Object message, Throwable t)
- {
- doLog(JBossLevel.ERROR, message, t);
- }
-
- public void fatal(Object message)
- {
- doLog(JBossLevel.FATAL, message, null);
- }
-
- public void fatal(Object message, Throwable t)
- {
- doLog(JBossLevel.FATAL, message, t);
- }
-
- public NDCProvider getNDCProvider()
- {
- return new JDKNDCProvider();
- }
-
- public MDCProvider getMDCProvider()
- {
- return new JDKMDCProvider();
- }
-}
Copied: common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java (from rev 3149, common-logging-jdk/trunk/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java)
===================================================================
--- common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java (rev 0)
+++ common-logging-jdk/tags/2.1.0.GA/src/main/java/org/jboss/logging/jdk/JDK14LoggerPlugin.java 2009-05-12 00:17:55 UTC (rev 3163)
@@ -0,0 +1,175 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.jdk;
+
+import org.jboss.logging.LoggerPlugin;
+import org.jboss.logging.MDCProvider;
+import org.jboss.logging.MDCSupport;
+import org.jboss.logging.NDCProvider;
+import org.jboss.logging.NDCSupport;
+
+import java.util.logging.Level;
+import java.util.logging.LogRecord;
+import java.util.logging.Logger;
+
+/** An example LoggerPlugin which uses the JDK java.util.logging framework.
+ *
+ * @author Scott.Stark at jboss.org
+ * @version $Revison:$
+ */
+public class JDK14LoggerPlugin implements LoggerPlugin, MDCSupport, NDCSupport
+{
+ private Logger log;
+ private String name;
+
+ public void init(String name)
+ {
+ this.name = name;
+ log = Logger.getLogger(name);
+ }
+
+ private void doLog(Level level, Object message, Throwable t) {
+ LogRecord record = new LogRecord(level, message.toString());
+ record.setLoggerName(name);
+ record.setThrown(t);
+ record.setSourceMethodName(null); // prevent expensive, yet pointless, lookup
+ log.log(record);
+ }
+
+ public boolean isTraceEnabled()
+ {
+ return log.isLoggable(JBossLevel.TRACE);
+ }
+
+ public void trace(Object message)
+ {
+ doLog(JBossLevel.TRACE, message, null);
+ }
+
+ public void trace(Object message, Throwable t)
+ {
+ doLog(JBossLevel.TRACE, message, t);
+ }
+
+ public void trace(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.TRACE, message, t);
+ }
+
+ @Deprecated
+ public boolean isDebugEnabled()
+ {
+ return log.isLoggable(JBossLevel.DEBUG);
+ }
+
+ public void debug(Object message)
+ {
+ doLog(JBossLevel.DEBUG, message, null);
+ }
+
+ public void debug(Object message, Throwable t)
+ {
+ doLog(JBossLevel.DEBUG, message, t);
+ }
+
+ public void debug(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.DEBUG, message, t);
+ }
+
+ @Deprecated
+ public boolean isInfoEnabled()
+ {
+ return log.isLoggable(JBossLevel.INFO);
+ }
+
+ public void info(Object message)
+ {
+ doLog(JBossLevel.INFO, message, null);
+ }
+
+ public void info(Object message, Throwable t)
+ {
+ doLog(JBossLevel.INFO, message, t);
+ }
+
+ public void info(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.INFO, message, t);
+ }
+
+ public void warn(Object message)
+ {
+ doLog(JBossLevel.WARN, message, null);
+ }
+
+ public void warn(Object message, Throwable t)
+ {
+ doLog(JBossLevel.WARN, message, t);
+ }
+
+ public void warn(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.WARN, message, t);
+ }
+
+ public void error(Object message)
+ {
+ doLog(JBossLevel.ERROR, message, null);
+ }
+
+ public void error(Object message, Throwable t)
+ {
+ doLog(JBossLevel.ERROR, message, t);
+ }
+
+ public void error(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.ERROR, message, t);
+ }
+
+ public void fatal(Object message)
+ {
+ doLog(JBossLevel.FATAL, message, null);
+ }
+
+ public void fatal(Object message, Throwable t)
+ {
+ doLog(JBossLevel.FATAL, message, t);
+ }
+
+ public void fatal(String loggerFcqn, Object message, Throwable t)
+ {
+ doLog(JBossLevel.FATAL, message, t);
+ }
+
+ public NDCProvider getNDCProvider()
+ {
+ return new JDKNDCProvider();
+ }
+
+ public MDCProvider getMDCProvider()
+ {
+ return new JDKMDCProvider();
+ }
+}
More information about the jboss-svn-commits
mailing list