public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Update to latest upstream (1.2)
Date: Mon, 19 Oct 2026 14:55:10 GMT	[thread overview]
Message-ID: <179242171018.1.1450176205089135071.rpms-maven-doxia-d1ed56777d10@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/maven-doxia
            Branch : epel10
            Commit : d1ed56777d100dddbac3d5d6158325ab0c20205d
            Author : Stanislav Ochotnicky <sochotnicky@redhat.com>
            Date   : 2011-05-06T14:52:07+02:00
            Stats  : +291/-407 in 10 file(s)
            URL    : https://src.fedoraproject.org/rpms/maven-doxia/c/d1ed56777d100dddbac3d5d6158325ab0c20205d?branch=epel10

            Log:
            Update to latest upstream (1.2)

- Use maven 3 to build
- Remove version limits on BR/R (not valid anymore anyway)
- Remove "assert" patch (no explanation for it's existence)

---
diff --git a/.gitignore b/.gitignore
index 9000060..e8f9a07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 maven-doxia-1.1.2.tar.gz
 /maven-doxia-1.1.3.tar.gz
 /maven-doxia-1.1.4.tar.gz
+/doxia-1.2-source-release.zip

diff --git a/0001-Use-plexus-component-metadata.patch b/0001-Use-plexus-component-metadata.patch
index a1da8fe..8ba820f 100644
--- a/0001-Use-plexus-component-metadata.patch
+++ b/0001-Use-plexus-component-metadata.patch
@@ -1,7 +1,7 @@
-From 282ccc75cda78178ce1a46c95b5bc42f02ecd32f Mon Sep 17 00:00:00 2001
+From e6c22bf1db4e155ee94cfc4c4b0f7e9b8150caaa Mon Sep 17 00:00:00 2001
 From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 17 Dec 2010 14:08:04 +0100
-Subject: [PATCH 1/6] Use plexus-component-metadata
+Date: Mon, 2 May 2011 14:35:50 +0200
+Subject: [PATCH 1/5] Use plexus-component-metadata
 
 ---
  doxia-modules/doxia-module-apt/pom.xml            |    8 ++++----
@@ -11,111 +11,111 @@ Subject: [PATCH 1/6] Use plexus-component-metadata
  4 files changed, 13 insertions(+), 13 deletions(-)
 
 diff --git a/doxia-modules/doxia-module-apt/pom.xml b/doxia-modules/doxia-module-apt/pom.xml
-index 010c559..fe60818 100644
+index b7ccd9d..5128b3a 100644
 --- a/doxia-modules/doxia-module-apt/pom.xml
 +++ b/doxia-modules/doxia-module-apt/pom.xml
-@@ -49,21 +49,21 @@ under the License.
-     <plugins>
-       <plugin>
-         <groupId>org.codehaus.plexus</groupId>
--        <artifactId>plexus-maven-plugin</artifactId>
-+        <artifactId>plexus-component-metadata</artifactId>
-         <configuration>
-           <descriptors>
-             <descriptor>src/main/components/components.xml</descriptor>
--            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
-+            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
-           </descriptors>
-         </configuration>
-         <executions>
-           <execution>
-             <goals>
--              <goal>merge-descriptors</goal>
-+              <goal>merge-metadata</goal>
-             </goals>
-           </execution>
-         </executions>
-       </plugin>
-     </plugins>
-   </build>
+@@ -53,21 +53,21 @@ under the License.
+     <plugins>
+       <plugin>
+         <groupId>org.codehaus.plexus</groupId>
+-        <artifactId>plexus-maven-plugin</artifactId>
++        <artifactId>plexus-component-metadata</artifactId>
+         <configuration>
+           <descriptors>
+             <descriptor>src/main/components/components.xml</descriptor>
+-            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
++	    <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
+           </descriptors>
+         </configuration>
+         <executions>
+           <execution>
+             <goals>
+-              <goal>merge-descriptors</goal>
++              <goal>merge-metadata</goal>
+             </goals>
+           </execution>
+         </executions>
+       </plugin>
+     </plugins>
+   </build>
 -</project>
 \ No newline at end of file
-+</project>
++</project>
 diff --git a/doxia-modules/doxia-module-docbook-simple/pom.xml b/doxia-modules/doxia-module-docbook-simple/pom.xml
-index 64f671a..3395e86 100644
+index ebd2c24..1600077 100644
 --- a/doxia-modules/doxia-module-docbook-simple/pom.xml
 +++ b/doxia-modules/doxia-module-docbook-simple/pom.xml
-@@ -45,17 +45,17 @@ under the License.
-     <plugins>
-       <plugin>
-         <groupId>org.codehaus.plexus</groupId>
--        <artifactId>plexus-maven-plugin</artifactId>
-+        <artifactId>plexus-component-metadata</artifactId>
-         <configuration>
-           <descriptors>
-             <descriptor>src/main/components/components.xml</descriptor>
--            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
-+            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
-           </descriptors>
-         </configuration>
-         <executions>
-           <execution>
-             <goals>
--              <goal>merge-descriptors</goal>
-+              <goal>merge-metadata</goal>
-             </goals>
-           </execution>
-         </executions>
+@@ -49,17 +49,17 @@ under the License.
+     <plugins>
+       <plugin>
+         <groupId>org.codehaus.plexus</groupId>
+-        <artifactId>plexus-maven-plugin</artifactId>
++        <artifactId>plexus-component-metadata</artifactId>
+         <configuration>
+           <descriptors>
+             <descriptor>src/main/components/components.xml</descriptor>
+-            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
++            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
+           </descriptors>
+         </configuration>
+         <executions>
+           <execution>
+             <goals>
+-              <goal>merge-descriptors</goal>
++              <goal>merge-metadata</goal>
+             </goals>
+           </execution>
+         </executions>
 diff --git a/doxia-modules/doxia-module-fml/pom.xml b/doxia-modules/doxia-module-fml/pom.xml
-index 2afafe8..7a5420a 100644
+index 3a85888..ea30ea4 100644
 --- a/doxia-modules/doxia-module-fml/pom.xml
 +++ b/doxia-modules/doxia-module-fml/pom.xml
-@@ -77,17 +77,17 @@ under the License.
-       </plugin>
-       <plugin>
-         <groupId>org.codehaus.plexus</groupId>
--        <artifactId>plexus-maven-plugin</artifactId>
-+        <artifactId>plexus-component-metadata</artifactId>
-         <configuration>
-           <descriptors>
-             <descriptor>src/main/components/components.xml</descriptor>
--            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
-+            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
-           </descriptors>
-         </configuration>
-         <executions>
-           <execution>
-             <goals>
--              <goal>merge-descriptors</goal>
-+              <goal>merge-metadata</goal>
-             </goals>
-           </execution>
-         </executions>
+@@ -81,17 +81,17 @@ under the License.
+       </plugin>
+       <plugin>
+         <groupId>org.codehaus.plexus</groupId>
+-        <artifactId>plexus-maven-plugin</artifactId>
++        <artifactId>plexus-component-metadata</artifactId>
+         <configuration>
+           <descriptors>
+             <descriptor>src/main/components/components.xml</descriptor>
+-            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
++            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
+           </descriptors>
+         </configuration>
+         <executions>
+           <execution>
+             <goals>
+-              <goal>merge-descriptors</goal>
++              <goal>merge-metadata</goal>
+             </goals>
+           </execution>
+         </executions>
 diff --git a/doxia-modules/doxia-module-xdoc/pom.xml b/doxia-modules/doxia-module-xdoc/pom.xml
-index f393ef8..83a6ec6 100644
+index 1e8acfb..af44fbf 100644
 --- a/doxia-modules/doxia-module-xdoc/pom.xml
 +++ b/doxia-modules/doxia-module-xdoc/pom.xml
-@@ -68,17 +68,17 @@ under the License.
-       </plugin>
-       <plugin>
-         <groupId>org.codehaus.plexus</groupId>
--        <artifactId>plexus-maven-plugin</artifactId>
-+        <artifactId>plexus-component-metadata</artifactId>
-         <configuration>
-           <descriptors>
-             <descriptor>src/main/components/components.xml</descriptor>
--            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
-+            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
-           </descriptors>
-         </configuration>
-         <executions>
-           <execution>
-             <goals>
--              <goal>merge-descriptors</goal>
-+              <goal>merge-metadata</goal>
-             </goals>
-           </execution>
-         </executions>
+@@ -72,17 +72,17 @@ under the License.
+       </plugin>
+       <plugin>
+         <groupId>org.codehaus.plexus</groupId>
+-        <artifactId>plexus-maven-plugin</artifactId>
++        <artifactId>plexus-component-metadata</artifactId>
+         <configuration>
+           <descriptors>
+             <descriptor>src/main/components/components.xml</descriptor>
+-            <descriptor>target/generated-resources/plexus/META-INF/plexus/components.xml</descriptor>
++            <descriptor>target/classes/META-INF/plexus/components.xml</descriptor>
+           </descriptors>
+         </configuration>
+         <executions>
+           <execution>
+             <goals>
+-              <goal>merge-descriptors</goal>
++              <goal>merge-metadata</goal>
+             </goals>
+           </execution>
+         </executions>
 -- 
-1.7.3.3
+1.7.4.4
 

diff --git a/0002-doxia-core-remove-plexus-component-annotation.patch b/0002-doxia-core-remove-plexus-component-annotation.patch
index 0c05248..58ea2cb 100644
--- a/0002-doxia-core-remove-plexus-component-annotation.patch
+++ b/0002-doxia-core-remove-plexus-component-annotation.patch
@@ -1,25 +1,24 @@
-From 0cfa19a33cb162271576e31feb115f39e4909eb1 Mon Sep 17 00:00:00 2001
+From fc05bd165735ec1b06639796531c7b26359889b1 Mon Sep 17 00:00:00 2001
 From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Tue, 7 Sep 2010 17:03:29 +0200
-Subject: [PATCH 2/6] doxia-core remove plexus component annotation
+Date: Mon, 2 May 2011 14:37:28 +0200
+Subject: [PATCH 2/5] doxia-core remove plexus component annotation
 
-Abstract class can't be plexus component
 ---
  .../apache/maven/doxia/parser/AbstractParser.java  |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
 
 diff --git a/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractParser.java b/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractParser.java
-index 11419c1..4543a0c 100644
+index 209d40e..cf47ab1 100644
 --- a/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractParser.java
 +++ b/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractParser.java
-@@ -38,7 +38,6 @@ import org.apache.maven.doxia.sink.Sink;
-  * @author Jason van Zyl
-  * @version $Id: AbstractParser.java 946932 2010-05-21 08:36:30Z ltheussl $
-  * @since 1.0
-- * @plexus.component
-  */
- public abstract class AbstractParser
-     implements Parser
+@@ -42,7 +42,6 @@ import org.apache.maven.doxia.sink.Sink;
+  * @author Jason van Zyl
+  * @version $Id: AbstractParser.java 1094965 2011-04-19 09:30:13Z ltheussl $
+  * @since 1.0
+- * @plexus.component
+  */
+ public abstract class AbstractParser
+     implements Parser
 -- 
-1.7.3.3
+1.7.4.4
 

diff --git a/0003-remove-clirr.patch b/0003-remove-clirr.patch
index d69d2bc..94a27f2 100644
--- a/0003-remove-clirr.patch
+++ b/0003-remove-clirr.patch
@@ -1,86 +1,87 @@
-From ab09a2ad8999781e4b9173972d9a85261376e258 Mon Sep 17 00:00:00 2001
+From 1857467fd4a18e1a9d4197d35baad4d334d3e708 Mon Sep 17 00:00:00 2001
 From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Tue, 7 Sep 2010 17:22:48 +0200
-Subject: [PATCH 3/6] remove clirr
+Date: Mon, 2 May 2011 14:41:53 +0200
+Subject: [PATCH 3/5] remove clirr
 
 ---
  doxia-maven-plugin/pom.xml |   13 -------------
- pom.xml                    |   24 ------------------------
- 2 files changed, 0 insertions(+), 37 deletions(-)
+ pom.xml                    |   26 +-------------------------
+ 2 files changed, 1 insertions(+), 38 deletions(-)
 
 diff --git a/doxia-maven-plugin/pom.xml b/doxia-maven-plugin/pom.xml
-index 9eca795..96ca69f 100644
+index 92c6b6e..798b4f6 100644
 --- a/doxia-maven-plugin/pom.xml
 +++ b/doxia-maven-plugin/pom.xml
-@@ -159,19 +159,6 @@ under the License.
-         </executions>
-       </plugin>
-       <plugin>
--        <groupId>org.codehaus.mojo</groupId>
--        <artifactId>clirr-maven-plugin</artifactId>
--        <configuration>
--          <comparisonVersion>1.1</comparisonVersion>
--          <excludes>
--            <!-- exclude shaded packages -->
--            <exclude>org/apache/maven/doxia/logging/**</exclude>
--            <exclude>org/apache/maven/doxia/sink/**</exclude>
--            <exclude>org/codehaus/doxia/sink/**</exclude>
--          </excludes>
--        </configuration>
--      </plugin>
--      <plugin>
-         <groupId>org.apache.maven.plugins</groupId>
-         <artifactId>maven-plugin-plugin</artifactId>
-         <executions>
+@@ -155,19 +155,6 @@ under the License.
+         </executions>
+       </plugin>
+       <plugin>
+-        <groupId>org.codehaus.mojo</groupId>
+-        <artifactId>clirr-maven-plugin</artifactId>
+-        <configuration>
+-          <comparisonVersion>1.1</comparisonVersion>
+-          <excludes>
+-            <!-- exclude shaded packages -->
+-            <exclude>org/apache/maven/doxia/logging/**</exclude>
+-            <exclude>org/apache/maven/doxia/sink/**</exclude>
+-            <exclude>org/codehaus/doxia/sink/**</exclude>
+-          </excludes>
+-        </configuration>
+-      </plugin>
+-      <plugin>
+         <groupId>org.apache.maven.plugins</groupId>
+         <artifactId>maven-plugin-plugin</artifactId>
+         <executions>
 diff --git a/pom.xml b/pom.xml
-index 5f9dee3..4d0e574 100644
+index 4eff88e..98cd1ba 100644
 --- a/pom.xml
 +++ b/pom.xml
-@@ -285,14 +285,6 @@ under the License.
-           <version>2.1.2</version>
-         </plugin>
-         <plugin>
--          <groupId>org.codehaus.mojo</groupId>
--          <artifactId>clirr-maven-plugin</artifactId>
--          <version>2.2.2</version>
--          <configuration>
--            <comparisonVersion>1.1</comparisonVersion>
--          </configuration>
--        </plugin>
--        <plugin>
-           <groupId>org.apache.maven.plugins</groupId>
-           <artifactId>maven-resources-plugin</artifactId>
-           <version>2.4.2</version>
-@@ -337,18 +329,6 @@ under the License.
-           </execution>
-         </executions>
-       </plugin>
--      <plugin>
--        <groupId>org.codehaus.mojo</groupId>
--        <artifactId>clirr-maven-plugin</artifactId>
--        <executions>
--          <execution>
--            <phase>verify</phase>
--            <goals>
--              <goal>check</goal>
--            </goals>
--          </execution>
--        </executions>
--      </plugin>
-     </plugins>
-   </build>
- 
-@@ -418,10 +398,6 @@ under the License.
-               <configLocation>http://svn.apache.org/repos/asf/maven/doxia/doxia/trunk/src/main/resources/config/doxia_checkstyle.xml</configLocation>
-             </configuration>
-           </plugin>
--          <plugin>
--            <groupId>org.codehaus.mojo</groupId>
--            <artifactId>clirr-maven-plugin</artifactId>
--          </plugin>
-         </plugins>
-       </reporting>
-     </profile>
+@@ -297,13 +297,6 @@ under the License.
+           </configuration>
+         </plugin>
+         <plugin>
+-          <groupId>org.codehaus.mojo</groupId>
+-          <artifactId>clirr-maven-plugin</artifactId>
+-          <configuration>
+-            <comparisonVersion>1.1</comparisonVersion>
+-          </configuration>
+-        </plugin>
+-        <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-javadoc-plugin</artifactId>
+           <configuration>
+@@ -342,23 +335,6 @@ under the License.
+           </execution>
+         </executions>
+       </plugin>
+-      <plugin>
+-        <groupId>org.codehaus.mojo</groupId>
+-        <artifactId>clirr-maven-plugin</artifactId>
+-        <executions>
+-          <execution>
+-            <phase>verify</phase>
+-            <goals>
+-              <goal>check</goal>
+-            </goals>
+-            <configuration>
+-              <excludes>
+-                <exclude>org/apache/maven/doxia/document/*</exclude>
+-              </excludes>
+-            </configuration>
+-          </execution>
+-        </executions>
+-      </plugin>
+     </plugins>
+   </build>
+ 
+@@ -508,6 +484,6 @@ under the License.
+           </plugin>
+         </plugins>
+       </build>
+-    </profile>    
++    </profile>
+   </profiles>
+ </project>
 -- 
-1.7.3.3
+1.7.4.4
 

diff --git a/0004-Comment-out-assert.patch b/0004-Comment-out-assert.patch
deleted file mode 100644
index 21924ea..0000000
--- a/0004-Comment-out-assert.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 57c35f6e6999d86bdde2dd25842e12f0c8772e80 Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 17 Dec 2010 14:09:58 +0100
-Subject: [PATCH 4/6] Comment out assert
-
----
- .../confluence/parser/table/TableBlockParser.java  |    2 +-
- .../twiki/parser/GenericListBlockParser.java       |    2 +-
- .../module/twiki/parser/TableBlockParser.java      |    2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java b/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java
-index 5079195..631cca7 100644
---- a/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java
-+++ b/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java
-@@ -138,7 +138,7 @@ public class TableBlockParser
- 
-         while ( ( l = source.getNextLine() ) != null && accept( l, source ) );
- 
--        assert rows.size() >= 1;
-+        // assert rows.size() >= 1;
- 
-         return new TableBlock( rows );
-     }
-diff --git a/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/GenericListBlockParser.java b/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/GenericListBlockParser.java
-index eb4a716..8809439 100644
---- a/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/GenericListBlockParser.java
-+++ b/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/GenericListBlockParser.java
-@@ -97,7 +97,7 @@ public class GenericListBlockParser
-                 {
-                     final int numberOfSpaces = 3;
-                     final int textGroup = 3;
--                    assert m.group( 1 ).length() % numberOfSpaces == 0;
-+                    // assert m.group( 1 ).length() % numberOfSpaces == 0;
-                     final int level = m.group( 1 ).length() / numberOfSpaces;
-                     treeListBuilder.feedEntry( TYPES[i], level, m.group( textGroup ).trim() );
-                     break;
-diff --git a/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/TableBlockParser.java b/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/TableBlockParser.java
-index a83e755..d6afe15 100644
---- a/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/TableBlockParser.java
-+++ b/doxia-modules/doxia-module-twiki/src/main/java/org/apache/maven/doxia/module/twiki/parser/TableBlockParser.java
-@@ -93,7 +93,7 @@ public class TableBlockParser
-         }
-         while ( ( l = source.getNextLine() ) != null && accept( l ) );
- 
--        assert rows.size() >= 1;
-+        // assert rows.size() >= 1;
- 
-         return new TableBlock( (Block[]) rows.toArray( new Block[] {} ) );
-     }
--- 
-1.7.3.3
-

diff --git a/0004-Fix-itext-dependency.patch b/0004-Fix-itext-dependency.patch
new file mode 100644
index 0000000..d87ffa1
--- /dev/null
+++ b/0004-Fix-itext-dependency.patch
@@ -0,0 +1,75 @@
+From e4530fbf04544c66f322bcf9992aa828564fd3bf Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky@redhat.com>
+Date: Mon, 2 May 2011 15:04:15 +0200
+Subject: [PATCH 4/5] Fix itext dependency
+
+---
+ .../apache/maven/doxia/module/itext/ITextFont.java |    6 +++---
+ .../apache/maven/doxia/module/itext/ITextSink.java |    6 +++---
+ .../apache/maven/doxia/module/itext/ITextUtil.java |    2 +-
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
+index 8882f98..019f3a8 100644
+--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
++++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
+@@ -262,7 +262,7 @@ public class ITextFont
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getBlue() );
++        return String.valueOf( font.getColor().getBlue() );
+     }
+ 
+     /**
+@@ -274,7 +274,7 @@ public class ITextFont
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getGreen() );
++        return String.valueOf( font.getColor().getGreen() );
+     }
+ 
+     /**
+@@ -286,7 +286,7 @@ public class ITextFont
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getRed() );
++        return String.valueOf( font.getColor().getRed() );
+     }
+ 
+     /**
+diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+index d87f149..9c576cc 100644
+--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
++++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+@@ -1231,9 +1231,9 @@ public class ITextSink
+         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 --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
+index 76770e4..d6b8d8a 100644
+--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
++++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
+@@ -77,7 +77,7 @@ public class ITextUtil
+                 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();
+                     }
+-- 
+1.7.4.4
+

diff --git a/0005-Fix-itext-dependency.patch b/0005-Fix-itext-dependency.patch
deleted file mode 100644
index ee1cf80..0000000
--- a/0005-Fix-itext-dependency.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 6758dce3b179b1c19b3ebfbab166f11cd1f1e655 Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 17 Dec 2010 14:11:12 +0100
-Subject: [PATCH 5/6] Fix itext dependency
-
----
- .../apache/maven/doxia/module/itext/ITextFont.java |    6 +++---
- .../apache/maven/doxia/module/itext/ITextSink.java |    6 +++---
- .../apache/maven/doxia/module/itext/ITextUtil.java |    2 +-
- 3 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
-index 329b407..2f2621a 100644
---- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
-+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
-@@ -262,7 +262,7 @@ public class ITextFont
-     {
-         Font font = getCurrentFont();
- 
--        return String.valueOf( font.color().getBlue() );
-+        return String.valueOf( font.getColor().getBlue() );
-     }
- 
-     /**
-@@ -274,7 +274,7 @@ public class ITextFont
-     {
-         Font font = getCurrentFont();
- 
--        return String.valueOf( font.color().getGreen() );
-+        return String.valueOf( font.getColor().getGreen() );
-     }
- 
-     /**
-@@ -286,7 +286,7 @@ public class ITextFont
-     {
-         Font font = getCurrentFont();
- 
--        return String.valueOf( font.color().getRed() );
-+        return String.valueOf( font.getColor().getRed() );
-     }
- 
-     /**
-diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
-index 1824dbb..4cdcf22 100644
---- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
-+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
-@@ -1239,9 +1239,9 @@ public class ITextSink
-         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 --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
-index 4363413..75a106f 100644
---- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
-+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
-@@ -77,7 +77,7 @@ public class ITextUtil
-                 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();
-                     }
--- 
-1.7.3.3
-

diff --git a/0006-Fix-modello-dependency.patch b/0006-Fix-modello-dependency.patch
deleted file mode 100644
index ee216f0..0000000
--- a/0006-Fix-modello-dependency.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 2aea4dedd068509f0a0fced9649a7841d57d8db9 Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 17 Dec 2010 14:11:50 +0100
-Subject: [PATCH 6/6] Fix modello dependency
-
----
- doxia-book/pom.xml                     |    4 +---
- doxia-core/pom.xml                     |    2 --
- doxia-modules/doxia-module-fml/pom.xml |    2 --
- 3 files changed, 1 insertions(+), 7 deletions(-)
-
-diff --git a/doxia-book/pom.xml b/doxia-book/pom.xml
-index 4e9ea7a..ff6f79d 100644
---- a/doxia-book/pom.xml
-+++ b/doxia-book/pom.xml
-@@ -100,9 +100,7 @@ under the License.
-         <groupId>org.codehaus.modello</groupId>
-         <artifactId>modello-maven-plugin</artifactId>
-         <configuration>
--          <models>
-             <model>src/main/modello/book.mdo</model>
--          </models>
-           <version>1.0.0</version>
-         </configuration>
-         <executions>
-@@ -148,4 +146,4 @@ under the License.
-       </reporting>
-     </profile>
-   </profiles>
--</project>
-\ No newline at end of file
-+</project>
-diff --git a/doxia-core/pom.xml b/doxia-core/pom.xml
-index 9a5f5c3..1d828a1 100644
---- a/doxia-core/pom.xml
-+++ b/doxia-core/pom.xml
-@@ -107,9 +107,7 @@ under the License.
-         </executions>
-         <configuration>
-           <version>1.0.1</version>
--          <models>
-             <model>src/main/mdo/document.mdo</model>
--          </models>
-         </configuration>
-       </plugin>
-     </plugins>
-diff --git a/doxia-modules/doxia-module-fml/pom.xml b/doxia-modules/doxia-module-fml/pom.xml
-index 7a5420a..a918162 100644
---- a/doxia-modules/doxia-module-fml/pom.xml
-+++ b/doxia-modules/doxia-module-fml/pom.xml
-@@ -67,9 +67,7 @@ under the License.
-               <goal>java</goal>
-             </goals>
-             <configuration>
--              <models>
-                 <model>src/main/mdo/fml.mdo</model>
--              </models>
-               <version>1.0.0</version>
-             </configuration>
-           </execution>
--- 
-1.7.3.3
-

diff --git a/maven-doxia.spec b/maven-doxia.spec
index d85bc11..ac837e3 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -29,17 +29,15 @@
 #
 
 Name:           maven-doxia
-Version:        1.1.4
-Release:        3%{?dist}
+Version:        1.2
+Release:        1%{?dist}
 Epoch:          0
 Summary:        Content generation framework
 License:        ASL 2.0
 Group:          Development/Libraries
 URL:            http://maven.apache.org/doxia/
 
-# svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/doxia-1.1.4 maven-doxia-1.1.4
-# tar czf maven-doxia-1.1.4.tar.gz maven-doxia-1.1.4/
-Source0:        %{name}-%{version}.tar.gz
+Source0:        http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia/%{version}/doxia-%{version}-source-release.zip
 
 # Point it at the correct plexus-container-default
 Source1:        %{name}-depmap.xml
@@ -53,20 +51,19 @@ Patch0:         0001-Use-plexus-component-metadata.patch
 Patch1:         0002-doxia-core-remove-plexus-component-annotation.patch
 
 Patch2:         0003-remove-clirr.patch
-Patch3:         0004-Comment-out-assert.patch
 # Build against iText 2.x
 # http://jira.codehaus.org/browse/DOXIA-53
-Patch4:         0005-Fix-itext-dependency.patch
+Patch3:         0004-Fix-itext-dependency.patch
 
 
 BuildArch:      noarch
 
 BuildRequires:  java >= 1:1.6.0
-BuildRequires:  jpackage-utils >= 0:1.7.2
+BuildRequires:  jpackage-utils
 BuildRequires:  ant, ant-nodeps
-BuildRequires:  itext >= 2.1.7-4
-BuildRequires:  plexus-cli >= 1.2-8
-BuildRequires:  maven2 >= 0:2.0.4-9
+BuildRequires:  itext
+BuildRequires:  plexus-cli
+BuildRequires:  maven
 BuildRequires:  maven-assembly-plugin
 BuildRequires:  maven-compiler-plugin
 BuildRequires:  maven-install-plugin
@@ -81,9 +78,8 @@ BuildRequires:  maven-surefire-provider-junit
 BuildRequires:  maven-shared-reporting-impl
 BuildRequires:  maven-doxia-sitetools
 BuildRequires:  maven-doxia-tools
-BuildRequires:  plexus-maven-plugin >= 0:1.2-2
-BuildRequires:  modello-maven-plugin >= 0:1.0-0.a8.3
-BuildRequires:  plexus-xmlrpc >= 0:1.0-0.b4.3
+BuildRequires:  modello-maven-plugin
+BuildRequires:  plexus-xmlrpc
 BuildRequires:  servlet25
 BuildRequires:  classworlds
 BuildRequires:  apache-commons-collections
@@ -93,7 +89,7 @@ BuildRequires:  apache-commons-configuration
 BuildRequires:  junit
 BuildRequires:  jakarta-oro
 BuildRequires:  plexus-i18n
-BuildRequires:  plexus-utils >= 1.5.7
+BuildRequires:  plexus-utils
 BuildRequires:  plexus-velocity
 BuildRequires:  plexus-build-api
 BuildRequires:  velocity
@@ -103,6 +99,13 @@ BuildRequires:  plexus-containers-component-javadoc
 BuildRequires:  plexus-containers-container-default
 BuildRequires:  httpcomponents-client
 BuildRequires:  httpcomponents-project
+BuildRequires:  xmlgraphics-commons
+BuildRequires:  avalon-framework
+BuildRequires:  geronimo-parent-poms
+BuildRequires:  geronimo-jms
+BuildRequires:  javamail
+
+
 
 Requires:       classworlds
 Requires:       apache-commons-collections
@@ -112,7 +115,7 @@ Requires:       junit
 Requires:       jakarta-oro
 Requires:       plexus-container-default
 Requires:       plexus-i18n
-Requires:       plexus-utils >= 1.5.7
+Requires:       plexus-utils
 Requires:       plexus-velocity
 Requires:       velocity
 Requires:	fop
@@ -139,27 +142,19 @@ Group:          Development/Documentation
 API documentation for %{name}.
 
 %prep
-%setup -q
+%setup -q -n doxia-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-
-#rm -fr doxia-maven-plugin
-
-# use new plexus-javadoc taglet replacement
-sed -i 's:plexus-javadoc:plexus-component-javadoc:' pom.xml
 
 
 %build
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mkdir -p $MAVEN_REPO_LOCAL
-
-mvn-jpp \
+# tests disabled because some use old plexus-container and don't work
+# with new
+mvn-rpmbuild \
 	-e \
-	-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-	-Dmaven2.jpp.depmap.file=%{SOURCE1} \
+	-Dmaven.local.depmap.file=%{SOURCE1} \
 	-Dmaven.test.skip=true \
 	install javadoc:aggregate
 
@@ -216,17 +211,21 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
 rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
 
 %files
-%defattr(-,root,root,-)
 %{_javadir}/%{name}
 %{_mavenpomdir}/*
 %{_mavendepmapfragdir}/*
 %{_datadir}/maven2/lib/*
 
 %files javadoc
-%defattr(-,root,root,-)
-%doc %{_javadocdir}/*
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Fri May  6 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.2-1
+- Update to latest upstream (1.2)
+- Use maven 3 to build
+- Remove version limits on BR/R (not valid anymore anyway)
+- Remove "assert" patch (no explanation for it's existence)
+
 * Tue Feb 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.1.4-3
 - Change oro to jakarta-oro in BR/R
 

diff --git a/sources b/sources
index 58415db..dce76d2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b200e64242997a85dd8569027225ff9c  maven-doxia-1.1.4.tar.gz
+f68dd50c3dbc57cf920e788a9ad39e57  doxia-1.2-source-release.zip

                 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=179242171018.1.1450176205089135071.rpms-maven-doxia-d1ed56777d10@fedoraproject.org \
    --to=sochotnicky@redhat.com \
    --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