Commit Graph

372 Commits

Author SHA1 Message Date
Andrew Donald Kennedy 867e5d50be [MNG-6255] Maven script cannot parse jvm.config with CRLF
Both \r and \n should also be replaced with a space to deal with CRLF line endings properly
2018-02-10 11:42:31 +01:00
Karl Heinz Marbaise 68a9d79671 [MNG-6332] Cleaned up mvn.cmd Script 2018-01-06 20:27:20 +01:00
Stephen Connolly 3d0efa3696 [maven-release-plugin] prepare for next development iteration 2017-10-18 08:55:05 +01:00
Stephen Connolly 138edd61fd [maven-release-plugin] prepare release maven-3.5.2 2017-10-18 08:54:47 +01:00
Hervé Boutemy c19e9dcac3 [MNG-6242] detect Cygwin/Mingw pseudo terminal for Jansi 2017-10-15 10:16:00 +02:00
Hervé Boutemy eb2db7b286 [MNG-6196] updated slf4j to 1.7.25
[SLF4J-394] use new slf4j methods done for us
[SLF4J-395] use slf4j-simple System.out cache
2017-09-26 00:19:57 +02:00
Stephen Connolly 312eb53502 [maven-release-plugin] prepare for next development iteration 2017-09-10 12:51:43 +01:00
Stephen Connolly 094e4e31a5 [maven-release-plugin] prepare release maven-3.5.1 2017-09-10 12:51:26 +01:00
Hervé Boutemy 707cff6ffd [MNG-6186] fixed path to jansi native libs in distribution 2017-06-10 08:04:43 +02:00
Hervé Boutemy 6182a2083f [MNG-6186] use enhanced HawtJNI library loading (remove previous hack) 2017-05-09 21:08:13 +02:00
Hervé Boutemy 2d4401557c [MNG-6223] support -f path/to/dir when detecting .mvn 2017-05-09 21:07:41 +02:00
Michael Osipov 3938817fd3 Doc improvement in simplelogger.properties 2017-04-21 22:50:11 +02:00
Stephen Connolly a4b0b63b62 [maven-release-plugin] prepare for next development iteration 2017-04-03 20:35:47 +01:00
Stephen Connolly ff8f5e7444 [maven-release-plugin] prepare release maven-3.5.0 2017-04-03 20:35:30 +01:00
Stephen Connolly 87cf1eeb7d [MNG-6198] Use the directory specified by -f for searching with 'mvn' 2017-04-01 11:29:09 +01:00
Stephen Connolly 96543b7c6e [MNG-6195] Tidy up quoting and command substitution 2017-04-01 11:29:09 +01:00
Stephen Connolly fd29ddebf9 [maven-release-plugin] prepare for next development iteration 2017-03-20 16:55:53 +00:00
Stephen Connolly 214540c2ae [maven-release-plugin] prepare release maven-3.5.0-beta-1 2017-03-20 16:55:36 +00:00
Hervé Boutemy 181b0215aa [MNG-6115] prevent JAnsi from writing temp native files to lib/ext 2017-03-12 12:12:16 +01:00
rfscholte e0da20a1f8 [MNG-6181] HttpClient produces a lot of noise at debug loglevel
Turn off httpclient logging by default, which restores logging from previous Maven versions
2017-03-05 15:30:27 +01:00
Christian Schulte 0b9a30f350 [MNG-6177] The --file command line option of the Windows and Unix launchers does not work for directory names like "Spaces & Special Char" 2017-02-24 00:55:29 +01:00
robert.patrick f8ab2a650f [MNG-5889] .mvn directory should be picked when using --file 2017-02-14 07:51:20 +01:00
Josh Soref 1740265984 [MNG-6146] Several small stylistic and spelling improvements to code and documentation
Spelling fixes:

* system
* tokenizer
* toolchain
* trailing
* transitive
* unsupported
* version
* artifact
* attachment
* codehaus
* colleagues
* comparison
* concurrency
* configure
* creation
* dependency
* descriptor
* downstream
* efficient
* e.g.
* elements
* encountered
* encounters
* environments
* executed
* explicitly
* happens
* hierarchical
* hierarchy
* ignore
* implemented
* implementers
* independence
* indicates
* inheritance
* inherited
* inherits
* install
* interface
* javascript
* laziness
* management
* maven
* metadata
* mgmt
* minimalist
* nonexistent
* objects
* overridden
* print
* project
* properties
* recessive
* referring
* repository
* representation
* retrieval
* retrieve
* rigorous
* should
* spontaneously
* subsequent

Literal fixes:

*  use static final values

Style fixes:

* use the proper term for char U+002D (-) hyphen(-minus) instead of dash

This closes #100
2017-02-03 10:12:28 +01:00
Harald Wellmann 4d6c9292c4 [MNG-6110] Upgrade Aether to Maven Resolver 1.0.3 2017-02-01 07:59:52 +01:00
Michael Osipov 23b5fcffa7 [MNG-6137] Clean up duplicate dependencies caused by incomplete Wagon HTTP Provider exclusions
JCL over SLF4J has been added also as a runtime dependency because the
bundled HttpClient still uses Commons Logging and we want our version
of SLF4J enforced.
2017-01-31 16:14:31 +01:00
Michael Osipov 2678388ea2 [MNG-6003] Drastically reduce JAVA_HOME discovery code
All special handling has been removed. JAVA_HOME must be set properly by
the user if necessary. Error messages have been graciously borrowed from
the Tomcat start scripts.
2017-01-30 19:57:17 +01:00
Michael Osipov d426bf9c6e [MNG-6001] Replace %HOME% with %USERPROFILE% in mvn.cmd 2017-01-30 13:23:07 +01:00
Michael Osipov 1bc69ff93e [MNG-5963] mvn.cmd does not return ERROR_CODE 2017-01-30 13:14:16 +01:00
Miriam Lee 842b07be97 [MNG-5962] mvn.cmd fails when the current directory has spaces in between 2017-01-30 13:12:57 +01:00
Joseph Walton 1351020227 [MNG-5852] mvn shell script invokes /bin/sh but requires Bash functions
'local' is not POSIX, but supported by most shells. However, it's not
supported by Solaris's /bin/sh, so use a subshell instead.

This closes #50.
2017-01-30 12:56:36 +01:00
Joseph Walton 1d9708a954 [MNG-5829] mvn shell script fails with syntax error on Solaris 10
Use backticks instead of $(..) for the scripting added in MNG-5767.
Solaris's /bin/sh isn't POSIX-compliant enough to recognise the first
form.

This closes #50.
2017-01-30 12:56:36 +01:00
Tobias Oberlies 46c1581474 [MNG-5823] mvnDebug doesn't work with M2_HOME with spaces - missing quotes 2017-01-29 22:56:10 +01:00
Michael Osipov fe586467ec [MNG-5815] "mvn.cmd" does not indicate failure properly when using "&&" 2017-01-29 21:51:20 +01:00
Michael Osipov 065281c43d [MNG-5607] Don't use M2_HOME in mvn shell/command scripts anymore
* Variable has been removed and replaced with an internal one which
  cannot be overriden from outside. From now on, it is an
  implementation detail which it should have been from the beginning.
* Cleaned up license header and style of the variable description
  section graciously borrowed from the Tomcat start scripts.
2017-01-29 16:53:44 +01:00
Arlo Louis O'Keeffe 4337d18af6 [MNG-6163] Introduce CLASSWORLDS_JAR in shell startup scripts
This commit was previously for MNG-5538 and closes #27.
2017-01-29 16:00:35 +01:00
Michael Osipov b9285469a5 Remove Subversion keywords from LICENSE.vm 2017-01-29 15:14:27 +01:00
Michael Osipov aecccf9a2a [MNG-6145] Remove non-existent m2 include in component.xml 2017-01-28 18:19:31 +01:00
Karl Heinz Marbaise c794c2a393 [MNG-5946] Fix links etc. in README.txt which is part of the delivery
- Changed consistently to https cause all links are available via https.
- Fixed link to shutdown codehaus jira
- Fixed link to git repository.
2017-01-25 21:15:39 +01:00
Hervé Boutemy 84085c0a9c updated urls (https, plexus) and license header formatting 2017-01-24 23:50:10 +01:00
Hervé Boutemy 94bc4de2ea [MNG-6093] use monkey patched slf4j-simple provider with Maven color 2017-01-24 18:40:07 +01:00
Hervé Boutemy b80915b882 [MNG-3507] added color to Maven execution output messages 2017-01-24 18:40:07 +01:00
Karl Heinz Marbaise 8b66162052 [MNG-5904] Remove the whole Ant build 2017-01-24 18:40:07 +01:00
Michael Osipov be5caccaff [MNG-6102] Introduce ${maven.conf} in m2.conf
Set maven.conf to default ${maven.home}/conf in ${maven.home}/bin/m2.conf
to have a canonical property pointing to global configuration files from
within Java code.

This also helps package maintainers to decouple the Maven installation
from a global configuration by solely modifying m2.conf instead of using
dirty hacks, if possible at all.
2017-01-23 20:54:54 +01:00
Michael Osipov 5053a628c0 [MNG-6106] Remove maven.home setter from m2.conf 2017-01-22 21:37:57 +01:00
Hervé Boutemy c516ef79ae [MNG-5836] put $maven.home/conf/logging first in classpath to avoid
extension jar overriding logging config
2017-01-22 17:17:11 +01:00
Stephen Connolly bce33aa266 [MNG-6151] Set version to 3.5.0-SNAPSHOT 2017-01-04 09:12:47 +00:00
Jason van Zyl 737de43e39 [maven-release-plugin] prepare for next development iteration 2015-11-10 11:37:02 -05:00
Jason van Zyl bb52d8502b [maven-release-plugin] prepare release maven-3.3.9 2015-11-10 11:36:45 -05:00
Karl Heinz Marbaise cf2f373ddb [MNG-5882] Nonportable shell constructs cause bin/mvn errors on Debian 2015-11-08 15:08:18 +01:00
Jason van Zyl 406a46fd83 [maven-release-plugin] prepare for next development iteration 2015-10-30 09:41:20 -07:00
Jason van Zyl cdd15915eb [maven-release-plugin] prepare release maven-3.3.8 2015-10-30 09:40:58 -07:00
Jason van Zyl 508d97ec87 [maven-release-plugin] prepare for next development iteration 2015-10-27 11:36:39 -07:00
Jason van Zyl d48a49b353 [maven-release-plugin] prepare release maven-3.3.7 2015-10-27 11:36:22 -07:00
Jason van Zyl 1a8413bef9 MNG-5858: mvn script fails to locate .mvn in current directory
Submitted by: Dave Syer

closes #58
2015-09-11 19:15:12 -04:00
Stephen Kitt f0cc5e8af9 Support directories with spaces in mvn
find_maven_basedir() doesn't handle a current working directory containing spaces; this patch fixes this behaviour.
2015-09-04 23:01:14 +02:00
Hervé Boutemy d25669e0bb removed unused config since MPIR is at 2.8 with MPIR-290 2015-08-09 21:30:11 +02:00
Jason van Zyl 9f45a84667 [maven-release-plugin] prepare for next development iteration 2015-07-30 22:25:55 -04:00
Jason van Zyl 72e1aad686 [maven-release-plugin] prepare release maven-3.3.6 2015-07-30 22:25:36 -04:00
Jason van Zyl 7ef71655b3 [maven-release-plugin] prepare for next development iteration 2015-07-20 14:05:24 -04:00
Jason van Zyl 2226900a49 [maven-release-plugin] prepare release maven-3.3.5 2015-07-20 14:05:06 -04:00
Jason van Zyl 81a3035c63 [maven-release-plugin] prepare for next development iteration 2015-07-17 14:06:03 -04:00
Jason van Zyl df509db95a [maven-release-plugin] prepare release maven-3.3.4 2015-07-17 14:05:46 -04:00
Andreas Gudian f104ef8850 [MNG-5813] pass debug-opts from mvnDebug to mvn script in the additional env-variable MAVEN_DEBUG_OPTS to not interfere with user-specified MAVEN_OPTS (e.g. when read from .mavenrc).
Fixed as suggested by Robert Patrick on the ML
2015-06-27 17:41:33 +02:00
tssp ad905af669 [MNG-5812] Project base dir not fully working in Cygwin
Converted project base dir from Cygwin path to Windows path before
executing Maven.
2015-06-22 22:02:58 +02:00
sugartxy 7f206ef1cc try-with-resources
Reformatted to code style by me. This fixes #53
2015-06-20 14:32:46 +02:00
Kristian Rosenvold 7badeb5b5b Upgraded to java7 language features 2015-06-20 10:56:07 +02:00
Andreas Gudian f27c348bba MNG-5796 fix mvn.cmd execution when invoked at drive root 2015-05-02 19:33:38 +02:00
Jason van Zyl f6488774f5 [maven-release-plugin] prepare for next development iteration 2015-04-22 07:54:54 -04:00
Jason van Zyl 7994120775 [maven-release-plugin] prepare release maven-3.3.3 2015-04-22 07:54:38 -04:00
Jason van Zyl 9f4bf9eda9 [maven-release-plugin] prepare for next development iteration 2015-04-16 09:14:08 -04:00
Jason van Zyl 743903acab [maven-release-plugin] prepare release maven-3.3.2 2015-04-16 09:13:50 -04:00
Jason van Zyl c1384a2fed Update JDK references to JDK7 2015-03-19 08:43:49 -04:00
Jason van Zyl 1d3d2fd3df [maven-release-plugin] prepare for next development iteration 2015-03-13 13:05:42 -07:00
Jason van Zyl cab6659f98 [maven-release-plugin] prepare release maven-3.3.1 2015-03-13 13:05:27 -07:00
Jason van Zyl 0d32cbe6ac Make sure paths with spaces are treated correctly.
Fixes the issue of endlessly looping with project directory paths like "/my/project/this & that"
2015-03-13 12:18:24 -07:00
Arcadiy Ivanov 2f21481d06 mvn script is not compatible with OSX (Darwin)
Signed-off-by: Jason van Zyl <jason@tesla.io>

closes #39
2015-03-13 11:11:35 -07:00
Jason van Zyl eae9a88f54 [maven-release-plugin] prepare for next development iteration 2015-03-11 14:42:17 -07:00
Jason van Zyl b37a7d1776 [maven-release-plugin] prepare release maven-3.3.0 2015-03-11 14:42:01 -07:00
Jason van Zyl 368516c2aa Change version from 3.2.6-SNAPSHOT to 3.3.0-SNAPSHOT 2015-03-04 10:58:05 -08:00
Jason van Zyl 50899962f6 Make sure the windows *.cmd files make it into the assembly 2015-02-28 13:41:34 -08:00
Andreas Gudian c6faf8dd65 MNG-5776 Drop support for Win9x in mvn launch scripts for Windows, rename .bat to .cmd, remove duplicate code from mvnDebug.cmd 2015-02-28 15:50:58 +01:00
Igor Fedorenko b01bf0c3d4 MNG-5767 enforce use of maven.multiModuleProjectDirectory, fixed mvn*.bat
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 11:45:29 -05:00
Andreas Gudian 562896a192 MNG-5767 .mvn/ for project specific jvm options and maven parameters -- adapted Windows .bat scripts 2015-02-25 21:58:29 +01:00
Igor Fedorenko e28be4d33a MNG-5767 renamed projectBasedir to more descriptive multiModuleProjectDirectory
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-23 13:47:34 -05:00
Igor Fedorenko 8ed9a1caa8 MNG-5767 .mvn/ for project specific jvm options and maven parameters
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-20 08:14:08 -05:00
Igor Fedorenko 7c7bf4dfef cleaned up duplication code in bin/mvn shell scripts
changed mvnDebug and mvnyjp to delegate to the main mvn script
to do the actual work. this eliminated all code duplication
among the three scripts.

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-09 15:24:58 -05:00
Bernd Eckenfels fbd6e53e83 [MNG-5686] Use /usr/libexec/java_home to find JAVA_HOME 2015-01-22 00:54:33 +01:00
Robert Scholte 71976ecf4d [MNG-5745] Add example of toolchains.xml to Maven distribution 2014-12-26 14:29:21 +01:00
Jason van Zyl fa71e5f5ad [maven-release-plugin] prepare for next development iteration 2014-12-14 12:22:54 -05:00
Jason van Zyl 12a6b3acb9 [maven-release-plugin] prepare release maven-3.2.5 2014-12-14 12:22:35 -05:00
Kristian Rosenvold 44d06d890f [MNG-5686] mvn cannot execute /usr/libexec/java_home/bin/java on OS X.
Patch supplied by Jonathan Sailor, applied unmodified
2014-12-13 09:24:55 +01:00
Jason van Zyl 35c49f7a5e [maven-release-plugin] prepare for next development iteration 2014-12-12 16:14:40 -05:00
Jason van Zyl ed0e6acb01 [maven-release-plugin] prepare release maven-3.2.4 2014-12-12 16:14:23 -05:00
Michael Osipov 0343c52601 Trimmed trailing whitespace 2014-11-23 13:04:30 +01:00
Hervé Boutemy 603f26addf Revert "Account the the jsoup license URL which appears to have
changed." because https://github.com/jhy/jsoup/issues/471 fixed

This reverts commit 71f8d04be6.
2014-10-13 23:54:18 +02:00
Jason van Zyl 71f8d04be6 Account the the jsoup license URL which appears to have changed.
The JSoup license URL was recorded as http://jsoup.com/license but the
site appears to now be http://jsoup.org/ and so the URL is now
http://jsoup.org/license
2014-10-12 07:23:56 -04:00
Igor Fedorenko 2909b5a329 aether 1.0
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-08-27 23:17:24 -04:00
Jason van Zyl 1ed1d8cd3d [maven-release-plugin] prepare for next development iteration 2014-08-11 13:55:03 -07:00
Jason van Zyl 33f8c3e102 [maven-release-plugin] prepare release maven-3.2.3 2014-08-11 13:54:57 -07:00
Jason van Zyl 69448a7f09 MNG-5658: Fix syntax error in unix script on Solaris SPARC
Submitted by: Frank Langelage <frank.langelage@osnanet.de>
2014-07-06 13:47:11 -04:00