Accepting request 735437 from Java:packages

Remove references to parent from the pom file

OBS-URL: https://build.opensuse.org/request/show/735437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsr-305?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2019-10-07 11:46:19 +00:00 committed by Git OBS Bridge
commit 40c3cfca7e
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 5 12:51:38 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove references to parent from all pom files
-------------------------------------------------------------------
Wed Mar 13 17:57:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -63,6 +63,10 @@ dos2unix sampleUses/pom.xml
# do not build sampleUses module - it causes Javadoc generation to fail
%pom_disable_module sampleUses
for module in ri tcl sampleUses proposedAnnotations; do
%pom_remove_parent ${module}
done
%build
export OPT_JAR_LIST=:
export CLASSPATH=
@ -79,8 +83,6 @@ ln -s %{name}.jar %{buildroot}%{_javadir}/jsr305.jar
# poms
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
%add_maven_depmap %{name}/%{name}.pom
install -pm 0644 ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305