Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vlj:fedora14:maven2
maven-resources-plugin
maven-resources-plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven-resources-plugin.spec of Package maven-resources-plugin
%global bootstrap 1 %global _mavenpomdir /usr/share/maven2/poms %global _mavendepmapfragdir /etc/maven/fragments Name: maven-resources-plugin Version: 2.2 Release: 7%{?dist} Summary: Maven Resources Plugin Group: Development/Libraries License: ASL 2.0 URL: http://maven.apache.org/plugins/maven-resources-plugin #svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-resources-plugin-2.2 maven-resources-plugin-2.2 #tar zcf maven-resources-plugin-2.2.tar.gz maven-resources-plugin-2.2/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java-devel BuildRequires: maven2 BuildRequires: mvn-helper %if !%{bootstrap} BuildRequires: maven2-plugin-plugin BuildRequires: maven2-plugin-resources BuildRequires: maven-jar-plugin BuildRequires: maven-install-plugin BuildRequires: maven-compiler-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-doxia-sitetools BuildRequires: maven-plugin-testing-harness BuildRequires: maven-shared-reporting-impl BuildRequires: plexus-digest %endif Requires: maven-plugin-testing-harness Requires: maven2 Requires: jpackage-utils Requires: java Requires(post): jpackage-utils Requires(postun): jpackage-utils Provides: maven2-plugin-resources = %{version}-%{release} Obsoletes: maven2-plugin-resources <= 0:2.0.8 %description The Resources Plugin handles the copying of project resources to the output directory. %prep %setup -q -n %{name}-%{version} mvn-helper replace -r /usr/share/maven2/bootstrap_repo/mvn-pass1/ . mvn-helper filter -f /etc/mvn-helper/config.xml . %build export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository mvn --settings /usr/share/maven2/conf/settings-custom.xml -Dmaven.test.skip=true install %install # jars install -d -m 0755 %{buildroot}%{_javadir} install -m 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 maven-resources-plugin %{version} JPP maven-resources-plugin # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 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} %changelog * Fri May 21 2010 Hui Wang <huwang@redhat.com> - 2.2-6 - delete duplicate maven2-plugin-jar - delete source1 * Tue May 20 2010 Hui Wang <huwang@redhat.com> - 2.2-5 - Add maven-resources-plugin-demap.xml - Set maven test ignore * Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.2-4 - Add missing obsoletes/provides * Wed May 19 2010 Hui Wang <huwang@redhat.com> - 2.2-3 - Add missing BR:maven-shared-reporting-impl * Mon May 17 2010 Hui Wang <huwang@redhat.com> - 2.2-2 - Fixed install -pm 644 pom.xml * Thu May 13 2010 Hui Wang <huwang@redhat.com> - 2.2-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