[LOGBack-dev] svn commit: r52 - logback/core/trunk

noreply.ceki at qos.ch noreply.ceki at qos.ch
Sat Jul 8 18:46:38 CEST 2006


Author: ceki
Date: Sat Jul  8 18:46:37 2006
New Revision: 52

Added:
   logback/core/trunk/build.properties
   logback/core/trunk/pom.xml
Modified:
   logback/core/trunk/build.xml
Log:
aligning ant build files to reflect changes caused by maven2 directory structure alignment

Added: logback/core/trunk/build.properties
==============================================================================
--- (empty file)
+++ logback/core/trunk/build.properties	Sat Jul  8 18:46:37 2006
@@ -0,0 +1 @@
+version=0.1
\ No newline at end of file

Modified: logback/core/trunk/build.xml
==============================================================================
--- logback/core/trunk/build.xml	(original)
+++ logback/core/trunk/build.xml	Sat Jul  8 18:46:37 2006
@@ -5,8 +5,8 @@
 	<!-- The base directory relative to which most targets are built -->
 	<property name="base" value="." />
 
-	<property name="source.home" value="./src/java/" />
-	<property name="javac.dest" value="./classes" />
+	<property name="source.home" value="./src/main/java/" />
+	<property name="javac.dest" value="./target/classes" />
 
 	<property name="deprecation" value="on" />
 	<property name="debug" value="on" />
@@ -74,9 +74,9 @@
 	      </fileset>
 	    </delete>
 
-	    <jar jarfile="logback-core.jar" basedir="${javac.dest}"
+	    <jar jarfile="logback-core-${version}.jar" basedir="${javac.dest}"
 	         includes="${stem}/**/*.class"
-	          excludes="**/UnitTest**">
+	          excludes="**/*Test**">
 
 	      <manifest>
 	        <section name="com/logback/core">

Added: logback/core/trunk/pom.xml
==============================================================================
--- (empty file)
+++ logback/core/trunk/pom.xml	Sat Jul  8 18:46:37 2006
@@ -0,0 +1,44 @@
+<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">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>qos.ch</groupId>
+  <artifactId>logback-core</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>Maven Quick Start Archetype</name>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <groupId>janino</groupId>
+      <artifactId>janino</artifactId>
+      <version>2.4.3</version>
+    </dependency>
+      
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  
+  
+   <build>
+    <plugins>
+	  <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+           <workingDirectory>${basedir}/src/test</workingDirectory>         
+          <excludes>
+          
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+   </build>
+    
+    
+</project>
\ No newline at end of file



More information about the logback-dev mailing list