Update manpage
This commit is contained in:
parent
da5dd01bb2
commit
ad5df7bf04
@ -191,7 +191,10 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
|
|||||||
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
|
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
|
||||||
install -d -m 755 %{buildroot}%{_mandir}/man1
|
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 %{SOURCE2} %{buildroot}%{_mandir}/man1
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/mvn
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/mvn
|
||||||
mv $M2_HOME/bin/m2.conf %{buildroot}%{_sysconfdir}
|
mv $M2_HOME/bin/m2.conf %{buildroot}%{_sysconfdir}
|
||||||
@ -258,7 +261,7 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
%config(noreplace) %{_sysconfdir}/%{name}/settings.xml
|
%config(noreplace) %{_sysconfdir}/%{name}/settings.xml
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/logging/simplelogger.properties
|
%config(noreplace) %{_sysconfdir}/%{name}/logging/simplelogger.properties
|
||||||
%{_datadir}/bash-completion/completions/mvn
|
%{_datadir}/bash-completion/completions/mvn
|
||||||
%{_mandir}/man1/mvn.1.gz
|
%{_mandir}/man1/mvn*.1.gz
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
@ -267,6 +270,7 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-2
|
* Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-2
|
||||||
- Install mvnDebug and mvnyjp in bindir
|
- Install mvnDebug and mvnyjp in bindir
|
||||||
|
- Update manpage
|
||||||
- Resolves: rhbz#1207850
|
- Resolves: rhbz#1207850
|
||||||
|
|
||||||
* Mon Mar 16 2015 Michal Srb <msrb@redhat.com> - 3.3.1-1
|
* Mon Mar 16 2015 Michal Srb <msrb@redhat.com> - 3.3.1-1
|
||||||
|
27
mvn.1
27
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
|
.SH NAME
|
||||||
mvn \- software project management and comprehension tool
|
mvn \- software project management and comprehension tool
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
usage: mvn [options] [<goal(s)>] [<phase(s)>]
|
usage: mvn [options] [<goal(s)>] [<phase(s)>]
|
||||||
|
usage: mvnDebug [options] [<goal(s)>] [<phase(s)>]
|
||||||
|
usage: mvnyjp [options] [<goal(s)>] [<phase(s)>]
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
\fB\-am\fR,\-\-also\-make
|
\fB\-am\fR,\-\-also\-make
|
||||||
@ -19,6 +21,10 @@ projects on the list
|
|||||||
Run in non\-interactive (batch)
|
Run in non\-interactive (batch)
|
||||||
mode
|
mode
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-b\fR,\-\-builder <arg>
|
||||||
|
The id of the build strategy to
|
||||||
|
use.
|
||||||
|
.TP
|
||||||
\fB\-C\fR,\-\-strict\-checksums
|
\fB\-C\fR,\-\-strict\-checksums
|
||||||
Fail the build if checksums don't
|
Fail the build if checksums don't
|
||||||
match
|
match
|
||||||
@ -44,7 +50,7 @@ Encrypt server password
|
|||||||
.TP
|
.TP
|
||||||
\fB\-f\fR,\-\-file <arg>
|
\fB\-f\fR,\-\-file <arg>
|
||||||
Force the use of an alternate POM
|
Force the use of an alternate POM
|
||||||
file.
|
file (or directory with pom.xml).
|
||||||
.TP
|
.TP
|
||||||
\fB\-fae\fR,\-\-fail\-at\-end
|
\fB\-fae\fR,\-\-fail\-at\-end
|
||||||
Only fail the build afterwards;
|
Only fail the build afterwards;
|
||||||
@ -63,6 +69,10 @@ of project result
|
|||||||
Alternate path for the global
|
Alternate path for the global
|
||||||
settings file
|
settings file
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-gt\fR,\-\-global\-toolchains <arg>
|
||||||
|
Alternate path for the global
|
||||||
|
toolchains file
|
||||||
|
.TP
|
||||||
\fB\-h\fR,\-\-help
|
\fB\-h\fR,\-\-help
|
||||||
Display help information
|
Display help information
|
||||||
.TP
|
.TP
|
||||||
@ -70,6 +80,13 @@ Display help information
|
|||||||
Log file to where all build output
|
Log file to where all build output
|
||||||
will go.
|
will go.
|
||||||
.TP
|
.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
|
\fB\-N\fR,\-\-non\-recursive
|
||||||
Do not recurse into sub\-projects
|
Do not recurse into sub\-projects
|
||||||
.TP
|
.TP
|
||||||
@ -118,9 +135,9 @@ Alternate path for the user
|
|||||||
toolchains file
|
toolchains file
|
||||||
.TP
|
.TP
|
||||||
\fB\-U\fR,\-\-update\-snapshots
|
\fB\-U\fR,\-\-update\-snapshots
|
||||||
Forces a check for updated
|
Forces a check for missing
|
||||||
releases and snapshots on remote
|
releases and updated snapshots on
|
||||||
repositories
|
remote repositories
|
||||||
.TP
|
.TP
|
||||||
\fB\-up\fR,\-\-update\-plugins
|
\fB\-up\fR,\-\-update\-plugins
|
||||||
Ineffective, only kept for
|
Ineffective, only kept for
|
||||||
|
Loading…
Reference in New Issue
Block a user