Commit Graph

444 Commits

Author SHA1 Message Date
Hervé Boutemy 567af0d964 use "java -jar" command 2017-04-12 03:59:44 +02:00
Lubomir Varga 6a93bbea23 Improve Javadoc of ComparableVersion#main()
This closes #108
2017-04-11 16:02:21 +02:00
rfscholte 0e7e3eeb59 [MNG-6176] Javadoc errors prevent release with Java 8
Upgrade to modello-1.9.1
Fix javadoc errors in tests
2017-03-18 12:55:05 +01:00
LuboVarga 10a18cfee7 Added some javadoc
Added javadoc help for making easier to compare two versions in command line.
2017-03-13 13:23:04 +01:00
rfscholte 587317b009 [MNG-6176] Javadoc errors prevent release with Java 8
Upgrade modello to 1.9.0
Fix invalid Javadoc
2017-03-10 16:17:28 +01:00
Michael Osipov b66bdb9cbc [MNG-6150] Javadoc improvements for 3.5.0
* Remove duplicate plugin configuration
* Add workaround for Javadoc locale
* Clean up errors reported by Javadoc 7

Note: Javadoc 8 fails immediately because Modello generates invalid
Javadoc
2017-02-15 17:30:46 +01:00
Alex Henrie 8d91726f78 [MNG-5934] String handling issues identified by PMD 2017-02-11 14:08:24 +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
Michael Osipov 618e62dd33 [MNG-5649] Use Commons Lang's Validate to intercept invalid input
Use wherever possible Validate with consistent messages and exceptions.
2015-10-16 17:32:57 +02:00
Karl Heinz Marbaise 15223116a6 Fixed URL's to issue tracking after transition to
Apache Software Foundation.
2015-07-19 09:53:50 +02:00
Kristian Rosenvold 7badeb5b5b Upgraded to java7 language features 2015-06-20 10:56:07 +02:00
Hervé Boutemy 9afde51528 removed unused import 2014-11-30 23:34:00 +01:00
Hervé Boutemy 14e4885de9 [MNG-5568] fixed edge case version parsing bug causing inconsistent
comparison results
2014-11-30 23:26:12 +01:00
Hervé Boutemy 09d64bdf5c [MNG-5730] added CLI to test Maven version parsing and comparison 2014-11-30 21:57:07 +01:00
Michael Osipov 0343c52601 Trimmed trailing whitespace 2014-11-23 13:04:30 +01:00
Hervé Boutemy 366f57c563 updated parent pom (and fixed issues...) 2014-10-24 01:25:49 +02:00
Hervé Boutemy ca2b26ac5d fix a lot of checkstyle violations for future m-checkstyle-p 2.13, as
proof of concept for misc violations suppressions strategies
2014-08-19 00:17:28 +02:00
Hervé Boutemy 6683e8681f code formatting 2014-06-14 00:08:07 +02:00
Jason van Zyl af1ecd5f00 MNG-5645: When a number is not used in a version correctly, provide a better error.
Submitted by: Phil Pratt-Szeliga
2014-06-11 08:44:42 -04:00
Igor Fedorenko 0f1fcd7066 Revert "MNG-5552 made classifier part of MavenProject.artifactMap key"
This reverts commit f35698c790.

There are plugins that rely on the broken behaviour and I don't have the
time to fix this in backwards compatible way right now.

http://markmail.org/message/gjfuofw5gpsr5yxz

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-02-13 21:41:07 -05:00
Hervé Boutemy 4a39c02156 fixed errors reported by Checkstyle 2014-02-08 16:38:31 +01:00
Stephen Connolly 5cf05463a4 [MNG-3626] Small change to artifact version parsing.
Applied patch inspired by patch submitted by Paul Gier.

- Substantially rewrote test case to match current testing style

- Changed the patch to ensure that 4 segment number only version number are not affected... would be nice to pick them up but holding that change back for now
2014-01-07 16:38:01 +00:00
Stephen Connolly 445421051c potential NPE 2014-01-06 10:43:51 +00:00
Stephen Connolly 9bec8d7386 Use chained .append calls rather than concatenate strings in arguments to .append 2014-01-06 10:42:20 +00:00
Igor Fedorenko f35698c790 MNG-5552 made classifier part of MavenProject.artifactMap key
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-17 12:56:36 -05:00
Arnaud Héritier 21907a74e7 Revert "Code cleanup - It's better (for perfs) to use a chain of append() calls than a unique append with several Strings concatenations"
This reverts commit c8e94a5b08.

Decreases too much the code readibility
2013-06-14 10:29:43 +02:00
Arnaud Héritier 456268af61 Code cleanup -  Remove Redundant Cast(s) 2013-06-11 22:28:48 +02:00
Arnaud Héritier 1f84f8f296 Code cleanup - Maven requires Java 5+ : Replace String.indexOf() by String.contains() 2013-06-11 22:19:20 +02:00
Arnaud Héritier 9e5183f0ad Code cleanup - Various code simplifications (tests, loops, …) 2013-06-11 22:09:51 +02:00
Arnaud Héritier c8e94a5b08 Code cleanup - It's better (for perfs) to use a chain of append() calls than a unique append with several Strings concatenations 2013-06-11 21:58:50 +02:00
Stephen Connolly c6c6bdc49f Add ASL license header 2013-05-28 10:19:32 +01:00
Hervé Boutemy b6e99c7676 added javadoc 2013-01-12 09:08:05 +01:00
Hervé Boutemy 3849bbd46a fixed errors reported by Checkstyle 2012-12-16 21:49:18 +01:00
Hervé Boutemy 543870467f fixed errors reported by Checkstyle 2012-12-02 20:22:52 +01:00
Herve Boutemy 57976a8b1a added javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407894 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 22:16:09 +00:00
Herve Boutemy 6926782cca added test: 1.0-SNAPSHOT is not in [1.0,)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1397916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 17:46:12 +00:00
Herve Boutemy a07abada2b added an introduction to Artifact API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391847 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 17:38:50 +00:00
Herve Boutemy 46c73b75de fixed documentation: snapshot is after rc, just before release
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391100 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 17:08:35 +00:00
Herve Boutemy 06cb69697e added since info
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1350794 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:52:47 +00:00
Herve Boutemy 691e4af5cf added @since info on methods and classes used by mirror injection
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1335785 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:46:14 +00:00
Herve Boutemy 799d63bf87 [MNG-5119] added Javadocs and JXR links in left menu for every module to give easy access to code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1137154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 10:00:46 +00:00
Herve Boutemy 6a4b7fbf1a improved documentation to precise sorting of unknown qualifiers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1134886 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 08:11:51 +00:00
Paul Gier ed0647b0b6 Add unit tests to verify behaviour of unrecognized version qualifiers.
Issue id: MNG-5114


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1133143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 20:28:08 +00:00
Benjamin Bentmann e2ad36018b [MNG-5046] Remove $Id$ from sources
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1084807 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 23:30:11 +00:00
Benjamin Bentmann 18e7366753 [MNG-4963] [regression] Parent POM not downloaded when settings define global mirror and one snapshot repo but no other release repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073714 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:06:20 +00:00
Kristian Rosenvold 9d8fb63928 [MNG-4996] Made scope and version volatile on artifact
Resisted the urge to make *everything* threadsafe on this class, which I will
happily admit has been there for a long time.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1066064 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 15:29:32 +00:00
Benjamin Bentmann a78ef2d826 [MNG-4912] Use of raw type should be Comparable<ArtifactVersion>
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1039332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 12:37:37 +00:00
Benjamin Bentmann 3a53a3caf2 [MNG-4877] Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1029208 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 21:42:14 +00:00
Benjamin Bentmann 137b64e837 o Fixed glitch in daily update policy which uses wrong timezone
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@999860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 10:23:18 +00:00
Benjamin Bentmann 122d51960a [MNG-4751] Snapshot version not resolved for version range
o Reverted fix for MNG-3092 until we have a more robust solution in place

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 16:08:51 +00:00