mizdebsk pushed to maven (f21). "Update manpage"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 06:39:13 UTC 2015


>From ef8aab6186d1bbec62b97f614095ee4f7bf383a7 Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Wed, 1 Apr 2015 08:27:48 +0200
Subject: Update manpage


diff --git a/maven.spec b/maven.spec
index 651852e..1ab808d 100644
--- a/maven.spec
+++ b/maven.spec
@@ -214,7 +214,10 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
 install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
 install -d -m 755 %{buildroot}%{_mandir}/man1
 
-for cmd in mvn mvnDebug mvnyjp; do sed s/@@CMD@@/$cmd/ %{SOURCE200} >%{buildroot}%{_bindir}/$cmd; done
+for cmd in mvn mvnDebug mvnyjp; do
+    sed s/@@CMD@@/$cmd/ %{SOURCE200} >%{buildroot}%{_bindir}/$cmd
+    echo ".so man1/mvn.1" >%{buildroot}%{_mandir}/man1/$cmd.1
+done
 install -p -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1
 install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/%{name}
 mv $M2_HOME/bin/m2.conf %{buildroot}%{_sysconfdir}
@@ -279,7 +282,7 @@ ln -sf $(build-classpath plexus/classworlds) \
 %config(noreplace) %{_sysconfdir}/%{name}/settings.xml
 %config(noreplace) %{_sysconfdir}/%{name}/logging/simplelogger.properties
 %{_datadir}/bash-completion/completions/%{name}
-%{_mandir}/man1/mvn.1.gz
+%{_mandir}/man1/mvn*.1.gz
 
 %files javadoc -f .mfiles-javadoc
 %doc LICENSE NOTICE
@@ -288,6 +291,7 @@ ln -sf $(build-classpath plexus/classworlds) \
 %changelog
 * Wed Apr  1 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.2.2-4
 - Install mvnDebug and mvnyjp in bindir
+- Update manpage
 - Resolves: rhbz#1207850
 
 * Mon Mar 16 2015 Michal Srb <msrb at redhat.com> - 3.2.2-3
diff --git a/mvn.1 b/mvn.1
index f6c486a..53175fd 100644
--- a/mvn.1
+++ b/mvn.1
@@ -1,8 +1,10 @@
-.TH MVN "1" "July 2012" "Apache Maven 3.0.4" "User Commands"
+.TH MVN "1" "April 2015" "Apache Maven 3.3.1" "User Commands"
 .SH NAME
 mvn \- software project management and comprehension tool
 .SH DESCRIPTION
 usage: mvn [options] [<goal(s)>] [<phase(s)>]
+usage: mvnDebug [options] [<goal(s)>] [<phase(s)>]
+usage: mvnyjp [options] [<goal(s)>] [<phase(s)>]
 .SH OPTIONS
 .TP
 \fB\-am\fR,\-\-also\-make
@@ -19,6 +21,10 @@ projects on the list
 Run in non\-interactive (batch)
 mode
 .TP
+\fB\-b\fR,\-\-builder <arg>
+The id of the build strategy to
+use.
+.TP
 \fB\-C\fR,\-\-strict\-checksums
 Fail the build if checksums don't
 match
@@ -44,7 +50,7 @@ Encrypt server password
 .TP
 \fB\-f\fR,\-\-file <arg>
 Force the use of an alternate POM
-file.
+file (or directory with pom.xml).
 .TP
 \fB\-fae\fR,\-\-fail\-at\-end
 Only fail the build afterwards;
@@ -63,6 +69,10 @@ of project result
 Alternate path for the global
 settings file
 .TP
+\fB\-gt\fR,\-\-global\-toolchains <arg>
+Alternate path for the global
+toolchains file
+.TP
 \fB\-h\fR,\-\-help
 Display help information
 .TP
@@ -70,6 +80,13 @@ Display help information
 Log file to where all build output
 will go.
 .TP
+\fB\-llr\fR,\-\-legacy\-local\-repository
+Use Maven 2 Legacy Local
+Repository behaviour, ie no use of
+_remote.repositories. Can also be
+activated by using
+\fB\-Dmaven\fR.legacyLocalRepo=true
+.TP
 \fB\-N\fR,\-\-non\-recursive
 Do not recurse into sub\-projects
 .TP
@@ -118,9 +135,9 @@ Alternate path for the user
 toolchains file
 .TP
 \fB\-U\fR,\-\-update\-snapshots
-Forces a check for updated
-releases and snapshots on remote
-repositories
+Forces a check for missing
+releases and updated snapshots on
+remote repositories
 .TP
 \fB\-up\fR,\-\-update\-plugins
 Ineffective, only kept for
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/maven.git/commit/?h=f21&id=ef8aab6186d1bbec62b97f614095ee4f7bf383a7


More information about the scm-commits mailing list