diff --git a/genesis-config.pom b/genesis-config.pom new file mode 100644 index 0000000..40c9b87 --- /dev/null +++ b/genesis-config.pom @@ -0,0 +1,61 @@ + + + + + + + + 4.0.0 + + + org.apache.geronimo.genesis + genesis + 1.5 + + + org.apache.geronimo.genesis.config + config + Genesis Configuration + pom + + + project-config + geronimo-skin + + + + + + org.codehaus.mojo + ianal-maven-plugin + + + + verify-legal-files + + + true + + + + + + + diff --git a/genesis-parent.pom b/genesis-parent.pom new file mode 100644 index 0000000..856aca5 --- /dev/null +++ b/genesis-parent.pom @@ -0,0 +1,377 @@ + + + + + + + + 4.0.0 + + + org.apache + apache + 4 + + + org.apache.geronimo.genesis + genesis + Genesis + pom + 2003 + + 1.5 + + + Genesis provides support for Maven2 builds; adding shared configurations + and common plugins. + + + http://geronimo.apache.org/maven/${siteId}/${version} + + + scm:svn:http://svn.apache.org/repos/asf/geronimo/genesis/tags/genesis-1.5 + scm:svn:https://svn.apache.org/repos/asf/geronimo/genesis/tags/genesis-1.5 + http://svn.apache.org/viewvc/geronimo/genesis/tags/genesis-1.5 + + + + + genesis + + + + install + + + + org.apache.maven.wagon + wagon-ssh + 1.0-beta-2 + + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-7 + + + + org.apache.maven.plugins + maven-source-plugin + 2.0.4 + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.0-alpha-4 + true + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.3 + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.4 + true + + + + org.apache.maven.plugins + maven-install-plugin + 2.2 + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + + + org.apache.maven.plugins + maven-idea-plugin + 2.1 + + + + org.codehaus.mojo + ianal-maven-plugin + 1.0-alpha-1 + + + + org.apache.maven.plugins + maven-remote-resources-plugin + 1.0 + + + process + + process + + + + org.apache:apache-jar-resource-bundle:1.4 + + + + + + + + + org.apache.maven.plugins + maven-site-plugin + 2.0-beta-5 + + + + org.apache.maven.plugins + maven-stage-plugin + 1.0-alpha-1 + + + + org.codehaus.mojo + rat-maven-plugin + 1.0-alpha-3 + + false + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-idea-plugin + + 1.5 + 1.5 + true + + + + + org.codehaus.mojo + rat-maven-plugin + + + + org.apache.maven.plugins + maven-remote-resources-plugin + + + + org.apache.maven.plugins + maven-stage-plugin + + + + + + + geronimo-website + ${staging.siteURL}/${siteId}/${version} + + + + apache.releases + Apache Release Distribution Repository + scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository + + + apache.snapshots + Apache Development Snapshot Repository + scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository + false + + + + + config + plugins + + + + + release + + + + org.apache.maven.plugins + maven-release-plugin + + false + deploy + -Prelease + clean install -Dit + + + + + + org.apache.maven.plugins + maven-source-plugin + true + + + + jar + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + true + + ${gpg.passphrase} + + + + + sign + + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + true + + ${deploy.altRepository} + true + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + true + + 1.5 + + + + attach-javadocs + + jar + + + + + + + + + + full + + + + + org.apache.maven.plugins + maven-source-plugin + true + + + + jar + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + true + + 1.5 + + + + + jar + + + + + + + + + + test-distribution + + + testDistributionUrl + + + + + test-repository + ${testDistributionUrl}/releases + + + test-snapshot-repository + ${testDistributionUrl}/snapshots + + + test-site + ${testDistributionUrl}/site + + + + + + + diff --git a/genesis-project-config.pom b/genesis-project-config.pom new file mode 100644 index 0000000..6010d1f --- /dev/null +++ b/genesis-project-config.pom @@ -0,0 +1,462 @@ + + + + + + + + 4.0.0 + + + org.apache.geronimo.genesis.config + config + 1.5 + + + project-config + Genesis Configuration :: Project + pom + + + Genesis project-config provides the common project configuration shared + by all Apache Geronimo projects. + + + + The Apache Software Foundation + http://www.apache.org + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + + Geronimo User List + user-subscribe@geronimo.apache.org + user-unsubscribe@geronimo.apache.org + mailto:user@geronimo.apache.org + http://mail-archives.apache.org/mod_mbox/geronimo-user + + http://www.nabble.com/Apache-Geronimo---Users-f135.html + + + + + Geronimo Developer List + dev-subscribe@geronimo.apache.org + dev-unsubscribe@geronimo.apache.org + mailto:dev@geronimo.apache.org + http://mail-archives.apache.org/mod_mbox/geronimo-dev + + http://www.nabble.com/Apache-Geronimo---Dev-f136.html + + + + + Source Control List + scm-subscribe@geronimo.apache.org + scm-unsubscribe@geronimo.apache.org + scm@geronimo.apache.org + http://mail-archives.apache.org/mod_mbox/geronimo-scm + + + + + + Apache Announce List + announce-subscribe@apache.org + announce-unsubscribe@apache.org + announce@apache.org + http://mail-archives.apache.org/mod_mbox/www-announce/ + + + + + jira + http://issues.apache.org/jira/browse/GERONIMO + + + + + + junit + junit + 3.8.1 + + + + + + + junit + junit + test + + + + + install + + + + org.apache.maven.wagon + wagon-ssh + 1.0-beta-2 + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.1 + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2-beta-2 + + gnu + + + + + org.apache.maven.plugins + maven-clean-plugin + 2.1.1 + + + + org.apache.maven.plugins + maven-clover-plugin + 2.4 + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.0 + + + + org.apache.maven.plugins + maven-eclipse-plugin + 2.5.1 + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.0-alpha-3 + + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + + org.apache.maven.plugins + maven-one-plugin + 1.2 + + + + org.apache.maven.plugins + maven-rar-plugin + 2.2 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.4 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.4.2 + + true + once + -enableassertions + ${project.build.directory} + + + + **/Abstract*.java + **/Test*.java + + + **/*Test.java + + + + + + org.apache.maven.plugins + maven-war-plugin + 2.0.2 + + + org.apache.maven + maven-archiver + + 2.2 + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.0 + + + + org.codehaus.mojo + shitty-maven-plugin + 1.0-alpha-1 + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0-rc-3 + + + + org.codehaus.mojo + jspc-maven-plugin + 1.4.5 + + + + org.apache.maven.plugins + maven-plugin-plugin + 2.4.1 + + + + + + org.apache.geronimo.genesis.plugins + maven-maven-plugin + 1.5 + + + + + + + + + + + + apache-snapshots + Apache Snapshots Repository + http://people.apache.org/repo/m2-snapshot-repository + default + + true + daily + ignore + + + false + + + + + apache-incubator + Apache Incubator Repository + http://people.apache.org/repo/m2-incubating-repository/ + default + + false + + + true + + + + + codehaus-snapshots + Codehaus Snapshots Repository + http://snapshots.repository.codehaus.org + default + + true + daily + ignore + + + false + + + + + + + apache-snapshots + Apache Snapshots Repository + http://people.apache.org/repo/m2-snapshot-repository + default + + true + daily + ignore + + + false + + + + + codehaus-snapshots + Codehaus Snapshots Repository + http://snapshots.repository.codehaus.org + default + + true + daily + ignore + + + false + + + + + + + tools + + + + org.apache.geronimo.genesis.plugins + maven-maven-plugin + + + + + + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.4.2 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.4 + + 128m + 512m + true + true + false + 1.5 + + true + + http://java.sun.com/j2se/1.5.0/docs/api/ + http://java.sun.com/javaee/5/docs/api/ + + + + + + org.apache.maven.plugins + maven-jxr-plugin + 2.1 + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.3 + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.0.1 + + + + + diff --git a/geronimo-parent-poms-remove-dependencies.patch b/geronimo-parent-poms-remove-dependencies.patch new file mode 100644 index 0000000..2aee9de --- /dev/null +++ b/geronimo-parent-poms-remove-dependencies.patch @@ -0,0 +1,177 @@ +diff -u geronimo-parent-poms-1.6.orig/genesis-config.pom geronimo-parent-poms-1.6/genesis-config.pom +--- geronimo-parent-poms-1.6.orig/genesis-config.pom 2010-01-19 10:34:19.265919172 +0000 ++++ geronimo-parent-poms-1.6/genesis-config.pom 2010-01-19 10:34:31.776919045 +0000 +@@ -40,22 +40,4 @@ + geronimo-skin + + +- +- +- +- org.codehaus.mojo +- ianal-maven-plugin +- +- +- +- verify-legal-files +- +- +- true +- +- +- +- +- +- + +diff -u geronimo-parent-poms-1.6.orig/genesis-parent.pom geronimo-parent-poms-1.6/genesis-parent.pom +--- geronimo-parent-poms-1.6.orig/genesis-parent.pom 2010-01-19 10:34:19.266918949 +0000 ++++ geronimo-parent-poms-1.6/genesis-parent.pom 2010-01-19 10:35:10.782918998 +0000 +@@ -71,12 +71,6 @@ + + + org.apache.maven.plugins +- maven-release-plugin +- 2.0-beta-7 +- +- +- +- org.apache.maven.plugins + maven-source-plugin + 2.0.4 + +@@ -121,12 +115,6 @@ + + + +- org.codehaus.mojo +- ianal-maven-plugin +- 1.0-alpha-1 +- +- +- + org.apache.maven.plugins + maven-remote-resources-plugin + 1.0 +@@ -160,14 +148,6 @@ + 1.0-alpha-1 + + +- +- org.codehaus.mojo +- rat-maven-plugin +- 1.0-alpha-3 +- +- false +- +- + + + +@@ -192,11 +172,6 @@ + + + +- org.codehaus.mojo +- rat-maven-plugin +- +- +- + org.apache.maven.plugins + maven-remote-resources-plugin + +@@ -237,17 +212,6 @@ + release + + +- +- org.apache.maven.plugins +- maven-release-plugin +- +- false +- deploy +- -Prelease +- clean install -Dit +- +- +- + + + org.apache.maven.plugins +diff -u geronimo-parent-poms-1.6.orig/genesis-project-config.pom geronimo-parent-poms-1.6/genesis-project-config.pom +--- geronimo-parent-poms-1.6.orig/genesis-project-config.pom 2010-01-19 10:34:19.265919172 +0000 ++++ geronimo-parent-poms-1.6/genesis-project-config.pom 2010-01-19 10:34:31.777918940 +0000 +@@ -163,12 +163,6 @@ + + + org.apache.maven.plugins +- maven-clover-plugin +- 2.4 +- +- +- +- org.apache.maven.plugins + maven-dependency-plugin + 2.0 + +@@ -254,39 +248,11 @@ + + + +- org.codehaus.mojo +- shitty-maven-plugin +- 1.0-alpha-1 +- +- +- +- org.codehaus.groovy.maven +- gmaven-plugin +- 1.0-rc-3 +- +- +- +- org.codehaus.mojo +- jspc-maven-plugin +- 1.4.5 +- +- +- + org.apache.maven.plugins + maven-plugin-plugin + 2.4.1 + + +- +- +- +- org.apache.geronimo.genesis.plugins +- maven-maven-plugin +- 1.5 +- + + + +@@ -393,20 +359,6 @@ + + + +- +- +- tools +- +- +- +- org.apache.geronimo.genesis.plugins +- maven-maven-plugin +- +- +- +- +- +- + + + diff --git a/geronimo-parent-poms.spec b/geronimo-parent-poms.spec new file mode 100644 index 0000000..c189de4 --- /dev/null +++ b/geronimo-parent-poms.spec @@ -0,0 +1,132 @@ +%global genesis_version 1.5 + +Name: geronimo-parent-poms +Version: 1.6 +Release: 3%{?dist} +Summary: Parent POM files for geronimo-specs + +Group: Development/Tools +License: ASL 2.0 +URL: http://geronimo.apache.org/ + +# Following the parent chain all the way up ... +# http://svn.apache.org/repos/asf/geronimo/specs/tags/specs-parent-%{version}/pom.xml +Source0: specs-parent.pom +# http://svn.apache.org/repos/asf/geronimo/genesis/tags/genesis-%{genesis_version}/config/project-config/pom.xml +Source1: genesis-project-config.pom +# http://svn.apache.org/repos/asf/geronimo/genesis/tags/genesis-%{genesis_version}/config/pom.xml +Source2: genesis-config.pom +# http://svn.apache.org/repos/asf/geronimo/genesis/tags/genesis-%{genesis_version}/pom.xml +Source3: genesis-parent.pom + +# Remove dependencies from POMs that aren't yet in Fedora +Patch0: geronimo-parent-poms-remove-dependencies.patch +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: jpackage-utils >= 1.7.3 +Requires(post): jpackage-utils >= 1.7.3 +Requires(postun): jpackage-utils >= 1.7.3 + +Provides: genesis-project-config = %{genesis_version} +Provides: genesis-config = %{genesis_version} +Provides: genesis-parent = %{genesis_version} + +BuildArch: noarch + +# Dependencies and plugins from the POM files +Requires: apache-resource-bundles +Requires: junit +Requires: maven2-common-poms +Requires: maven2-plugin-antrun +Requires: maven2-plugin-assembly +Requires: maven2-plugin-clean +Requires: maven2-plugin-compiler +Requires: maven2-plugin-dependency +Requires: maven2-plugin-deploy +Requires: maven2-plugin-eclipse +Requires: maven2-plugin-enforcer +Requires: maven2-plugin-gpg +Requires: maven2-plugin-idea +Requires: maven2-plugin-install +Requires: maven2-plugin-jar +Requires: maven2-plugin-javadoc +Requires: maven2-plugin-one +Requires: maven2-plugin-plugin +Requires: maven2-plugin-pmd +Requires: maven2-plugin-project-info-reports +Requires: maven2-plugin-rar +Requires: maven2-plugin-remote-resources +Requires: maven2-plugin-site +Requires: maven2-plugin-source +Requires: maven2-plugin-stage +Requires: maven2-plugin-war +Requires: maven-archiver +Requires: maven-plugin-build-helper +Requires: maven-plugin-bundle +Requires: maven-plugin-jxr +Requires: maven-surefire-maven-plugin +Requires: maven-surefire-report-maven-plugin +Requires: maven-wagon + +%description +The Project Object Model files for the geronimo-specs modules. + +%prep +%setup -c -T +cp %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 . +%patch0 -p1 + +%build +# Nothing to do ... + +%install +rm -rf $RPM_BUILD_ROOT +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} + +install -pm 644 specs-parent.pom \ + $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-geronimo-specs.pom +%add_to_maven_depmap org.apache.geronimo.specs specs %{version} JPP geronimo-specs + +install -pm 644 genesis-project-config.pom \ + $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-geronimo-genesis-project-config.pom +%add_to_maven_depmap org.apache.geronimo.genesis.config project-config %{genesis_version} JPP geronimo-genesis-project-config + +install -pm 644 genesis-config.pom \ + $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-geronimo-genesis-config.pom +%add_to_maven_depmap org.apache.geronimo.genesis.config config %{genesis_version} JPP geronimo-genesis-config + +install -pm 644 genesis-parent.pom \ + $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-geronimo-genesis.pom +%add_to_maven_depmap org.apache.geronimo.genesis genesis %{genesis_version} JPP geronimo-genesis + +%post +%update_maven_depmap + +%postun +%update_maven_depmap + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_mavendepmapfragdir}/* +%{_mavenpomdir}/*.pom + + + +%changelog +* Wed Feb 3 2010 Mary Ellen Foster 1.6-3 +- Fix tabs and spaces in srpm +- Remove config flag from mavendepmapfragdir +- Add jpackage-utils to the BuildRequires + +* Tue Jan 19 2010 Mary Ellen Foster 1.6-2 +- Don't include the apache root pom; it's already in maven2-common-poms +- Double check the dependencies to include only what's in the POMs +- Add initial Provides for the genesis stuff +- Fix changelog + +* Mon Jan 18 2010 Mary Ellen Foster 1.6-1 +- Initial package diff --git a/import.log b/import.log new file mode 100644 index 0000000..8f2c619 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +geronimo-parent-poms-1_6-3_fc12:HEAD:geronimo-parent-poms-1.6-3.fc12.src.rpm:1265881726 diff --git a/specs-parent.pom b/specs-parent.pom new file mode 100644 index 0000000..e3fe463 --- /dev/null +++ b/specs-parent.pom @@ -0,0 +1,147 @@ + + + + + + + + 4.0.0 + + + org.apache.geronimo.genesis.config + project-config + 1.5 + + + org.apache.geronimo.specs + specs-parent + pom + Geronimo Specifications + 1.6 + + + Provides open-source implementations of Sun specifications. + + + + scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/tags/specs-parent-1.6 + scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/tags/specs-parent-1.6 + http://svn.apache.org/viewvc/geronimo/specs/tags/specs-parent-1.6 + + + http://geronimo.apache.org/maven/${siteId}/${version} + + + geronimo-website + ${staging.siteURL}/${siteId}/${version} + + + + + specs + Apache Geronimo Specifications + + * + * + + !META-INF*,${geronimo.osgi.export.pkg}*;version=${geronimo.osgi.export.version} + ${project.version} + !META-INF*,${geronimo.osgi.import.pkg} + ${groupId}.${artifactId} + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-idea-plugin + + 1.5 + true + + + + + org.apache.felix + maven-bundle-plugin + 1.2.0 + true + + + ${artifactId} + ${geronimo.osgi.symbolic.name} + ${geronimo.osgi.export} + ${geronimo.osgi.import} + ${geronimo.osgi.private.pkg} + Apache Geronimo + ${project.version} + + + + + bundle-manifest + process-classes + + manifest + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.1 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + + 1.5 + + + + + +