Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vlj:fedora14:maven2
maven-remote-resources-plugin
maven-remote-resources-plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven-remote-resources-plugin.spec of Package maven-remote-resources-plugin
%global bootstrap 1 %global _mavenpomdir /usr/share/maven2/poms %global _mavendepmapfragdir /etc/maven/fragments Name: maven-remote-resources-plugin Version: 1.1 Release: 6%{?dist} Summary: Maven Remote Resources Plugin Group: Development/Libraries License: ASL 2.0 URL: http://maven.apache.org/plugins/maven-remote-resources-plugin/ #svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-remote-resources-plugin-1.1/ #tar jcf maven-remote-resources-plugin-1.1.tar.bz2 maven-remote-resources-plugin-1.1/ Source0: %{name}-%{version}.tar.bz2 #Class org.apache.maven.shared.artifact.filter.collection.TransitivityFilter which ProcessRemoteResourcesMojo.java imports #is renamed as org.apache.maven.shared.artifact.filter.collection.ProjectTransitivityFilter in #the version 1.3 of maven-shared-common-artifact-filters package. Patch0: ProcessRemoteResourcesMojo.java.patch Patch1: pom.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java-devel BuildRequires: maven2 mvn-helper %if !%{bootstrap} BuildRequires: maven-plugin-plugin BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-resources-plugin BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-shared-filtering BuildRequires: plexus-container-default BuildRequires: velocity BuildRequires: maven-shared-artifact-resolver BuildRequires: maven-shared-common-artifact-filters BuildRequires: maven-shared-downloader BuildRequires: plexus-interpolation BuildRequires: plexus-utils BuildRequires: plexus-velocity BuildRequires: plexus-resources BuildRequires: junit BuildRequires: maven-plugin-testing-harness BuildRequires: maven-wagon BuildRequires: maven-shared-verifier BuildRequires: maven-surefire-provider-junit %endif Requires: maven2 Requires: java Requires: jpackage-utils Requires: maven-wagon Requires: maven-shared-artifact-resolver Requires: velocity Requires: jakarta-commons-logging Requires: maven-shared-filtering Requires: plexus-velocity Requires: maven-shared-common-artifact-filters Requires: plexus-resources Requires: maven-shared-downloader Requires: plexus-build-api Requires(post): jpackage-utils Requires(postun): jpackage-utils Obsoletes: maven2-plugin-remote-resources <= 0:2.0.8 Provides: maven2-plugin-remote-resources = 1:%{version}-%{release} %description Process resources packaged in JARs that have been deployed to a remote repository. The primary use case being satisfied is the consistent inclusion of common resources in a large set of projects. Maven projects at Apache use this plug-in to satisfy licensing requirements at Apache where each project much include license and notice files for each release. # %package javadoc # Group: Documentation # Summary: Javadoc for %{name} # Requires: jpackage-utils # # %description javadoc # API documentation for %{name}. %prep %setup -q %patch0 -p0 %patch1 mvn-helper replace -r /usr/share/maven2/bootstrap_repo/mvn-pass1/ . mvn-helper filter -f /etc/mvn-helper/config.xml . %build # fix 613582 # we now use plexus-velocity which has the correct descriptor with a hint. rm -f src/main/resources/META-INF/plexus/components.xml export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository # mvn-jpp \ # -e \ # -Dmaven2.jpp.mode=true \ # -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ # -Dmaven.test.skip=true \ # install javadoc:javadoc mvn --settings /usr/share/maven2/conf/settings-custom.xml -Dmaven.test.skip=true install %install # jars install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; \ do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) %add_to_maven_depmap org.apache.maven.plugins %{name} %{version} JPP %{name} # poms install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom # javadoc # install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version} # cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ # ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # rm -rf target/site/api* %post %update_maven_depmap %postun %update_maven_depmap %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_javadir}/* %{_mavenpomdir}/ %{_mavendepmapfragdir}/ # %files javadoc # %defattr(-,root,root,-) # %{_javadocdir}/%{name}-%{version} # %{_javadocdir}/%{name} %changelog * Thu Jul 15 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-6 - Fix bug #613582 * Tue Jul 13 2010 Hui Wang <huwang@redhat.com> - 1.1-5 - Add missing requires maven2 * Tue Jul 13 2010 Alexander Kurtakov <akurtako@redhat.com> 1.1-4 - Add missing maven-shared-artifact-resolver requires. * Tue Jul 13 2010 Hui Wang <huwang@redhat.com> - 1.1-3 - Set '-Dmaven.test.skip=true' to fix Bug 613567 * Thu Jun 03 2010 Hui Wang <huwang@redhat.com> - 1.1-2 - Fixed descirption line length - Added comment on patch0 - Used macro in add_to_maven_depmap * Fri May 21 2010 Hui Wang <huwang@redhat.com> - 1.1-1 - Initial version of the package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor