Commits

Zemian Deng  committed 02270a9

Clena up pom.xml and testing log4j.props.

  • Participants
  • Parent commits b968961

Comments (0)

Files changed (3)

File timemachine-spring/config/log4j.properties

+# Copyright 2012 Zemian Deng
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#    http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Define a standard output appender
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+#log4j.appender.CONSOLE.layout.conversionPattern=%d{HH:mm:ss} %t %p %c{1}:%L| %m%n
+log4j.appender.CONSOLE.layout.conversionPattern=%d{HH:mm:ss} %p| %m%n
+
+# Define the root logger/global logging level with all appenders, default to use INFO level.
+log4j.rootLogger = INFO, CONSOLE
+
+# TimeMachine scheduler application
+log4j.logger.timemachine.scheduler = INFO

File timemachine-spring/pom.xml

 	<build>
 		<plugins>
 			<plugin>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<version>2.3.2</version>
-				<configuration>
-					<source>1.6</source>
-					<target>1.6</target>
-				</configuration>
-			</plugin>
-			<plugin>
 				<artifactId>maven-assembly-plugin</artifactId>
 				<version>2.3</version>
 				<executions>
 			<scope>runtime</scope>
 			<optional>true</optional>
 		</dependency>
-		
-		<!-- Testing libraries -->
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.10</version>
-		</dependency>
+	
 	</dependencies>
 	
 </project>

File timemachine-spring/src/main/resources/log4j.properties

-# Copyright 2012 Zemian Deng
-# 
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# 
-#    http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Define a standard output appender
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-#log4j.appender.CONSOLE.layout.conversionPattern=%d{HH:mm:ss} %t %p %c{1}:%L| %m%n
-log4j.appender.CONSOLE.layout.conversionPattern=%d{HH:mm:ss} %p| %m%n
-
-# Define the root logger/global logging level with all appenders, default to use INFO level.
-log4j.rootLogger = INFO, CONSOLE
-
-# TimeMachine scheduler application
-log4j.logger.timemachine.scheduler = INFO