Fridrich Strba 2023-09-24 01:30:23 +00:00 committed by Git OBS Bridge
parent 29e41120e2
commit 20dc76b66c

View File

@ -33,33 +33,33 @@ BuildRequires: apache-commons-cli
BuildRequires: apache-commons-collections
BuildRequires: apache-commons-io
BuildRequires: apache-commons-lang3
BuildRequires: atinject
BuildRequires: fdupes
BuildRequires: google-guice
BuildRequires: guava
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: jdom2
BuildRequires: maven-artifact
BuildRequires: maven-artifact-manager
BuildRequires: maven-doxia-core
BuildRequires: maven-doxia-logging-api
BuildRequires: maven-doxia-module-fo
BuildRequires: maven-doxia-module-xhtml
BuildRequires: maven-doxia-sink-api
BuildRequires: maven-lib
BuildRequires: maven-project
BuildRequires: maven-reporting-api
BuildRequires: modello >= 2.0.0
BuildRequires: objectweb-asm
BuildRequires: plexus-classworlds
BuildRequires: plexus-cli
BuildRequires: plexus-containers-component-annotations
BuildRequires: plexus-containers-container-default
BuildRequires: plexus-i18n
BuildRequires: plexus-interpolation
BuildRequires: plexus-metadata-generator
BuildRequires: plexus-utils
BuildRequires: plexus-velocity
BuildRequires: qdox
BuildRequires: sisu-inject
BuildRequires: sisu-plexus
BuildRequires: unzip
BuildRequires: velocity
BuildRequires: xbean
@ -91,6 +91,11 @@ API documentation for %{name}.
%setup -q -n doxia-%{subproj}-%{version} -a1
%patch1 -p1
# migrate to maven 3
%pom_xpath_set //pom:mavenVersion 3.8.6 doxia-integration-tools
%pom_change_dep :maven-artifact-manager :maven-core doxia-integration-tools
%pom_change_dep :maven-project :maven-compat doxia-integration-tools
# complains
%pom_remove_plugin :apache-rat-plugin
@ -111,38 +116,39 @@ rm -rf $(find -type d -name itext)
%build
mkdir -p lib
build-jar-repository -s lib \
apache-commons-collections \
apache-commons-lang3 \
commons-cli \
commons-io \
guava/guava \
jdom2/jdom2 \
maven-doxia/doxia-core \
maven-doxia/doxia-logging-api \
maven-doxia/doxia-module-fo \
maven-doxia/doxia-module-xhtml \
maven-doxia/doxia-module-xhtml5 \
maven-doxia/doxia-sink-api \
maven/maven-artifact \
maven/maven-artifact-2.0.2 \
maven/maven-artifact-manager \
maven/maven-model \
maven/maven-plugin-api \
maven/maven-project \
maven-reporting-api/maven-reporting-api \
objectweb-asm/asm \
plexus-classworlds \
plexus/cli \
plexus-containers/plexus-component-annotations \
plexus-containers/plexus-container-default \
plexus-i18n/plexus-i18n \
plexus/interpolation \
plexus-metadata-generator \
plexus/utils \
plexus-velocity/plexus-velocity \
qdox \
velocity \
xbean/xbean-reflect
atinject \
apache-commons-collections \
apache-commons-lang3 \
commons-cli \
commons-io \
guava/guava \
guice/google-guice \
jdom2/jdom2 \
maven-doxia/doxia-core \
maven-doxia/doxia-logging-api \
maven-doxia/doxia-module-fo \
maven-doxia/doxia-module-xhtml \
maven-doxia/doxia-module-xhtml5 \
maven-doxia/doxia-sink-api \
maven/maven-artifact \
maven/maven-core \
maven/maven-plugin-api \
maven/maven-project \
maven-reporting-api/maven-reporting-api \
objectweb-asm/asm \
org.eclipse.sisu.inject \
org.eclipse.sisu.plexus \
plexus-classworlds \
plexus/cli \
plexus-containers/plexus-component-annotations \
plexus-i18n/plexus-i18n \
plexus/interpolation \
plexus-metadata-generator \
plexus/utils \
plexus-velocity/plexus-velocity \
qdox \
velocity \
xbean/xbean-reflect
# tests can't run because of missing deps
%{ant} -Dtest.skip=true package javadoc