From 5ccf660a69526523ec12297c7ff92bd74a906f22 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Mar 22 2012 09:10:50 +0000 Subject: Initial package commit --- diff --git a/jvnet-parent-3.pom b/jvnet-parent-3.pom new file mode 100644 index 0000000..9f6382e --- /dev/null +++ b/jvnet-parent-3.pom @@ -0,0 +1,159 @@ + + + + 4.0.0 + + net.java + jvnet-parent + 3 + pom + + Java.net Parent + http://java.net/ + Java.net - The Source for Java Technology Collaboration + + + scm:git:git@github.com:sonatype/jvnet-parent.git + scm:git:git@github.com:sonatype/jvnet-parent.git + https://github.com/sonatype/jvnet-parent + + + + + jvnet-nexus-snapshots + Java.net Nexus Snapshots Repository + https://maven.java.net/content/repositories/snapshots + + false + never + + + true + never + + + + + + + + jvnet-nexus-snapshots + Java.net Nexus Snapshots Repository + ${jvnetDistMgmtSnapshotsUrl} + + + jvnet-nexus-staging + Java.net Nexus Staging Repository + https://maven.java.net/service/local/staging/deploy/maven2/ + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.0 + + + enforce-maven + + enforce + + + + + (,2.1.0),(2.1.0,2.2.0),(2.2.0,) + Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures + and checksums respectively. + + + + + + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.1 + + forked-path + false + -Pjvnet-release + + + + + + + + UTF-8 + https://maven.java.net/content/repositories/snapshots/ + + + + + jvnet-release + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.7 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.1 + + + sign-artifacts + verify + + sign + + + + + + + + + + + diff --git a/jvnet-parent.spec b/jvnet-parent.spec new file mode 100644 index 0000000..c7c957a --- /dev/null +++ b/jvnet-parent.spec @@ -0,0 +1,48 @@ +Name: jvnet-parent +Version: 3 +Release: 1%{?dist} +Summary: Java.net parent POM file + +Group: Development/Libraries +License: ASL 2.0 +URL: http://www.java.net +Source0: http://repo1.maven.org/maven2/net/java/%{name}/%{version}/%{name}-%{version}.pom + +BuildArch: noarch + +BuildRequires: jpackage-utils +BuildRequires: maven +BuildRequires: maven-enforcer-plugin + +Requires: jpackage-utils +Requires: maven + +%description +Java.net parent POM file used by most Java.net subprojects such as +Glassfish + +%prep +cp %{SOURCE0} pom.xml + +%build +mvn-rpmbuild install + +%install +# poms +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml \ + %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom + +%add_maven_depmap JPP-%{name}.pom + + +%files +%{_mavenpomdir}/JPP-%{name}.pom +%{_mavendepmapfragdir}/%{name} + +%changelog +* Wed Mar 21 2012 Stanislav Ochotnicky - 3-1 +- Update to version 3 + +* Wed Mar 21 2012 Stanislav Ochotnicky - 1-1 +- Initial version of the package