rpms/maven-help-plugin/devel import.log, NONE, 1.1 maven-help-plugin-jpp-depmap.xml, NONE, 1.1 maven-help-plugin-pom.patch, NONE, 1.1 maven-help-plugin.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Yang Yong
yyang at fedoraproject.org
Sat Jun 12 09:41:31 UTC 2010
Author: yyang
Update of /cvs/pkgs/rpms/maven-help-plugin/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9396/devel
Modified Files:
.cvsignore sources
Added Files:
import.log maven-help-plugin-jpp-depmap.xml
maven-help-plugin-pom.patch maven-help-plugin.spec
Log Message:
Inital package
--- NEW FILE import.log ---
maven-help-plugin-2_1_1-1:HEAD:maven-help-plugin-2.1.1-1.src.rpm:1276335776
--- NEW FILE maven-help-plugin-jpp-depmap.xml ---
<dependencies>
<dependency>
<maven>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.3</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>xstream</artifactId>
<version>1.2.2</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>junit-addons</groupId>
<artifactId>junit-addons</artifactId>
<version>1.4</version>
</maven>
<jpp>
<groupId>JPP/maven2</groupId>
<artifactId>empty-dep</artifactId>
<version>1.4</version>
</jpp>
</dependency>
</dependencies>
maven-help-plugin-pom.patch:
pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- NEW FILE maven-help-plugin-pom.patch ---
--- pom.xml.orig 2010-06-02 17:00:49.233157632 +0800
+++ pom.xml 2010-06-02 17:01:35.958054368 +0800
@@ -190,6 +190,19 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <id>generated-helpmojo</id>
+ <goals>
+ <goal>helpmojo</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
--- NEW FILE maven-help-plugin.spec ---
Name: maven-help-plugin
Version: 2.1.1
Release: 1%{?dist}
Summary: Plugin to to get relative information about a project or the system
Group: Development/Libraries
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-help-plugin/
# svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-help-plugin-2.1.1/
# tar jcf maven-help-plugin-2.1.1.tar.bz2 maven-help-plugin-2.1.1
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-jpp-depmap.xml
Patch0: %{name}-pom.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: plexus-utils
BuildRequires: ant-nodeps
BuildRequires: maven2
BuildRequires: maven-install-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-plugin-plugin
BuildRequires: maven-resources-plugin
BuildRequires: maven-surefire-maven-plugin
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-plugin-testing-harness
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: xstream
BuildRequires: jpackage-utils
Requires: ant-nodeps
Requires: maven2
Requires: jpackage-utils
Requires: java
Requires: xstream
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
Obsoletes: maven2-plugin-help < 0:%{version}-%{release}
Provides: maven2-plugin-help = 0:%{version}-%{release}
%description
The Maven Help Plugin is used to get relative information about a project
or the system. It can be used to get a description of a particular plugin,
including the plugin's mojos with their parameters and component requirements,
the effective POM and effective settings of the current build,
and the profiles applied to the current project being built.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
Requires: jpackage-utils
%description javadoc
API documentation for %{name}.
%prep
%setup -q #You may need to update this according to your Source0
%patch0 -b .sav
%build
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
# no junit-addons, skip test
mvn-jpp \
-e \
-Dmaven2.jpp.mode=true \
-Dmaven2.jpp.depmap.file=%{SOURCE1} \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-Dmaven.test.skip=true \
-Dmaven.test.failure.ignore=true \
install javadoc:javadoc
%install
rm -rf %{buildroot}
# 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 %{name} %{version} JPP %{name}
# 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}/*
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%changelog
* Wed Jun 02 2010 Yong Yang <yyang at redhat.com> 2.1.1-1
- Initial package.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/maven-help-plugin/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 11 Jun 2010 04:53:20 -0000 1.1
+++ .cvsignore 12 Jun 2010 09:41:31 -0000 1.2
@@ -0,0 +1 @@
+maven-help-plugin-2.1.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/maven-help-plugin/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 11 Jun 2010 04:53:20 -0000 1.1
+++ sources 12 Jun 2010 09:41:31 -0000 1.2
@@ -0,0 +1 @@
+fbe50b6d1775e6cf1b4b49d4ee1947c6 maven-help-plugin-2.1.1.tar.bz2
More information about the scm-commits
mailing list