Maven is a Software Project Management tool (http://maven.apache.org). One of the primary benefits of supporting and possibly migrating to Maven is generation of the log4j web site allowing the current unmaintainable site generation code to slowly fade away. To build log4j with Maven 2.x (as of the initial commit on this bug): 1. Install Maven 2.0.x 2. Obtain required Sun Jars and install mvn install:install-file -Dfile=jaf-1.0.2/activation.jar \ -DgroupId=javax.activation \ -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar mvn install:install-file -Dfile=javamail-1.3.2/mail.jar \ -DgroupId=javax.mail \ -DartifactId=mail -Dversion=1.3.3 -Dpackaging=jar mvn install:install-file -Dfile=jms1.1/lib/jms.jar \ -DgroupId=javax.jms \ -DartifactId=jms -Dversion=1.1 -Dpackaging=jar mvn install:install-file -Dfile=jmx-1_2_1-bin/lib/jmxri.jar \ -DgroupId=com.sun.jmx \ -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar 3. Build log4j.jar mvn jar:jar 4. Build site mvn site
Unmaintainable? Really? The site generate uses the same mechnism as Jakarta itself. So, I would not treat it as completely alien. Second, have you tried to modify anything and were not successul? I cannot recall any such attempt but that might be just me.
I'm reopening the bug and starting a discussion on log4j-dev. Marking the bug as resolved/fixed isn't appropriate, it either needs to be changed to WONTFIX and the changes that Mark and I have made rolled back or left open for additional work to be done. At the present time the Maven work is experimental and does not disrupt the existing site generation code or build process.
I had to add the following to the pom.xml to get it to build: <dependency> <groupId>com.sun.jdmk</groupId> <artifactId>jmxtools</artifactId> <version>1.2.1</version> </dependency> Install the jar using the following: mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=/.../jmx-1_2_1-bin/lib/jmxtools.jar
Created attachment 19125 [details] Patch to add jmdk as dependency Patch to add this dependency.
Closing in prep for 1.2.15 release.