logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject svn commit: r545442 - in /logging/chainsaw/trunk: HOWTOBUILD.txt pom.xml
Date Fri, 08 Jun 2007 06:54:42 GMT
Author: psmith
Date: Thu Jun  7 23:54:41 2007
New Revision: 545442

URL: http://svn.apache.org/viewvc?view=rev&rev=545442
Log:
Worked out how to embed the receiver javadoc.  Currently needs a manual
build of the javadoc via the receivers module, and then a local installation.

I've used 'apache-log4j-receivers-javadoc' as the artifactId.  Happy to change
it if anyone can suggest something different.

Not sure how javadoc is automatically deployed/referenced as a depencency, my guess
is that it's not that common for the javadoc to be a dependency.


Modified:
    logging/chainsaw/trunk/HOWTOBUILD.txt
    logging/chainsaw/trunk/pom.xml

Modified: logging/chainsaw/trunk/HOWTOBUILD.txt
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/HOWTOBUILD.txt?view=diff&rev=545442&r1=545441&r2=545442
==============================================================================
--- logging/chainsaw/trunk/HOWTOBUILD.txt (original)
+++ logging/chainsaw/trunk/HOWTOBUILD.txt Thu Jun  7 23:54:41 2007
@@ -1,8 +1,8 @@
 HOWTOBUILD.txt
 ==============
 
-For General Users
-=================
+For General Users & log4j developers
+=====================================
 Firstly, you'll need maven 2.0.4+ to build Chainsaw:
 
 http://maven.apache.org
@@ -19,9 +19,17 @@
 	
   In each of these checkout directories:
   	mvn install
+
   This will install into your local maven repository the correct SNAPSHOT releases of the
required dependencies. 
   These dependencies are not yet available in the standard maven repositories, and so failure
to complete this 
   step will prevent you from building Chainsaw.
+
+* Create the Receivers javadoc that needs to be embedded into chainsaw 
+
+  cd log4j-receivers
+  mvn package javadoc:jar
+
+  mvn install:install-file -DgroupId=log4j -DartifactId=apache-log4j-receivers-javadoc -Dpackaging=jar
-Dversion=0.1-SNAPSHOT -Dfile=target/apache-log4j-receivers-0.1-SNAPSHOT-javadoc.jar
 
 * Back into the log4j-chainsaw check where this document you are reading is placed:
 

Modified: logging/chainsaw/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/pom.xml?view=diff&rev=545442&r1=545441&r2=545442
==============================================================================
--- logging/chainsaw/trunk/pom.xml (original)
+++ logging/chainsaw/trunk/pom.xml Thu Jun  7 23:54:41 2007
@@ -194,6 +194,11 @@
     </dependency>
     <dependency>
       <groupId>log4j</groupId>
+      <artifactId>apache-log4j-receivers-javadoc</artifactId>
+      <version>0.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
       <version>1.2.15</version>
     </dependency>



Mime
View raw message