[jbossws-cxf/f17] Initial import

Marek Goldmann goldmann at fedoraproject.org
Wed Jul 4 05:55:12 UTC 2012


commit 194bc2c32956dc37a49b0e79ff11f48bf625c8fd
Author: Marek Goldmann <goldmann at fedoraproject.org>
Date:   Wed Jul 4 07:54:50 2012 +0200

    Initial import

 .gitignore                              |    1 +
 0001-Remove-parent.patch                |   30 +++++++++++
 0002-Enable-only-resources-module.patch |   46 +++++++++++++++++
 jbossws-cxf.spec                        |   81 +++++++++++++++++++++++++++++++
 sources                                 |    1 +
 5 files changed, 159 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..21b435c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jbossws-cxf-4.0.2.GA-src.zip
diff --git a/0001-Remove-parent.patch b/0001-Remove-parent.patch
new file mode 100644
index 0000000..b132f04
--- /dev/null
+++ b/0001-Remove-parent.patch
@@ -0,0 +1,30 @@
+From 3b950db4e35aa8125690d5d18883309b202b46f0 Mon Sep 17 00:00:00 2001
+From: Marek Goldmann <goldmann at fedoraproject.org>
+Date: Tue, 8 May 2012 19:11:48 +0200
+Subject: [PATCH 1/2] Remove parent
+
+---
+ pom.xml |    7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index 16bd336..51465c8 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -34,13 +34,6 @@
+   
+   <version>4.0.2.GA</version>
+   
+-  <!-- Parent -->
+-  <parent>
+-    <groupId>org.jboss.ws</groupId>
+-    <artifactId>jbossws-parent</artifactId>
+-    <version>1.0.10.GA</version>
+-  </parent>
+-  
+   <!-- Source Control Management -->
+   <scm>
+     <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/stack/cxf/tags/jbossws-cxf-4.0.2.GA</connection>
+-- 
+1.7.10.1
+
diff --git a/0002-Enable-only-resources-module.patch b/0002-Enable-only-resources-module.patch
new file mode 100644
index 0000000..08446d9
--- /dev/null
+++ b/0002-Enable-only-resources-module.patch
@@ -0,0 +1,46 @@
+From 23f66f7411cdc91555831d4e6476279101160edf Mon Sep 17 00:00:00 2001
+From: Marek Goldmann <goldmann at fedoraproject.org>
+Date: Wed, 9 May 2012 14:25:47 +0200
+Subject: [PATCH 2/2] Enable only resources module
+
+---
+ modules/resources/src/main/scripts/zip-other-configs.xml |    5 ++---
+ pom.xml                                                  |    6 +-----
+ 2 files changed, 3 insertions(+), 8 deletions(-)
+
+diff --git a/modules/resources/src/main/scripts/zip-other-configs.xml b/modules/resources/src/main/scripts/zip-other-configs.xml
+index 12aba34..2a9e160 100644
+--- a/modules/resources/src/main/scripts/zip-other-configs.xml
++++ b/modules/resources/src/main/scripts/zip-other-configs.xml
+@@ -29,9 +29,8 @@
+   <property name="binary.jar" value="${target.dir}/${project.build.finalName}.jar"/>
+ 
+   <target name="main">
+-    <copy todir="${target.dir}/classes/resources">
+-      <fileset dir="${basedir}/../server/target/resources"/>
+-    </copy>
++    <copy file="${basedir}/../server/src/main/resources/jbossws-cxf-config-as7.xml" tofile="${target.dir}/classes/resources/jaxrpc-deployment-aspects.xml"/>
++    <copy file="${basedir}/../server/src/main/resources/jbossws-jaxrpc-config-as7.xml" tofile="${target.dir}/classes/resources/stack-specific-deployment-aspects.xml"/>
+     <jar destfile="${source.jar}" basedir="${target.dir}/classes" update="true"/>
+     <jar destfile="${binary.jar}" basedir="${target.dir}/classes" update="true"/>
+   </target>
+diff --git a/pom.xml b/pom.xml
+index 51465c8..e9cd91f 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -43,11 +43,7 @@
+   
+   <!-- Modules -->
+   <modules>
+-    <module>modules/server</module>
+-    <module>modules/client</module>
+-    <module>modules/endorsed</module>
+-    <module>modules/resources</module>
+-    <module>modules/addons</module>
++   <module>modules/resources</module>
+   </modules>
+   
+   <!-- Properties -->
+-- 
+1.7.10.1
+
diff --git a/jbossws-cxf.spec b/jbossws-cxf.spec
new file mode 100644
index 0000000..c71c5b8
--- /dev/null
+++ b/jbossws-cxf.spec
@@ -0,0 +1,81 @@
+%global namedreltag .GA
+%global namedversion %{version}%{?namedreltag}
+
+Name:             jbossws-cxf
+Version:          4.0.2
+Release:          1%{?dist}
+Summary:          JBoss Web Services CXF stack
+Group:            Development/Libraries
+License:          LGPLv2+
+URL:              http://www.jboss.org/jbossws
+Source0:          http://download.jboss.org/jbossws/jbossws-cxf-%{namedversion}-src.zip
+
+
+Patch0:           0001-Remove-parent.patch
+Patch1:           0002-Enable-only-resources-module.patch
+
+BuildArch:        noarch
+
+BuildRequires:    jpackage-utils
+BuildRequires:    java-devel
+BuildRequires:    maven
+BuildRequires:    maven-compiler-plugin
+BuildRequires:    maven-install-plugin
+BuildRequires:    maven-jar-plugin
+BuildRequires:    maven-javadoc-plugin
+
+Requires:         jpackage-utils
+Requires:         java
+
+%description
+JBoss Web Services CXF integration stack
+
+#%package javadoc
+#Summary:          Javadocs for %{name}
+#Group:            Documentation
+#Requires:         jpackage-utils
+
+#%description javadoc
+#This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n jbossws-cxf-src-dist
+
+%patch0 -p1
+%patch1 -p1
+
+%build
+mvn-rpmbuild -Dno-testsuite -Pjboss711 install javadoc:aggregate
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+# JAR
+install -pm 644 modules/resources/target/jbossws-cxf-resources-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-resources.jar
+install -pm 644 modules/resources/target/jbossws-cxf-resources-%{namedversion}-jboss711.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-resources-jboss711.jar
+
+# POM
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}.pom
+install -pm 644 modules/resources/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-resources.pom
+
+# DEPMAP
+%add_maven_depmap JPP.%{name}-%{name}.pom
+%add_maven_depmap JPP.%{name}-%{name}-resources.pom %{name}/%{name}-resources.jar
+
+# APIDOCS
+#cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+%files
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%{_javadir}/*
+
+#%files javadoc
+#%{_javadocdir}/%{name}
+
+%changelog
+* Tue Jul 03 2012 Marek Goldmann <mgoldman at redhat.com> 4.0.2-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..0ffe6b5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6c3fdbca04139a9d2d1fff3e8ba4231d  jbossws-cxf-4.0.2.GA-src.zip


More information about the scm-commits mailing list