[axis] Add POM files from maven.org
Andy Grimm
arg at fedoraproject.org
Mon Feb 13 16:34:00 UTC 2012
commit 67f0a331d42b733bf88492ee89336d8b4945a02d
Author: Andy Grimm <agrimm at gmail.com>
Date: Mon Feb 13 05:29:17 2012 -0500
Add POM files from maven.org
- Uncomment optional BuildRequires to enable axis-schema build
- Disable tests, as they appear to be incompatible with junit4
axis-1.4.pom | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
axis-ant-1.4.pom | 13 +++++++++++
axis-jaxrpc-1.4.pom | 13 +++++++++++
axis-saaj-1.4.pom | 13 +++++++++++
axis-schema-1.4.pom | 6 +++++
axis.spec | 40 ++++++++++++++++++++++++++++++------
6 files changed, 134 insertions(+), 7 deletions(-)
---
diff --git a/axis-1.4.pom b/axis-1.4.pom
new file mode 100644
index 0000000..430d843
--- /dev/null
+++ b/axis-1.4.pom
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>axis</groupId>
+ <artifactId>axis</artifactId>
+ <version>1.4</version>
+ <packaging>jar</packaging>
+ <name>Axis Web Services</name>
+ <description>
+ An implementation of the SOAP ("Simple Object Access Protocol") submission to W3C.
+ </description>
+ <url>http://ws.apache.org/axis</url>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <url>http://svn.apache.org/viewcvs/webservices/axis/trunk/java/</url>
+ </scm>
+ <dependencies>
+ <dependency><!-- depends on nothing; I think -->
+ <groupId>axis</groupId>
+ <artifactId>axis-jaxrpc</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency><!-- depends on nothing; I think -->
+ <groupId>axis</groupId>
+ <artifactId>axis-saaj</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency><!-- depends on nothing; I think -->
+ <groupId>axis</groupId>
+ <artifactId>axis-wsdl4j</artifactId>
+ <version>1.5.1</version><!-- version independent of axis -->
+ <scope>runtime</scope>
+ <!-- note: also at wsdl4j:wsdl4j (a sf.net project) -->
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-discovery</groupId>
+ <artifactId>commons-discovery</artifactId>
+ <version>0.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ <!-- supposedly also depends on log4j 1.2.8 but that is unlikely given commons-logging -->
+ </dependencies>
+</project>
\ No newline at end of file
diff --git a/axis-ant-1.4.pom b/axis-ant-1.4.pom
new file mode 100644
index 0000000..2c12f06
--- /dev/null
+++ b/axis-ant-1.4.pom
@@ -0,0 +1,13 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>axis</groupId>
+ <artifactId>axis-ant</artifactId>
+ <version>1.4</version>
+
+ <distributionManagement>
+ <relocation>
+ <groupId>org.apache.axis</groupId>
+ </relocation>
+ </distributionManagement>
+
+</project>
\ No newline at end of file
diff --git a/axis-jaxrpc-1.4.pom b/axis-jaxrpc-1.4.pom
new file mode 100644
index 0000000..a1a8f5d
--- /dev/null
+++ b/axis-jaxrpc-1.4.pom
@@ -0,0 +1,13 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>axis</groupId>
+ <artifactId>axis-jaxrpc</artifactId>
+ <version>1.4</version>
+
+ <distributionManagement>
+ <relocation>
+ <groupId>org.apache.axis</groupId>
+ </relocation>
+ </distributionManagement>
+
+</project>
\ No newline at end of file
diff --git a/axis-saaj-1.4.pom b/axis-saaj-1.4.pom
new file mode 100644
index 0000000..976254c
--- /dev/null
+++ b/axis-saaj-1.4.pom
@@ -0,0 +1,13 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>axis</groupId>
+ <artifactId>axis-saaj</artifactId>
+ <version>1.4</version>
+
+ <distributionManagement>
+ <relocation>
+ <groupId>org.apache.axis</groupId>
+ </relocation>
+ </distributionManagement>
+
+</project>
\ No newline at end of file
diff --git a/axis-schema-1.4.pom b/axis-schema-1.4.pom
new file mode 100644
index 0000000..32f81c5
--- /dev/null
+++ b/axis-schema-1.4.pom
@@ -0,0 +1,6 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>axis</groupId>
+ <artifactId>axis-schema</artifactId>
+ <version>1.4</version>
+</project>
diff --git a/axis.spec b/axis.spec
index 8426133..ed49303 100644
--- a/axis.spec
+++ b/axis.spec
@@ -1,6 +1,6 @@
Name: axis
Version: 1.4
-Release: 10%{?dist}
+Release: 11%{?dist}
Epoch: 0
Summary: SOAP implementation in Java
License: ASL 2.0
@@ -18,6 +18,11 @@ Source2: axis-MANIFEST.MF
# cvs -d :pserver:anonymous at 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
Source3: saaj-MANIFEST.MF
+Source4: http://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
+Source6: http://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
+Source8: axis-schema-1.4.pom
Patch0: %{name}-java16.patch
Patch1: %{name}-manifest.patch
BuildRequires: jpackage-utils >= 0:1.6
@@ -45,8 +50,8 @@ BuildRequires: wsdl4j
BuildRequires: xalan-j2
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis12
-#BuildRequires: xmlbeans
-#BuildRequires: xml-security
+BuildRequires: xmlbeans
+BuildRequires: xml-security
# optional requires
#BuildRequires: jimi
BuildRequires: jetty
@@ -122,8 +127,9 @@ ln -sf $(build-classpath httpunit) .
ln -sf $(build-classpath jetty/jetty) .
ln -sf $(build-classpath log4j) .
ln -sf $(build-classpath oro) .
-#ln -sf $(build-classpath xml-security) .
-#ln -sf $(build-classpath xmlbeans/xbean) .
+ln -sf $(build-classpath xalan-j2) .
+ln -sf $(build-classpath xml-security) .
+ln -sf $(build-classpath xmlbeans/xbean) .
ln -sf $(build-classpath wsdl4j) .
pushd endorsed
ln -sf $(build-classpath xerces-j2) .
@@ -151,7 +157,7 @@ ant \
-Dsecurity.jar=$(build-classpath xml-security) \
-Dxmlbeans.jar=$(build-classpath xmlbeans) \
-Dhttpunit.jar=$(build-classpath httpunit) \
- clean war javadocs junit
+ clean war javadocs # junit
# -Djimi.jar=$(build-classpath jimi) \
@@ -164,7 +170,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
pushd build/lib
# install axis-schema.jar when xmlbeans is available
- install -m 644 axis.jar axis-ant.jar saaj.jar jaxrpc.jar \
+ install -m 644 axis.jar axis-ant.jar saaj.jar jaxrpc.jar axis-schema.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}
popd
@@ -176,12 +182,27 @@ install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/webapps
install -m 644 build/axis.war \
$RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/webapps
+# POMs
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -m 644 %{S:4} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-axis.pom
+%add_maven_depmap JPP.%{name}-axis.pom %{name}/axis.jar
+install -m 644 %{S:5} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-axis-ant.pom
+%add_maven_depmap JPP.%{name}-axis-ant.pom %{name}/axis-ant.jar
+install -m 644 %{S:6} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-jaxrpc.pom
+%add_maven_depmap JPP.%{name}-jaxrpc.pom %{name}/jaxrpc.jar
+install -m 644 %{S:7} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-saaj.pom
+%add_maven_depmap JPP.%{name}-saaj.pom %{name}/saaj.jar
+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
%defattr(-,root,root,-)
%doc LICENSE README release-notes.html changelog.html
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
%{_datadir}/%{name}-%{version}
+%{_mavenpomdir}/*.pom
+%{_mavendepmapfragdir}/%{name}
%files javadoc
%defattr(-,root,root,-)
@@ -192,6 +213,11 @@ install -m 644 build/axis.war \
%doc docs/*
%changelog
+* Mon Feb 13 2012 Andy Grimm <agrimm at gmail.com> - 0:1.4-11
+- Add POM files from maven.org
+- Uncomment optional BuildRequires to enable axis-schema build
+- Disable tests, as they appear to be incompatible with junit4
+
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list