Author: carnold
Date: Fri Apr 20 18:39:57 2007
New Revision: 530965

URL: http://svn.apache.org/viewvc?view=rev&rev=530965
Log:
Bug 42102: Added site content and build.xml

Added:
    logging/sandbox/log4j/receivers/build.xml
      - copied, changed from r530957, 
logging/sandbox/log4j/expression-filter/build.xml
    logging/sandbox/log4j/receivers/src/changes/
      - copied from r530957, logging/sandbox/log4j/component/src/changes/
    logging/sandbox/log4j/receivers/src/site/
      - copied from r530957, logging/sandbox/log4j/component/src/site/
    logging/sandbox/log4j/receivers/src/test/
    logging/sandbox/log4j/receivers/src/test/java/
    logging/sandbox/log4j/receivers/src/test/java/org/
    logging/sandbox/log4j/receivers/src/test/java/org/apache/
    logging/sandbox/log4j/receivers/src/test/java/org/apache/log4j/
    logging/sandbox/log4j/receivers/src/test/java/org/apache/log4j/helpers/
    logging/sandbox/log4j/receivers/src/test/resources/
Modified:
    logging/sandbox/log4j/receivers/pom.xml

Copied: logging/sandbox/log4j/receivers/build.xml (from r530957, 
logging/sandbox/log4j/expression-filter/build.xml)
URL: 
http://svn.apache.org/viewvc/logging/sandbox/log4j/receivers/build.xml?view=diff&rev=530965&p1=logging/sandbox/log4j/expression-filter/build.xml&r1=530957&p2=logging/sandbox/log4j/receivers/build.xml&r2=530965
==============================================================================
--- logging/sandbox/log4j/expression-filter/build.xml (original)
+++ logging/sandbox/log4j/receivers/build.xml Fri Apr 20 18:39:57 2007
@@ -39,14 +39,20 @@
     <property name="log4j.version" value="1.2.14"/>
     <property name="junit.version" value="3.8.1"/>
        <property name="oro.version" value="2.0.8"/>
+       <property name="component.version" value="0.1-SNAPSHOT"/>
+       <property name="jms.version" value="1.1"/>
        
        <!--  Dependency locations - assumed to be in Maven 2 repository   -->
     <property name="junit.jar" 
        
location="${m2_repo}/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
     <property name="log4j.jar" 
        
location="${m2_repo}/log4j/log4j/${log4j.version}/log4j-${log4j.version}.jar"/>
+    <property name="component.jar" 
+       
location="${m2_repo}/log4j/apache-log4j-component/${component.version}/apache-log4j-component-${component.version}.jar"/>
     <property name="oro.jar" 
        location="${m2_repo}/oro/oro/${oro.version}/oro-${oro.version}.jar"/>
+    <property name="jms.jar"
+          
location="${m2_repo}/javax/jms/jms/${jms.version}/jms-${jms.version}.jar"/>
 
     <!--   Java compiler settings   -->
     <property name="javac.source" value="1.3"/>
@@ -60,7 +66,13 @@
        <delete dir="target"/>
     </target>
     
-    
+    <path id="compile-classpath" 
path="${log4j.jar}:${oro.jar}:${component.jar}:${jms.jar}"/>
+       <path id="test-classpath">
+               <path refid="compile-classpath"/>
+               <pathelement location="target/classes"/>
+               <pathelement location="${junit.jar}"/>
+       </path>
+       
     <target name="compile" depends="init" description="Compile implementation 
files">
         <mkdir dir="target/classes"/>
        <javac destdir="target/classes"
@@ -69,7 +81,7 @@
           debug="${javac.debug}"
           target="${javac.target}"
           source="${javac.source}"
-          classpath="${log4j.jar}:${oro.jar}"/>
+          classpathref="compile-classpath"/>
        <copy todir="target/classes">
            <fileset dir="src/main/resources"/>
        </copy>
@@ -100,7 +112,7 @@
           debug="${javac.debug}"
           target="${javac.target}"
           source="${javac.source}"
-          classpath="${log4j.jar}:${junit.jar}:${oro.jar}:target/classes"/>
+          classpathref="test-classpath"/>
        <copy todir="target/test-classes">
                <fileset dir="src/test/resources"/>
        </copy>
@@ -109,7 +121,10 @@
 
     <target name="test" depends="test-compile" description="Run unit tests">
        <junit printsummary="yes" fork="yes" dir="target">
-           <classpath 
path="target/test-classes:target/classes:${log4j.jar}:${oro.jar}"/>
+           <classpath>
+                               <path refid="test-classpath"/>
+                               <pathelement path="target/test-classes"/>
+                       </classpath>
                <batchtest>
                        <fileset dir="src/test/java/">
                                <include name="**/*TestCase.java"/>

Modified: logging/sandbox/log4j/receivers/pom.xml
URL: 
http://svn.apache.org/viewvc/logging/sandbox/log4j/receivers/pom.xml?view=diff&rev=530965&r1=530964&r2=530965
==============================================================================
--- logging/sandbox/log4j/receivers/pom.xml (original)
+++ logging/sandbox/log4j/receivers/pom.xml Fri Apr 20 18:39:57 2007
@@ -22,13 +22,17 @@
   <artifactId>apache-log4j-receivers</artifactId>
   <packaging>jar</packaging>
   <version>0.1-SNAPSHOT</version>
-  <name>apache-log4j-receivers</name>
-  <description>Event receivers for log4j 1.2</description>
-  <url>http://logging.apache.org</url>
+  <name>Apache Receivers Companion for log4j 1.2.</name>
+  <description>This companion provides a collection of receivers from the 
log4j 1.3 project for use with log4j 1.2.</description>
+  <url>http://logging.apache.org/log4j/companions/receivers</url>
   <issueManagement>
     <system>Bugzilla</system>
     <url>http://issues.apache.org/bugzilla</url>
   </issueManagement>
+  <ciManagement>
+               <system>Gump</system>
+                
<url>http://vmgump.apache.org/gump/public/logging-log4j-receivers/logging-log4j-receivers/index.html</url>
+  </ciManagement>
 <mailingLists>
        <mailingList>
                <name>log4j-user</name>
@@ -53,6 +57,19 @@
                </otherArchives>
        </mailingList>
 </mailingLists>
+<developers>
+    <developer>
+       <id>carnold</id>
+       <name>Curt Arnold</name>
+       <email>[EMAIL PROTECTED]</email>
+       <timezone>-6</timezone>
+    </developer>
+    <developer>
+       <id>psmith</id>
+       <name>Paul Smith</name>
+       <email>[EMAIL PROTECTED]</email>
+    </developer>
+ </developers>
 <licenses>
        <license>
                <name>Apache License, Version 2.0</name>
@@ -88,6 +105,19 @@
             <target>1.3</target>
         </configuration>
       </plugin>
+       <!-- clean stray cobertura.ser -->
+  <plugin> 
+   <groupId>org.codehaus.mojo</groupId> 
+   <artifactId>cobertura-maven-plugin</artifactId> 
+   <executions> 
+    <execution> 
+     <id>clean</id> 
+     <goals> 
+      <goal>clean</goal> 
+     </goals> 
+    </execution> 
+   </executions> 
+  </plugin> 
     </plugins>
 </build>
   <dependencies>
@@ -109,7 +139,7 @@
     </dependency>    
     <dependency>
       <groupId>log4j</groupId>
-      <artifactId>apache-log4j-expression-filter</artifactId>
+      <artifactId>apache-log4j-filters</artifactId>
       <version>0.1-SNAPSHOT</version>
     </dependency>
     <dependency>
@@ -142,8 +172,33 @@
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>jxr-maven-plugin</artifactId>
       </plugin>
+       <plugin> 
+               <groupId>org.codehaus.mojo</groupId> 
+               <artifactId>cobertura-maven-plugin</artifactId>
+               <!-- version 2.1 was flawed and reports 100% coverage  -->
+               <version>2.0</version>
+       </plugin> 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-changes-plugin</artifactId>
+       <reportSets>
+          <reportSet>
+            <reports>
+              <report>changes-report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+        <configuration>
+               
<issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+        </configuration>
+      </plugin>      
     </plugins>
   </reporting>
-  
+ <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      
<url>scp://people.apache.org/home/carnold/public_html/log4j/companions/receivers</url>
+    </site>
+  </distributionManagement> 
 </project>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to