Author: nbelaevski
Date: 2010-06-01 16:38:21 -0400 (Tue, 01 Jun 2010)
New Revision: 17456
Added:
root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml
Modified:
root/examples/richfaces-showcase/trunk/pom.xml
Log:
richfaces-showcase:
- jaxb-api moved into jdk5-activated profile
- log4j.xml for INFO+ messages added
Modified: root/examples/richfaces-showcase/trunk/pom.xml
===================================================================
--- root/examples/richfaces-showcase/trunk/pom.xml 2010-06-01 20:36:23 UTC (rev 17455)
+++ root/examples/richfaces-showcase/trunk/pom.xml 2010-06-01 20:38:21 UTC (rev 17456)
@@ -29,12 +29,6 @@
<version>4.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.2</version>
- </dependency>
-
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
@@ -64,6 +58,20 @@
</build>
<profiles>
+ <profile>
+ <id>jdk5</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.2</version>
+ </dependency>
+ </dependencies>
+ </profile>
<profile>
<id>release</id>
<build>
Added: root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml
===================================================================
--- root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml
(rev 0)
+++ root/examples/richfaces-showcase/trunk/src/main/resources/log4j.xml 2010-06-01
20:38:21 UTC (rev 17456)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/">
+ <appender name="console"
class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"
/>
+ </layout>
+ </appender>
+ <root>
+ <priority value="info" />
+ <appender-ref ref="console" />
+ </root>
+
+</log4j:configuration>
\ No newline at end of file