Fridrich Strba 2019-10-05 12:52:01 +00:00 committed by Git OBS Bridge
parent 08de093710
commit 211f464d4b
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> 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 # do not build sampleUses module - it causes Javadoc generation to fail
%pom_disable_module sampleUses %pom_disable_module sampleUses
for module in ri tcl sampleUses proposedAnnotations; do
%pom_remove_parent ${module}
done
%build %build
export OPT_JAR_LIST=: export OPT_JAR_LIST=:
export CLASSPATH= export CLASSPATH=
@ -79,8 +83,6 @@ ln -s %{name}.jar %{buildroot}%{_javadir}/jsr305.jar
# poms # poms
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} 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 install -pm 0644 ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305 %add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305