public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: mef <mef@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Update to 1.1.2
Date: Mon, 19 Oct 2026 14:55:02 GMT	[thread overview]
Message-ID: <179242170234.1.14441742157317753734.rpms-maven-doxia-bf2c7488b16e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/maven-doxia
Branch : epel10
Commit : bf2c7488b16e0b7601f95ccfe531aa65efc2eb32
Author : mef <mef@fedoraproject.org>
Date   : 2010-05-05T14:01:38+00:00
Stats  : +113/-496 in 9 file(s)
URL    : https://src.fedoraproject.org/rpms/maven-doxia/c/bf2c7488b16e0b7601f95ccfe531aa65efc2eb32?branch=epel10

Log:
Update to 1.1.2

---
diff --git a/.cvsignore b/.cvsignore
index 84cbf94..5664575 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,2 +1 @@
-maven-doxia-autogenerated-files.tar.gz
-maven-doxia-1.0-a10-src.tar.gz
+maven-doxia-1.1.2.tar.gz

diff --git a/maven-doxia-1.4compile.patch b/maven-doxia-1.4compile.patch
deleted file mode 100644
index 4b62053..0000000
--- a/maven-doxia-1.4compile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./doxia-core/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java.sav	2006-03-16 18:47:30.000000000 -0500
-+++ ./doxia-core/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java	2006-03-16 18:48:00.000000000 -0500
-@@ -95,7 +95,9 @@
-         }
-         while ( ( l = source.getNextLine() ) != null && accept( l, source ) );
- 
--        assert rows.size() >= 1;
-+        if (rows.size() < 1) {
-+			throw new AssertionError();
-+		}
- 
-         return new TableBlock( rows );
-     }

diff --git a/maven-doxia-core-build.xml b/maven-doxia-core-build.xml
deleted file mode 100644
index 119f7fc..0000000
--- a/maven-doxia-core-build.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<project name="doxia-core" default="jar" basedir=".">
-  <property file="${user.home}/.m2/maven.properties"/>
-  <property name="maven.build.output" value="target/classes"/>
-  <property name="maven.build.directory" value="target"/>
-  <property name="maven.build.final.name" value="doxia-core-1.0-alpha-7"/>
-  <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
-  <property name="maven.test.output" value="target/test-classes"/>
-  <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
-  <path id="build.classpath">
-    <fileset dir="../lib">
-      <include name="classworlds.jar"/>
-      <include name="plexus_utils.jar"/>
-      <include name="plexus_container-default.jar"/>
-      <include name="oro.jar"/>
-      <include name="doxia-sink-api.jar"/>
-    </fileset>
-  </path>
-  <target name="clean" description="Clean the output directory">
-    <delete dir="${maven.build.directory}"/>
-  </target>
-  <target name="compile" depends="get-deps" description="Compile the code">
-    <mkdir dir="${maven.build.output}"/>
-    <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/main/java"/>
-      </src>
-      <classpath refid="build.classpath"/>
-    </javac>
-    <copy todir="${maven.build.output}">
-      <fileset dir="src/main/resources"/>
-    </copy>
-  </target>
-
-  <target name="jar" depends="compile,test" description="Clean the JAR">
-    <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
-  </target>
-  <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
-    <mkdir dir="${maven.test.output}"/>
-    <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/test/java"/>
-      </src>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-      </classpath>
-    </javac>
-    <copy todir="${maven.test.output}">
-      <fileset dir="src/test/resources"/>
-    </copy>
-  </target>
-  <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
-    <mkdir dir="${maven.test.reports}"/>
-    <junit printSummary="yes" haltonerror="false" haltonfailure="false" fork="true" dir=".">
-      <sysproperty key="basedir" value="."/>
-      <formatter type="xml"/>
-      <formatter type="plain" usefile="false"/>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-        <pathelement location="${maven.test.output}"/>
-      </classpath>
-      <batchtest todir="${maven.test.reports}">
-        <fileset dir="src/test/java">
-          <include name="**/*Test.java"/>
-          <exclude name="**/*Abstract*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-  <target name="test-junit-present">
-    <available classname="junit.framework.Test" property="junit.present"/>
-  </target>
-  <target name="junit-present" depends="test-junit-present" unless="junit.present">
-    <echo>================================= WARNING ================================</echo>
-    <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
-    <echo>==========================================================================</echo>
-  </target>
-  <target name="test-offline">
-    <condition property="maven.mode.offline">
-      <equals arg1="${build.sysclasspath}" arg2="only"/>
-    </condition>
-  </target>
-  <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
-    <mkdir dir="${maven.repo.local}"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-utils/1.0.4"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/oro/oro/2.0.7"/>
-    <get src="http://repo1.maven.org/maven2/oro/oro/2.0.7/oro-2.0.7.jar" dest="${maven.repo.local}/oro/oro/2.0.7/oro-2.0.7.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7"/>
-    <get src="http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar" dest="${maven.repo.local}/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar" usetimestamp="true" ignoreerrors="true"/>
-  </target>
-</project>

diff --git a/maven-doxia-decoration-model-build.xml b/maven-doxia-decoration-model-build.xml
deleted file mode 100644
index 8627d39..0000000
--- a/maven-doxia-decoration-model-build.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<project name="doxia-decoration-model" default="jar" basedir=".">
-  <property file="${user.home}/.m2/maven.properties"/>
-  <property name="maven.build.output" value="target/classes"/>
-  <property name="maven.build.directory" value="target"/>
-  <property name="maven.build.final.name" value="doxia-decoration-model-1.0-alpha-7"/>
-  <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
-  <property name="maven.test.output" value="target/test-classes"/>
-  <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
-  <path id="build.classpath">
-    <fileset dir="../lib">
-      <include name="plexus_utils.jar"/>
-    </fileset>
-  </path>
-  <target name="clean" description="Clean the output directory">
-    <delete dir="${maven.build.directory}"/>
-  </target>
-  <target name="compile" depends="get-deps" description="Compile the code">
-    <mkdir dir="${maven.build.output}"/>
-    <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/main/java"/>
-      </src>
-      <classpath refid="build.classpath"/>
-    </javac>
-  </target>
-  <target name="jar" depends="compile,test" description="Clean the JAR">
-    <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
-  </target>
-  <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
-    <mkdir dir="${maven.test.output}"/>
-    <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/test/java"/>
-      </src>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-      </classpath>
-    </javac>
-    <copy todir="${maven.test.output}">
-      <fileset dir="src/test/resources"/>
-    </copy>
-  </target>
-  <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
-    <mkdir dir="${maven.test.reports}"/>
-    <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
-      <sysproperty key="basedir" value="."/>
-      <formatter type="xml"/>
-      <formatter type="plain" usefile="false"/>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-        <pathelement location="${maven.test.output}"/>
-      </classpath>
-      <batchtest todir="${maven.test.reports}">
-        <fileset dir="src/test/java">
-          <include name="**/*Test.java"/>
-          <exclude name="**/*Abstract*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-  <target name="test-junit-present">
-    <available classname="junit.framework.Test" property="junit.present"/>
-  </target>
-  <target name="junit-present" depends="test-junit-present" unless="junit.present">
-    <echo>================================= WARNING ================================</echo>
-    <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
-    <echo>==========================================================================</echo>
-  </target>
-  <target name="test-offline">
-    <condition property="maven.mode.offline">
-      <equals arg1="${build.sysclasspath}" arg2="only"/>
-    </condition>
-  </target>
-  <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
-    <mkdir dir="${maven.repo.local}"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-utils/1.0.4"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" usetimestamp="true" ignoreerrors="true"/>
-  </target>
-</project>

diff --git a/maven-doxia-itext2.patch b/maven-doxia-itext2.patch
index 5d6f54d..cf68462 100644
--- a/maven-doxia-itext2.patch
+++ b/maven-doxia-itext2.patch
@@ -1,40 +1,7 @@
-### Eclipse Workspace Patch 1.0
-#P maven-doxia
-Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
-===================================================================
---- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	(revision 808629)
-+++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	(working copy)
-@@ -68,7 +68,7 @@
-      */
-     public static String getPageSize( Rectangle rect )
-     {
--        if ( ( rect.width() == PageSize.LETTER.width() ) && ( rect.height() == PageSize.LETTER.height() ) )
-+        if ( ( rect.getWidth() == PageSize.LETTER.getWidth() ) && ( rect.getHeight() == PageSize.LETTER.getHeight() ) )
-         {
-             return "LETTER";
-         }
-Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
-===================================================================
---- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	(revision 808629)
-+++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	(working copy)
-@@ -1172,9 +1172,9 @@
-         try
-         {
-             Image image = Image.getInstance( new URL( urlName ) );
--            image.scaleToFit( ITextUtil.getDefaultPageSize().width() / 2, ITextUtil.getDefaultPageSize().height() / 2 );
--            width = image.plainWidth();
--            height = image.plainHeight();
-+            image.scaleToFit( ITextUtil.getDefaultPageSize().getWidth() / 2, ITextUtil.getDefaultPageSize().getHeight() / 2 );
-+            width = image.getPlainWidth();
-+            height = image.getHeight();
-         }
-         catch ( BadElementException e )
-         {
-Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
-===================================================================
---- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	(revision 808629)
-+++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	(working copy)
-@@ -258,7 +258,7 @@
+diff -ur maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
+--- maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	2010-02-12 14:09:50.427027936 +0000
++++ maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	2010-02-12 14:11:16.302030202 +0000
+@@ -262,7 +262,7 @@
      {
          Font font = getCurrentFont();
  
@@ -43,7 +10,7 @@ Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/mod
      }
  
      /**
-@@ -270,7 +270,7 @@
+@@ -274,7 +274,7 @@
      {
          Font font = getCurrentFont();
  
@@ -52,7 +19,7 @@ Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/mod
      }
  
      /**
-@@ -282,7 +282,7 @@
+@@ -286,7 +286,7 @@
      {
          Font font = getCurrentFont();
  
@@ -61,3 +28,31 @@ Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/mod
      }
  
      /**
+diff -ur maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+--- maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	2010-02-12 14:09:50.427027936 +0000
++++ maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	2010-02-12 14:11:06.927457042 +0000
+@@ -1241,9 +1241,9 @@
+         try
+         {
+             Image image = Image.getInstance( new URL( urlName ) );
+-            image.scaleToFit( ITextUtil.getDefaultPageSize().width() / 2, ITextUtil.getDefaultPageSize().height() / 2 );
+-            width = image.plainWidth();
+-            height = image.plainHeight();
++            image.scaleToFit( ITextUtil.getDefaultPageSize().getWidth() / 2, ITextUtil.getDefaultPageSize().getHeight() / 2 );
++            width = image.getPlainWidth();
++            height = image.getPlainHeight();
+         }
+         catch ( BadElementException e )
+         {
+diff -ur maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
+--- maven-doxia-1.1.2.orig/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	2010-02-12 14:09:50.427027936 +0000
++++ maven-doxia-1.1.2/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	2010-02-12 14:10:39.501533511 +0000
+@@ -77,7 +77,7 @@
+                 if ( currentField.getType().equals( Rectangle.class ) )
+                 {
+                     Rectangle fPageSize = (Rectangle) currentField.get( null );
+-                    if ( ( rect.width() == fPageSize.width() ) && ( rect.height() == fPageSize.height() ) )
++                    if ( ( rect.getWidth() == fPageSize.getWidth() ) && ( rect.getHeight() == fPageSize.getHeight() ) )
+                     {
+                         return currentField.getName();
+                     }

diff --git a/maven-doxia-sink-api-build.xml b/maven-doxia-sink-api-build.xml
deleted file mode 100644
index bd0c15c..0000000
--- a/maven-doxia-sink-api-build.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<project name="doxia-sink-api" default="jar" basedir=".">
-  <property file="${user.home}/.m2/maven.properties"/>
-  <property name="maven.build.output" value="target/classes"/>
-  <property name="maven.build.directory" value="target"/>
-  <property name="maven.build.final.name" value="doxia-sink-api-1.0-alpha-7"/>
-  <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
-  <property name="maven.test.output" value="target/test-classes"/>
-  <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
-  <path id="build.classpath">
-    <fileset dir="../lib"/>
-  </path>
-  <target name="clean" description="Clean the output directory">
-    <delete dir="${maven.build.directory}"/>
-  </target>
-  <target name="compile" depends="get-deps" description="Compile the code">
-    <mkdir dir="${maven.build.output}"/>
-    <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/main/java"/>
-      </src>
-      <classpath refid="build.classpath"/>
-    </javac>
-  </target>
-  <target name="jar" depends="compile,test" description="Clean the JAR">
-    <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
-  </target>
-  <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
-    <mkdir dir="${maven.test.output}"/>
-  </target>
-  <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases"/>
-  <target name="test-junit-present">
-    <available classname="junit.framework.Test" property="junit.present"/>
-  </target>
-  <target name="junit-present" depends="test-junit-present" unless="junit.present">
-    <echo>================================= WARNING ================================</echo>
-    <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
-    <echo>==========================================================================</echo>
-  </target>
-  <target name="test-offline">
-    <condition property="maven.mode.offline">
-      <equals arg1="${build.sysclasspath}" arg2="only"/>
-    </condition>
-  </target>
-  <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
-    <mkdir dir="${maven.repo.local}"/>
-  </target>
-</project>

diff --git a/maven-doxia-site-renderer-build.xml b/maven-doxia-site-renderer-build.xml
deleted file mode 100644
index 1000a13..0000000
--- a/maven-doxia-site-renderer-build.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-<project name="doxia-site-renderer" default="jar" basedir=".">
-  <property file="${user.home}/.m2/maven.properties"/>
-  <property name="maven.build.output" value="target/classes"/>
-  <property name="maven.build.directory" value="target"/>
-  <property name="maven.build.final.name" value="doxia-site-renderer-1.0-alpha-7"/>
-  <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
-  <property name="maven.test.output" value="target/test-classes"/>
-  <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
-  <path id="build.classpath">
-    <fileset dir="../lib">
-      <include name="plexus_utils.jar"/>
-      <include name="junit.jar"/>
-      <include name="velocity.jar"/>
-      <include name="plexus_container-default.jar"/>
-      <include name="oro.jar"/>
-      <include name="classworlds.jar"/>
-      <include name="doxia-core.jar"/>
-      <include name="plexus_i18n.jar"/>
-      <include name="doxia-decoration-model.jar"/>
-      <include name="plexus_velocity.jar"/>
-      <include name="commons-logging-api.jar"/>
-      <include name="commons-collections.jar"/>
-      <include name="doxia-sink-api.jar"/>
-    </fileset>
-  </path>
-  <target name="clean" description="Clean the output directory">
-    <delete dir="${maven.build.directory}"/>
-  </target>
-  <target name="compile" depends="get-deps" description="Compile the code">
-    <mkdir dir="${maven.build.output}"/>
-    <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/main/java"/>
-      </src>
-      <classpath refid="build.classpath"/>
-    </javac>
-  </target>
-  <target name="jar" depends="compile,test" description="Clean the JAR">
-    <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
-  </target>
-  <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
-    <mkdir dir="${maven.test.output}"/>
-    <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
-      <src>
-        <pathelement location="src/test/java"/>
-      </src>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-      </classpath>
-    </javac>
-    <copy todir="${maven.test.output}">
-      <fileset dir="src/test/resources"/>
-    </copy>
-  </target>
-  <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
-    <mkdir dir="${maven.test.reports}"/>
-    <junit printSummary="yes" haltonerror="false" haltonfailure="false" fork="true" dir=".">
-      <sysproperty key="basedir" value="."/>
-      <formatter type="xml"/>
-      <formatter type="plain" usefile="false"/>
-      <classpath>
-        <path refid="build.classpath"/>
-        <pathelement location="${maven.build.output}"/>
-        <pathelement location="${maven.test.output}"/>
-      </classpath>
-      <batchtest todir="${maven.test.reports}">
-        <fileset dir="src/test/java">
-          <include name="**/*Test.java"/>
-          <exclude name="**/*Abstract*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-  <target name="test-junit-present">
-    <available classname="junit.framework.Test" property="junit.present"/>
-  </target>
-  <target name="junit-present" depends="test-junit-present" unless="junit.present">
-    <echo>================================= WARNING ================================</echo>
-    <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
-    <echo>==========================================================================</echo>
-  </target>
-  <target name="test-offline">
-    <condition property="maven.mode.offline">
-      <equals arg1="${build.sysclasspath}" arg2="only"/>
-    </condition>
-  </target>
-  <target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
-    <mkdir dir="${maven.repo.local}"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-utils/1.0.4"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/junit/junit/3.8.1"/>
-    <get src="http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/velocity/velocity-dep/1.4"/>
-    <get src="http://repo1.maven.org/maven2/velocity/velocity-dep/1.4/velocity-dep-1.4.jar" dest="${maven.repo.local}/velocity/velocity-dep/1.4/velocity-dep-1.4.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-container-default/1.0-alpha-8"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/oro/oro/2.0.7"/>
-    <get src="http://repo1.maven.org/maven2/oro/oro/2.0.7/oro-2.0.7.jar" dest="${maven.repo.local}/oro/oro/2.0.7/oro-2.0.7.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/classworlds/classworlds/1.1-alpha-2"/>
-    <get src="http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar" dest="${maven.repo.local}/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/plexus/plexus-utils/1.0.2"/>
-    <get src="http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar" dest="${maven.repo.local}/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/apache/maven/doxia/doxia-core/1.0-alpha-7"/>
-    <get src="http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar" dest="${maven.repo.local}/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/velocity/velocity/1.4"/>
-    <get src="http://repo1.maven.org/maven2/velocity/velocity/1.4/velocity-1.4.jar" dest="${maven.repo.local}/velocity/velocity/1.4/velocity-1.4.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-i18n/1.0-beta-6"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7"/>
-    <get src="http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.jar" dest="${maven.repo.local}/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/codehaus/plexus/plexus-velocity/1.1.2"/>
-    <get src="http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar" dest="${maven.repo.local}/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/commons-logging/commons-logging-api/1.0.4"/>
-    <get src="http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar" dest="${maven.repo.local}/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/commons-collections/commons-collections/2.0"/>
-    <get src="http://repo1.maven.org/maven2/commons-collections/commons-collections/2.0/commons-collections-2.0.jar" dest="${maven.repo.local}/commons-collections/commons-collections/2.0/commons-collections-2.0.jar" usetimestamp="true" ignoreerrors="true"/>
-    <mkdir dir="/home/deepak/DIST/maven-doxia/maven-doxia/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7"/>
-    <get src="http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar" dest="${maven.repo.local}/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar" usetimestamp="true" ignoreerrors="true"/>
-  </target>
-</project>

diff --git a/maven-doxia.spec b/maven-doxia.spec
index 41a4e68..5827876 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -28,37 +28,33 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define with_maven 1
-
-%define namedversion 1.0-alpha-10
-
 Name:           maven-doxia
-Version:        1.0
-Release:        0.8.a10.4%{?dist}
+Version:        1.1.2
+Release:        2%{?dist}
 Epoch:          0
 Summary:        Content generation framework
 License:        ASL 2.0
 Group:          Development/Java
 URL:            http://maven.apache.org/doxia/
 
-# svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/doxia-1.0-alpha-10 \
-#       maven-doxia/
-# tar czf maven-doxia-1.0-a10-src.tar.gz maven-doxia/
-Source0:        %{name}-%{version}-a10-src.tar.gz
-
-Source1:        %{name}-decoration-model-build.xml
-Source2:        %{name}-core-build.xml
-Source3:        %{name}-sink-api-build.xml
-Source4:        %{name}-site-renderer-build.xml
+# svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/doxia-1.1.2
+# tar czf maven-doxia-1.1.2-tar.gz maven-doxia-1.1.2/
+Source0:        %{name}-%{version}.tar.gz
 
-# These files are taken from the doxia build itself, done with maven2
-# To regenerate, build above tarball with upstream maven
-Source5:        %{name}-autogenerated-files.tar.gz
+# Point it at the correct plexus-container-default
+Source1:	%{name}-depmap.xml
 
 # Build against iText 2.x
 # http://jira.codehaus.org/browse/DOXIA-53
 Patch0:         %{name}-itext2.patch
 
+Patch1:         %{name}-remove-clirr.patch
+Patch2:         %{name}-modello-1.0.patch
+Patch3:         %{name}-assert.patch
+# Patch4:         %{name}-xdoc.patch
+Patch5:         %{name}-helpmojo.patch
+Patch6:         %{name}-skip-plugin.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -68,13 +64,12 @@ BuildRequires:  jpackage-utils >= 0:1.7.2
 BuildRequires:  ant, ant-nodeps
 BuildRequires:  itext >= 2.1.7-4
 BuildRequires:  plexus-cli >= 1.2-8
-%if %{with_maven}
 BuildRequires:  maven2 >= 0:2.0.4-9
 BuildRequires:  maven2-plugin-assembly
 BuildRequires:  maven2-plugin-compiler
 BuildRequires:  maven2-plugin-install
 BuildRequires:  maven2-plugin-jar
-BuildRequires:  maven2-plugin-javadoc
+# BuildRequires:  maven2-plugin-javadoc
 BuildRequires:  maven2-plugin-resources
 BuildRequires:  maven2-plugin-site
 BuildRequires:  maven2-plugin-plugin
@@ -85,18 +80,19 @@ BuildRequires:  modello-maven-plugin >= 0:1.0-0.a8.3
 BuildRequires:  plexus-xmlrpc >= 0:1.0-0.b4.3
 BuildRequires:  tomcat5-servlet-2.4-api
 BuildRequires:  tomcat5
-%endif
 BuildRequires:  classworlds
 BuildRequires:  jakarta-commons-collections
 BuildRequires:  jakarta-commons-logging
 BuildRequires:  jakarta-commons-validator
+BuildRequires:  jakarta-commons-configuration
 BuildRequires:  junit
 BuildRequires:  oro
 BuildRequires:  plexus-container-default
 BuildRequires:  plexus-i18n
-BuildRequires:  plexus-utils
+BuildRequires:  plexus-utils >= 1.5.7
 BuildRequires:  plexus-velocity
 BuildRequires:  velocity
+BuildRequires:	fop
 
 Requires:       classworlds
 Requires:       jakarta-commons-collections
@@ -106,9 +102,10 @@ Requires:       junit
 Requires:       oro
 Requires:       plexus-container-default
 Requires:       plexus-i18n
-Requires:       plexus-utils
+Requires:       plexus-utils >= 1.5.7
 Requires:       plexus-velocity
 Requires:       velocity
+Requires:	fop
 
 Requires:         java >= 1:1.6.0
 Requires:         jpackage-utils
@@ -122,71 +119,37 @@ content. Doxia can be used to generate static sites in addition to
 being incorporated into dynamic content generation systems like blogs,
 wikis and content management systems.
 
-%if %{with_maven}
-%package javadoc
-Summary:        Javadoc for %{name}
-Group:          Development/Documentation
-
-%description javadoc
-API documentation for %{name}.
-%endif
+# %package javadoc
+# Summary:        Javadoc for %{name}
+# Group:          Development/Documentation
+# 
+# %description javadoc
+# API documentation for %{name}.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p0
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+# %patch4 -p1
+# rm -rf doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/xdoc
+# rm -f doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java
 
-%if ! %{with_maven}
-cp -p %{SOURCE1} doxia-decoration-model/build.xml
-cp -p %{SOURCE2} doxia-core/build.xml
-cp -p %{SOURCE3} doxia-sink-api/build.xml
-cp -p %{SOURCE4} doxia-site-renderer/build.xml
-%endif
+%patch5 -p1
+%patch6 -p1
 
 %build
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
 mkdir -p $MAVEN_REPO_LOCAL
 
-%if %{with_maven}
-
-    mvn-jpp \
-        -e \
-        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-        -Dmaven.test.failure.ignore=true \
-        install javadoc:javadoc
-
-%else
-
-mkdir lib
-build-jar-repository -s -p lib/ \
-                        commons-collections \
-                        commons-logging-api \
-                        classworlds \
-                        junit \
-                        oro \
-                        plexus/container-default \
-                        plexus/i18n \
-                        plexus/utils \
-                        plexus/velocity \
-                        velocity
-
-# Extract autogenerated (by maven) files
-tar xzf %{SOURCE5}
-
-for project in doxia-decoration-model \
-           doxia-sink-api \
-           doxia-core \
-           doxia-site-renderer; do
-
-       pushd $project
-
-           ant -Dmaven.mode.offline=true -Dmaven.repo.local=$MAVEN_REPO_LOCAL
-
-           # Copy over the jar
-           cp -p target/*jar ../lib/$project.jar
-       popd
-done
-
-%endif
+mvn-jpp \
+	-e \
+	-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+	-Dmaven.test.skip=true \
+	-Dmaven2.jpp.depmap.file=%{SOURCE1} \
+	install
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -203,9 +166,9 @@ for targetdir in `find -type d -name target`; do
     strippedmodulename=`echo $modulename | sed -e s:^doxia-::g`
 
     # Does the module have a jar?
-    if [ -f $targetdir/$modulename-%{namedversion}.jar ]; then
-        cp -p $targetdir/$modulename-%{namedversion}.jar \
-                $RPM_BUILD_ROOT%{_javadir}/%{name}/$strippedmodulename-%{namedversion}.jar
+    if [ -f $targetdir/$modulename-%{version}.jar ]; then
+        cp -p $targetdir/$modulename-%{version}.jar \
+                $RPM_BUILD_ROOT%{_javadir}/%{name}/$strippedmodulename-%{version}.jar
     fi
 
 
@@ -214,42 +177,58 @@ for targetdir in `find -type d -name target`; do
         cp -p $targetdir/../pom.xml \
                 $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-$strippedmodulename.pom
 
-        %add_to_maven_depmap org.apache.maven.doxia $modulename %{namedversion} JPP/maven-doxia $strippedmodulename
+        %add_to_maven_depmap org.apache.maven.doxia $modulename %{version} JPP/maven-doxia $strippedmodulename
     fi
     
 done
 
 # Install parent pom
 install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP.maven-doxia-doxia.pom
-%add_to_maven_depmap org.apache.maven.doxia doxia %{namedversion} JPP/maven-doxia doxia
+%add_to_maven_depmap org.apache.maven.doxia doxia %{version} JPP/maven-doxia doxia
+install -d -m 0755 %{buildroot}/%{_datadir}/maven2/lib
+ln -s %{_javadir}/maven-doxia/logging-api.jar $RPM_BUILD_ROOT/%{_datadir}/maven2/lib/maven-doxia_logging-api.jar
 
 # Install parent javadocs
-(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{namedversion}*; \
-  do ln -sf ${jar} `echo $jar| sed  "s|-%{namedversion}||g"`; done)
+(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; \
+  do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)
 
 # javadoc (all javadocs are contained in the main module docs dir used below)
-install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{namedversion}
-cp -pr target/site/apidocs/* \
-         $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{namedversion}/
-ln -s %{name}-%{namedversion} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+# install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+# cp -pr target/site/apidocs/* \
+#          $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
+# ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
 
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
 %{_javadir}/%{name}
-%{_datadir}/maven2
-%{_mavendepmapfragdir}
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%{_datadir}/maven2/lib/*
 
-%if %{with_maven}
-%files javadoc
-%defattr(-,root,root,-)
-%doc %{_javadocdir}/*
-%endif
+# %files javadoc
+# %defattr(-,root,root,-)
+# %doc %{_javadocdir}/*
 
 %changelog
+* Wed May  5 2010 Mary Ellen Foster <mefoster at gmail.com> 0:1.1.2-2
+- Add BuildRequirement on fop
+
+* Fri Feb 12 2010 Mary Ellen Foster <mefoster at gmail.com> 0:1.1.2-1
+- Update to 1.1.2
+- Add update_maven_depmap to post and postun
+- Temporarily disable javadoc until maven2-plugin-javadoc is rebuilt against
+  the new doxia
+
 * Mon Dec 21 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.0-0.8.a10.4
 - BR maven2-plugin-plugin.
 

diff --git a/sources b/sources
index 0cd0eef..d09dde1 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-f7d26f91c7a093e94dfb051248aab6c6  maven-doxia-autogenerated-files.tar.gz
-50ab7d300005b658a2d3ca5b24fb3317  maven-doxia-1.0-a10-src.tar.gz
+33317e556d029b173e271c071ddcc4f0  maven-doxia-1.1.2.tar.gz

                 reply	other threads:[~2026-10-19 14:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179242170234.1.14441742157317753734.rpms-maven-doxia-bf2c7488b16e@fedoraproject.org \
    --to=mef@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox