public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Srb <msrb@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia-sitetools] epel10: Update to upstream version 1.3
Date: Sat, 14 Nov 2026 17:19:00 GMT	[thread overview]
Message-ID: <179467674030.1.15039291007675086400.rpms-maven-doxia-sitetools-c4d3b182383d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/maven-doxia-sitetools
            Branch : epel10
            Commit : c4d3b182383df587018fe4fe62b999b198de04b8
            Author : Michal Srb <msrb@redhat.com>
            Date   : 2013-02-07T15:05:04+01:00
            Stats  : +31/-185 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/maven-doxia-sitetools/c/c4d3b182383df587018fe4fe62b999b198de04b8?branch=epel10

            Log:
            Update to upstream version 1.3

- Migrate from maven-doxia to doxia subpackages (#889145)
- Build with xmvn
- Replace patches with pom_ macros
- Remove unnecessary depmap

---
diff --git a/.gitignore b/.gitignore
index bd761ba..cd76e0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 maven-doxia-sitetools-1.0-alpha10-src.tar.gz
 /maven-doxia-sitetools-1.1.3.tar.gz
 /doxia-sitetools-1.2-source-release.zip
+/doxia-sitetools-1.3-source-release.zip

diff --git a/0001-Remove-clirr-dependency.patch b/0001-Remove-clirr-dependency.patch
deleted file mode 100644
index 9b8200d..0000000
--- a/0001-Remove-clirr-dependency.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 75ed919d4653de4479bbebdf85fd7176e44d689f Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 6 May 2011 14:20:37 +0200
-Subject: [PATCH 1/2] Remove clirr dependency
-
----
- pom.xml |   29 +----------------------------
- 1 files changed, 1 insertions(+), 28 deletions(-)
-
-diff --git a/pom.xml b/pom.xml
-index f7cc92d..9b68bf5 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -247,14 +247,6 @@ under the License.
-             <tagBase>https://svn.apache.org/repos/asf/maven/doxia/doxia-sitetools/tags</tagBase>
-           </configuration>
-         </plugin>
--        <!-- TODO need to upgrade to last version or Maven parent version -->
--        <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>
-@@ -283,25 +275,6 @@ under the License.
-         </plugin>
-       </plugins>
-     </pluginManagement>
--    <plugins>
--      <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/site/decoration/*</exclude>
--              </excludes>
--            </configuration>
--          </execution>
--        </executions>
--      </plugin>
--    </plugins>
-   </build>
- 
-   <profiles>
-@@ -423,6 +396,6 @@ under the License.
-           </plugin>
-         </plugins>
-       </build>
--    </profile>    
-+    </profile>
-   </profiles>
- </project>
--- 
-1.7.4.4
-

diff --git a/0002-Remove-htmlunit-dependency.patch b/0002-Remove-htmlunit-dependency.patch
deleted file mode 100644
index 7eabc7a..0000000
--- a/0002-Remove-htmlunit-dependency.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 0fb66fa7c8a2c38c1e05d0d7a52b171e2503a1af Mon Sep 17 00:00:00 2001
-From: Stanislav Ochotnicky <sochotnicky@redhat.com>
-Date: Fri, 6 May 2011 14:28:18 +0200
-Subject: [PATCH 2/2] Remove htmlunit dependency
-
----
- doxia-site-renderer/pom.xml |    6 ------
- 1 files changed, 0 insertions(+), 6 deletions(-)
-
-diff --git a/doxia-site-renderer/pom.xml b/doxia-site-renderer/pom.xml
-index cae7a4b..ef97922 100644
---- a/doxia-site-renderer/pom.xml
-+++ b/doxia-site-renderer/pom.xml
-@@ -148,12 +148,6 @@ under the License.
-       <type>test-jar</type>
-       <scope>test</scope>
-     </dependency>
--    <dependency>
--      <groupId>htmlunit</groupId>
--      <artifactId>htmlunit</artifactId>
--      <version>1.13</version>
--      <scope>test</scope>
--    </dependency>
-   </dependencies>
- 
-   <profiles>
--- 
-1.7.4.4
-

diff --git a/maven-doxia-depmap.xml b/maven-doxia-depmap.xml
deleted file mode 100644
index 65f5c93..0000000
--- a/maven-doxia-depmap.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<dependencies>
-	<dependency>
-	  <maven>
-		<groupId>org.codehaus.plexus</groupId>
-		<artifactId>plexus-container-default</artifactId>
-		<version>1.0-alpha-30</version>
-	  </maven>
-	  <jpp>
-		<groupId>JPP/plexus</groupId>
-		<artifactId>containers-container-default</artifactId>
-		<version>1.0-alpha-34</version>
-	  </jpp>
-	</dependency>
-</dependencies>
-

diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec
index 6c83b4d..62fb6d4 100644
--- a/maven-doxia-sitetools.spec
+++ b/maven-doxia-sitetools.spec
@@ -32,8 +32,8 @@
 %global subproj sitetools
 
 Name:           %{parent}-%{subproj}
-Version:        1.2
-Release:        6%{?dist}
+Version:        1.3
+Release:        1%{?dist}
 Summary:        Doxia content generation framework
 License:        ASL 2.0
 Group:          Development/Tools
@@ -41,12 +41,8 @@ URL:            http://maven.apache.org/doxia/
 
 Source0:        http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-sitetools/%{version}/doxia-%{subproj}-%{version}-source-release.zip
 
-# Point it at the correct plexus-container-default
-Source1:        maven-doxia-depmap.xml
 
-Patch0:         0001-Remove-clirr-dependency.patch
-Patch1:         0002-Remove-htmlunit-dependency.patch
-Patch2:         0003-Migration-to-component-metadata.patch
+Patch0:         0003-Migration-to-component-metadata.patch
 
 BuildRequires:  java-devel >= 1:1.7.0
 BuildRequires:  itext
@@ -61,7 +57,15 @@ BuildRequires:  maven-site-plugin
 BuildRequires:  maven-surefire-plugin
 BuildRequires:  maven-shared-reporting-impl
 BuildRequires:  maven-surefire-provider-junit
-BuildRequires:  maven-doxia
+BuildRequires:  maven-doxia-logging-api
+BuildRequires:  maven-doxia-sink-api
+BuildRequires:  maven-doxia-core
+BuildRequires:  maven-doxia-module-apt
+BuildRequires:  maven-doxia-module-confluence
+BuildRequires:  maven-doxia-module-docbook-simple
+BuildRequires:  maven-doxia-module-fml
+BuildRequires:  maven-doxia-module-xdoc
+BuildRequires:  maven-doxia-module-xhtml
 BuildRequires:  modello-maven-plugin
 BuildRequires:  classworlds
 BuildRequires:  apache-commons-collections
@@ -77,25 +81,8 @@ BuildRequires:  plexus-i18n
 BuildRequires:  plexus-utils
 BuildRequires:  plexus-velocity
 BuildRequires:  velocity
-BuildRequires:  %{_javadir}/javamail/mail.jar
-
-Requires:       classworlds
-Requires:       apache-commons-collections
-Requires:       apache-commons-configuration
-Requires:       apache-commons-logging
-Requires:       apache-commons-validator
-Requires:       junit
-Requires:       maven-doxia
-Requires:       jakarta-oro
-Requires:       plexus-containers-container-default
-Requires:       plexus-i18n
-Requires:       plexus-utils
-Requires:       plexus-velocity
-Requires:       velocity
-Requires:       %{_javadir}/javamail/mail.jar
-
-Requires:       java >= 1:1.7.0
-Requires:       jpackage-utils
+BuildRequires:  velocity-tools
+BuildRequires:  javamail
 
 BuildArch:      noarch
 
@@ -109,7 +96,6 @@ wikis and content management systems.
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Documentation
-Requires:       jpackage-utils
 
 %description javadoc
 API documentation for %{name}.
@@ -118,64 +104,32 @@ API documentation for %{name}.
 %setup -q -n doxia-%{subproj}-%{version}
 
 %patch0 -p1
+%pom_remove_plugin org.codehaus.mojo:clirr-maven-plugin
+%pom_remove_dep net.sourceforge.htmlunit:htmlunit doxia-site-renderer/pom.xml
 
-# Disable tests that need htmlunit, until we get it in Fedora
-%patch1 -p1
-
-%patch2 -p1
-
+%pom_xpath_inject "pom:plugin[pom:artifactId[text()='modello-maven-plugin']]/pom:configuration" \
+    "<useJava5>true</useJava5>" doxia-decoration-model
 
 %build
-
 # tests can't run because of missing deps
-mvn-rpmbuild \
-      -e \
-      -Dmaven.local.depmap.file=%{SOURCE1} \
-      -Dmaven.test.skip=true \
-      install javadoc:aggregate
+%mvn_build -f
 
 %install
+%mvn_install
 
-# jars/poms
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-
-install -m 644 -p pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-sitetools.pom
-install -m 644 -p doxia-decoration-model/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-decoration-model.pom
-install -m 644 -p doxia-site-renderer/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-site-renderer.pom
-install -m 644 -p doxia-doc-renderer/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-doc-renderer.pom
-
-install -dm 755 $RPM_BUILD_ROOT%{_javadir}/%{parent}
-
-install -m 644 -p doxia-decoration-model/target/doxia-decoration-model-%{version}.jar \
-	$RPM_BUILD_ROOT%{_javadir}/%{parent}/decoration-model.jar
-install -m 644 -p doxia-site-renderer/target/doxia-site-renderer-%{version}.jar \
-	$RPM_BUILD_ROOT%{_javadir}/%{parent}/site-renderer.jar
-install -m 644 -p doxia-doc-renderer/target/doxia-doc-renderer-%{version}.jar \
-	$RPM_BUILD_ROOT%{_javadir}/%{parent}/doc-renderer.jar
 
-install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
+%files -f .mfiles
 
-%add_maven_depmap JPP.%{parent}-sitetools.pom
-%add_maven_depmap JPP.%{parent}-decoration-model.pom %{parent}/decoration-model.jar
-%add_maven_depmap JPP.%{parent}-site-renderer.pom %{parent}/site-renderer.jar
-%add_maven_depmap JPP.%{parent}-doc-renderer.pom %{parent}/doc-renderer.jar
-
-%pre javadoc
-# workaround for rpm bug, can be removed in F-18
-[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
-rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
-
-
-%files
-%{_javadir}/%{parent}/*.jar
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/%{name}
-
-%files javadoc
-%doc %{_javadocdir}/%{name}
+%files javadoc -f .mfiles-javadoc
 
 %changelog
+* Wed Feb 06 2013 Michal Srb <msrb@redhat.com> - 1.3-1
+- Update to upstream version 1.3
+- Migrate from maven-doxia to doxia subpackages (#889145)
+- Build with xmvn
+- Replace patches with pom_ macros
+- Remove unnecessary depmap
+
 * Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.2-6
 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
 - Replace maven BuildRequires with maven-local

diff --git a/sources b/sources
index 8433f07..1d7b9ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-785e6cd7fd9e1748f361d16e43ebf480  doxia-sitetools-1.2-source-release.zip
+35b1e9f852a3ce2d031be949a0fa520e  doxia-sitetools-1.3-source-release.zip

                 reply	other threads:[~2026-11-14 17:19 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=179467674030.1.15039291007675086400.rpms-maven-doxia-sitetools-c4d3b182383d@fedoraproject.org \
    --to=msrb@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