|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file
|
|
|
|
|
# spec file for package maven-doxia-sitetools
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -57,6 +57,7 @@ BuildRequires: plexus-interpolation
|
|
|
|
|
BuildRequires: plexus-metadata-generator
|
|
|
|
|
BuildRequires: plexus-utils
|
|
|
|
|
BuildRequires: plexus-velocity
|
|
|
|
|
BuildRequires: plexus-xml
|
|
|
|
|
BuildRequires: qdox
|
|
|
|
|
BuildRequires: sisu-inject
|
|
|
|
|
BuildRequires: sisu-plexus
|
|
|
|
@@ -89,7 +90,7 @@ API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n doxia-%{subproj}-%{version} -a1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
|
|
|
|
|
# migrate to maven 3
|
|
|
|
|
%pom_xpath_set //pom:mavenVersion 3.8.6 doxia-integration-tools
|
|
|
|
@@ -103,14 +104,15 @@ API documentation for %{name}.
|
|
|
|
|
%pom_remove_dep net.sourceforge.htmlunit:htmlunit doxia-site-renderer/pom.xml
|
|
|
|
|
%pom_remove_dep -r :velocity-tools
|
|
|
|
|
|
|
|
|
|
%pom_xpath_inject "pom:plugin[pom:artifactId[text()='modello-maven-plugin']]/pom:configuration" \
|
|
|
|
|
"<useJava5>true</useJava5>" doxia-decoration-model
|
|
|
|
|
|
|
|
|
|
rm -rf $(find -type d -name itext)
|
|
|
|
|
%pom_remove_dep -r :doxia-module-itext
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep -r :doxia-module-markdown
|
|
|
|
|
|
|
|
|
|
for i in doxia-decoration-model doxia-doc-renderer doxia-integration-tools doxia-site-renderer; do
|
|
|
|
|
%pom_add_dep org.codehaus.plexus:plexus-xml:3.0.0 ${i}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%{mvn_alias} :doxia-integration-tools org.apache.maven.shared:maven-doxia-tools
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@@ -145,6 +147,7 @@ build-jar-repository -s lib \
|
|
|
|
|
plexus/interpolation \
|
|
|
|
|
plexus-metadata-generator \
|
|
|
|
|
plexus/utils \
|
|
|
|
|
plexus/xml \
|
|
|
|
|
plexus-velocity/plexus-velocity \
|
|
|
|
|
qdox \
|
|
|
|
|
velocity \
|
|
|
|
|