Accepting request 958688 from Java:packages

Add aliases to the maven artifacts

OBS-URL: https://build.opensuse.org/request/show/958688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/axis?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2022-03-03 23:17:31 +00:00 committed by Git OBS Bridge
commit c83c778629
3 changed files with 23 additions and 27 deletions

View File

@ -1,6 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>axis</groupId>
<artifactId>axis-schema</artifactId>
<version>1.4</version>
</project>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 1 15:46:26 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Alias relevant artifacts to org.apache.axis
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 22 19:26:22 UTC 2022 - Fridrich Strba <fstrba@suse.com> Tue Feb 22 19:26:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -22,7 +22,7 @@ Release: 0
Summary: Apache implementation of the SOAP Summary: Apache implementation of the SOAP
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://axis.apache.org/axis/ URL: https://axis.apache.org/axis/
Source0: axis-src-1_4.tar.bz2 Source0: axis-src-1_4.tar.bz2
# svn export http://svn.apache.org/repos/asf/webservices/axis/branches/AXIS_1_4_FINAL/ # svn export http://svn.apache.org/repos/asf/webservices/axis/branches/AXIS_1_4_FINAL/
# Build only # Build only
@ -35,11 +35,10 @@ Source2: axis-MANIFEST.MF
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools export -r v1_3_0 org.eclipse.orbit/javax.xml.soap/META-INF/MANIFEST.MF # cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools export -r v1_3_0 org.eclipse.orbit/javax.xml.soap/META-INF/MANIFEST.MF
# mv org.eclipse.orbit/javax.xml.soap/META-INF/MANIFEST.MF saaj-MANIFEST.MF # mv org.eclipse.orbit/javax.xml.soap/META-INF/MANIFEST.MF saaj-MANIFEST.MF
Source3: saaj-MANIFEST.MF Source3: saaj-MANIFEST.MF
Source4: http://repo1.maven.org/maven2/axis/axis/1.4/axis-1.4.pom Source4: https://repo1.maven.org/maven2/axis/axis/1.4/axis-1.4.pom
Source5: http://repo1.maven.org/maven2/axis/axis-ant/1.4/axis-ant-1.4.pom Source5: https://repo1.maven.org/maven2/axis/axis-ant/1.4/axis-ant-1.4.pom
Source6: http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom Source6: https://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
Source7: http://repo1.maven.org/maven2/axis/axis-saaj/1.4/axis-saaj-1.4.pom Source7: https://repo1.maven.org/maven2/axis/axis-saaj/1.4/axis-saaj-1.4.pom
Source8: axis-schema-1.4.pom
Patch0: unimplemented-dom3-methods.patch Patch0: unimplemented-dom3-methods.patch
Patch1: axis-1.4-gcc44_build.patch Patch1: axis-1.4-gcc44_build.patch
Patch2: axis-manifest.patch Patch2: axis-manifest.patch
@ -94,6 +93,8 @@ Manual for axis
%prep %prep
%setup -q -n %{name}-1_4 %setup -q -n %{name}-1_4
cp %{SOURCE5} %{SOURCE6} %{SOURCE7} .
%pom_xpath_remove pom:distributionManagement *.pom
%patch0 -p1 %patch0 -p1
%patch1 -p1 -b gcc44-build %patch1 -p1 -b gcc44-build
@ -116,6 +117,8 @@ rm -f src/org/apache/axis/deployment/wsdd/providers/WSDDJavaEJBProvider.java
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
mkdir -p build/schema
%build %build
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
CLASSPATH=$(build-classpath wsdl4j commons-discovery commons-httpclient3 commons-logging reload4j activation javamail servletapi5) CLASSPATH=$(build-classpath wsdl4j commons-discovery commons-httpclient3 commons-logging reload4j activation javamail servletapi5)
@ -149,24 +152,18 @@ popd
# POMs # POMs
install -d -m 755 %{buildroot}%{_mavenpomdir} install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/JPP.%{name}-axis.pom install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom
%add_maven_depmap JPP.%{name}-axis.pom %{name}/axis.jar %add_maven_depmap JPP.%{name}.pom %{name}/axis.jar
install -m 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP.%{name}-axis-ant.pom install -m 644 axis-ant-1.4.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-ant.pom
%add_maven_depmap JPP.%{name}-axis-ant.pom %{name}/axis-ant.jar %add_maven_depmap JPP.%{name}-ant.pom %{name}/axis-ant.jar -a org.apache.axis:axis-ant
install -m 644 %{SOURCE6} %{buildroot}%{_mavenpomdir}/JPP.%{name}-jaxrpc.pom install -m 644 %{name}-jaxrpc-1.4.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-jaxrpc.pom
%add_maven_depmap JPP.%{name}-jaxrpc.pom %{name}/jaxrpc.jar %add_maven_depmap JPP.%{name}-jaxrpc.pom %{name}/jaxrpc.jar -a org.apache.axis:%{name}-jaxrpc
install -m 644 %{SOURCE7} %{buildroot}%{_mavenpomdir}/JPP.%{name}-saaj.pom install -m 644 %{name}-saaj-1.4.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-saaj.pom
%add_maven_depmap JPP.%{name}-saaj.pom %{name}/saaj.jar %add_maven_depmap JPP.%{name}-saaj.pom %{name}/saaj.jar -a org.apache.axis:%{name}-saaj
#install -m 644 %{S:8} $RPM_BUILD_ROOT%%{_mavenpomdir}/JPP.%%{name}-axis-schema.pom
# % add_maven_depmap JPP.%%{name}-axis-schema.pom %%{name}/axis-schema.jar
%files %files -f .mfiles
%license LICENSE %license LICENSE
%doc README release-notes.html changelog.html %doc README release-notes.html changelog.html
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
%{_mavenpomdir}/*.pom
%{_datadir}/maven-metadata/%{name}.xml
%files manual %files manual
%doc docs/* %doc docs/*