Commit Graph

152 Commits

Author SHA1 Message Date
Guillaume Nodet bb916d0784 [MNG-7035] Migrate unit tests to Unit 5
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-01-15 15:07:06 +01:00
Michael Osipov 673a7d1fef Trim trailing whitespace 2020-12-24 19:09:10 +01:00
Nicolas Juneau 95ee890837 [MNG-5728] Switch the default checksum policy from "warn" to "fail"
Signed-off-by: rfscholte <rfscholte@apache.org>
Signed-off-by: Michael Osipov <michaelo@apache.org>
2020-12-02 20:49:46 +01:00
Robert Scholte 251ba225c6 Revert "[MNG-5728] Switch the default checksum policy from "warn" to "fail"" 2020-12-02 20:28:04 +01:00
Nicolas Juneau d8ad76b9cb [MNG-5728] Switch the default checksum policy from "warn" to "fail"
Signed-off-by: rfscholte <rfscholte@apache.org>
Signed-off-by: Michael Osipov <michaelo@apache.org>
2020-11-30 21:12:14 +01:00
pazderski 39641ac803 [MNG-6983] Plugin key can get out of sync with artifactId and groupId
The plugin key is build as combination of artifactId and groupId but not
updated if either of these two ids change.
This can be a problem if artifactId or groupId is a variable. The calculated
key will likely contain the unresolved property and is not updated once the
variable is interpolated.

This closes #372
2020-10-03 12:51:51 +02:00
Marc Bruggmann 8b7f6f0c9d [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model
In most other places, we order the groupId before the artefactId.
Exclusion was the odd one out, so I changed it to be in line with
the others.

This closes #375
2020-09-11 08:32:16 +02:00
rfscholte e3aa406cc7 [MNG-6824] ModelMerger is broken
Fixing reportSet.reports, mailingList.otherArchives, contributor.roles, build.filters, execution.goals, patternSet.includes, patternSet.excludes
2019-12-22 17:28:35 +01:00
rfscholte 11b8b2d5d4 [MNG-6824] ModelMerger is broken
Fix modules
Apply Java 8 Functions
2019-12-21 15:03:04 +01:00
Christian Wansart 0c7c69f78b [MNG-6778] - Use https for maven schemaLocations 2019-11-07 16:16:39 +01:00
Guillaume Nodet a52e2ea44a [MNG-6695] Improve speed in collection merging
This closes #262
2019-08-23 11:25:41 +02:00
Guillaume Nodet 690841e9be [MNG-6697] New fast model interpolator not using reflection (#261)
* [MNG-6697] New fast model interpolator not using reflection

* [MNG-6697] Fix management key in case a field has been modified

* [MNG-6697] Remove the unused FIELDS_CACHE and make the InnerInterpolator private

* [MNG-6697] Clean up the code to remove a few warnings
2019-07-24 12:30:12 +10:00
Hervé Boutemy 58de88f95c MNG-6681 dependency type = extension+classifier
removed misleading "While it usually represents the extension on the
filename of the dependency, that is not always the case. A type can be
mapped to a different extension and a classifier. The type often
corresponds to the packaging used, though this is also not always the
case."
2019-06-16 16:54:58 +02:00
Piotrek Żygieło 2760e3e175 (doc) - correct plural form of 'child'
Closes #248
2019-05-08 21:00:55 +02:00
Hervé Boutemy 869b615189 [MNG-6636] merge reports location tracking
- avoids NPE during DefaultReportingConverter work
- fixes missing location tracking when parent values injected into
  existing child values
2019-04-28 19:42:19 +02:00
Sylwester Lachiewicz 78f605e377 [MNG-6515] Fix Javadoc build errors 2018-11-12 17:23:56 +01:00
Hervé Boutemy f97316ceec [MNG-6505] inherit child.x.y.inherit.append.path values 2018-11-11 19:30:31 +01:00
Hervé Boutemy db462ae0b3 [MNG-6059] renamed attributes to get more flexibility for scm urls 2018-11-11 19:30:31 +01:00
Hervé Boutemy 2e8e09f25b [MNG-5951] add an option to avoid path addition to inherited URLs
This is done as child.inherit.append.path XML attribute on 3 locations:
- project, for project.url
- project.distributionManagement.site for its url
- project.scm, for the 3 scm urls in one unique config
2018-09-16 16:44:12 +02:00
rfscholte 72dca39807 Replace org.apache.commons.lang3.Validate#notNull with java.util.Objects#requireNonNull 2018-07-15 10:36:08 +02:00
Hervé Boutemy 0dc70cc691 upgrade m-site-p to 3.7 + Fluido 1.7 + edit button 2018-02-10 11:42:33 +01:00
Karl Heinz Marbaise 4f2a2dba89 [MNG-6174] Clean Up Maven Model 2017-08-02 19:31:49 +02: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
Hervé Boutemy 19d5b9dfa1 [MNG-5297] improved explanations on prerequisites.maven in Maven 3 2017-02-14 01:37:31 +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
Hervé Boutemy 9b763cc002 [MNG-5878] added project.directory property to support module name !=
artifactId in every calculated URLs
2017-02-01 08:01:11 +01:00
Karl Heinz Marbaise 8c7ce55572 [MNG-6068] Document default scope compile in XSD
o Improved description.
2017-01-30 12:48:28 +01:00
Karl Heinz Marbaise 1f0493431b [MNG-6068] Document default scope compile in XSD
o Added information about default scope in XSD comment.
2017-01-30 09:21:49 +01:00
Hervé Boutemy 84085c0a9c updated urls (https, plexus) and license header formatting 2017-01-24 23:50:10 +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
Hervé Boutemy 37c3f57f1d fixed issue in comment 2015-09-14 22:29:13 +02:00
Hervé Boutemy 2669980461 [MNG-5887] updated Modello site url 2015-09-14 19:52:21 +02:00
Joseph Walton a839e55e7e MNG-5297: Mark <prerequisites> as deprecated for compile-time enforcement.
MNG-4840 indicates that the Enforcer plugin should be
preferred to <prerequisites> for compile-time Maven version enforcement.
Indicate that in the documentation, making clear that it's still
supported for runtime requirements for a plugin.

Signed-off-by: Jason van Zyl <jason@tesla.io>

closes #51
2015-09-11 18:58:40 -04:00
Hervé Boutemy e85e8cc981 added default values in fields documentation 2015-09-05 19:02:46 +02:00
Kristian Rosenvold 7badeb5b5b Upgraded to java7 language features 2015-06-20 10:56:07 +02:00
Jason van Zyl be3fb20032 MNG-5775 Make the project graph building code pluggable to allow for new/different implementations. 2015-03-01 12:39:30 -08:00
Michael Osipov 0343c52601 Trimmed trailing whitespace 2014-11-23 13:04:30 +01:00
Dennis Lundberg 608b430f7d Tweak the description for a PluginExecution phase, to clarify where the default phase comes from. 2014-11-02 17:18:31 +01: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 c14c0dcc7c added info about JDK activation with range 2014-07-16 22:07:27 +02:00
Hervé Boutemy bd2b01d4ea tried explanations improvements 2014-06-15 18:52:46 +02:00
Hervé Boutemy 8801b00034 [MNG-3106] improved documentation: all conditions must be satisfied 2014-06-15 17:11:58 +02:00
Hervé Boutemy 3c7744a9a0 [MNG-5590] improved documentation about interpolation on file activation 2014-03-23 16:36:01 +01:00
Hervé Boutemy def19d2313 improved description 2014-01-26 23:40:55 +01:00
rfscholte e1807abfbc Replace package.html with package-info.java 2013-05-28 22:02:39 +02:00
Stephen Connolly c6c6bdc49f Add ASL license header 2013-05-28 10:19:32 +01:00
Hervé Boutemy 15a13529b3 added a note about module=artifactId recommendation 2013-05-19 18:07:16 +02:00
Hervé Boutemy adf65b8599 more sensible value for version: 4.0.0+ instead of 4.0.0, since
the vast majority from actual pom version will remain in future versions
2013-05-18 15:02:18 +02:00
Hervé Boutemy f8cda9db60 [MNG-5480] added documentation about default url values calculated
from parent pom
2013-05-18 12:53:47 +02:00
Hervé Boutemy a07fdf076c improved javadoc 2012-12-15 21:06:57 +01:00