AElMehdi
8da81ce73c
[MNG-6701] Document maven.repo.local property
...
This closes #265
2019-07-06 18:15:49 +02:00
Joseph Walton
353d3eaa8f
[MNG-6685] Convert Maven Model Builder to JSR 330
...
This closes #256
2019-06-23 00:20:54 +02:00
Sylwester Lachiewicz
59bd396e6e
[MNG-6686] Convert Maven Embedder to JSR 330
...
This closes #257
2019-06-21 23:57:49 +02:00
Sylwester Lachiewicz
0bffc8a932
[MNG-5577] Maven Artifact module has no Plexus annotations
2019-06-21 23:01:45 +02:00
Michael Osipov
edf61684c8
[MNG-6674] Upgrade Wagon to 3.3.3
2019-06-17 22:19:34 +02: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
Joseph Walton
c5ede2fef8
[MNG-6680] Convert Maven Settings Builder to JSR 330
...
Use @Named and @Singleton throughout, and switch to constructor injection
for DefaultSettingsBuilder.
This closes #246
2019-06-15 20:35:50 +02:00
Christian Schulte
c2f13f7e87
[MNG-6675] Make Resolver debug log messages for projects and plugins consistent
...
This closes #124 and closes #253
2019-06-15 20:12:36 +02:00
Michael Osipov
3d76faed00
Merge branch 'MNG-6672'
2019-06-13 11:40:08 +02:00
Michael Osipov
25ffca0633
[MNG-6672] Upgrade Maven Resolver to 1.4.0
2019-06-12 23:23:14 +02:00
Mao Shuai
da05c25584
Use properly quoted shell arguments with "$@"
...
This closes #238
2019-06-10 20:26:40 +02:00
Stefan Oehme
8f1cac0b1c
[MNG-6671] Upgrade Modello to 1.11
2019-06-10 15:18:30 +02:00
Michael Osipov
92b5191726
Revert "Modello changes"
...
They weren't properly squashed and worded.
This reverts commit 5035837094
.
This reverts commit 8aaeb8adf5
.
2019-06-10 13:55:38 +02:00
Michael Osipov
5035837094
[MNG-6671] Upgrade Modello to 1.10.1
...
This closes #252
2019-06-10 11:35:48 +02:00
Stefan Oehme
8aaeb8adf5
[MNG-6581] - Update to latest Modello plugin version
2019-06-10 11:08:29 +02:00
MartinKanters
aed5130487
[MNG-6665] toolchain.xml file should support environment variables
2019-06-08 10:43:12 +02:00
Stephen Connolly
01405a2d60
[MNG-6667] Enhance the error reporting when trying to build a modelVersion that the current Maven doesn't understand
2019-06-03 21:33:44 +01:00
rfscholte
275a9714c6
Include Java 12 for testing
2019-06-01 21:54:59 +02:00
Olivier Lamy
3495521a12
-DdeployAtEnd=true doesn't deploy anything
2019-05-29 16:19:00 +10:00
Olivier Lamy
a117168395
oops fix branch name
2019-05-29 14:34:45 +10:00
Olivier Lamy
8524e04e66
fix Jenkinsfile as it is script
2019-05-29 13:20:38 +10:00
Mickael Istria
660e745d85
Always deploy snapshot from master ( #250 )
...
Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-29 13:13:49 +10:00
Stefan Oehme
d3ace78602
[MNG-6638] Prevent reparsing POMs in MavenMetadataSource
...
If a dependency on another project is found, don't parse its
POM again, but instead use the model we already have in memory.
This saves a large amount of time and memory for builds that have
lots of subprojects and dependencies between them.
The approach was directly copied from DefaultArtifactDescriptorReader,
which does the same optimization.
This closes #244
2019-05-27 23:11:09 +02:00
Sylwester Lachiewicz
6c01ec18cb
[MNG-6633] - Reduce memory usage of excludes - fix rat/checkstyle errors
2019-05-25 14:26:09 +02:00
Stefan Oehme
790dc0f2b7
[MNG-6633] - Reduce memory usage of excludes
...
ExcludesArtifactFilter was highly inefficient.
It took the group and artifact ID of an Exclusion, concatenated them into
a new String, which was kept in memory for the whole duration
of the build and then compared that String against the concatenation
of group and artifact ID of each incoming artifact, adding more
CPU cycles than necessary.
Instead we now just wrap the existing Exclusion object and check its
groupId and artifactId against the artifact to tell whether it should
be excluded.
The old class is kept around for binary compatibility, but is now unused.
Closes #243
2019-05-25 13:12:47 +02:00
rfscholte
ff8c5c8706
MNG-6069: unittest with compact and spaced -D options
2019-05-17 22:09:48 +02:00
Joseph Walton
658301276a
[MNG-6069] Avoid (some) deprecated commons-cli methods
...
Switch from OptionBuilder to Option.Builder. Confirm by
inspection that the resulting Option objects are the same.
For now, leave GnuParser. Despite the upgrade advice in the GnuParser
Javadoc ("since 1.3, use the DefaultParser instead"), it behaves
differently.
Closes #247
2019-05-17 22:09:48 +02:00
Sergey Chernov
1a18eb6c9c
[MNG-6626] fix DefaultExceptionHandler NPE
...
Closes #241
2019-05-13 09:43:56 +02:00
Michael Osipov
3ac9718f82
[MNG-6655] Add support for "release" qualifier
...
This closes #249
2019-05-12 18:16:31 +02:00
Piotrek Żygieło
2760e3e175
(doc) - correct plural form of 'child'
...
Closes #248
2019-05-08 21:00:55 +02:00
rfscholte
4ff24e3678
[MNG-6643] Integration test
2019-04-29 23:27:58 +02:00
Hervé Boutemy
5350ed8a1f
[MNG-6644] don't fail if no input location tracking available
...
this can happen when the POM is not parsed by Maven core from XML
2019-04-28 19:42:25 +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
Stefan Oehme
1e03388d5b
[MNG-6632] - Remember artifact handlers after they've been used once
...
Otherwise we have to go through the whole sisu engine again,
which is very slow, because it does a linear scan.
2019-04-27 18:23:00 +02:00
Hervé Boutemy
d34e8fbdc0
[MNG-6631] documented the performance intent
2019-04-27 18:22:32 +02:00
Stefan Oehme
44ad1aafa6
[MNG-6631] - Make DefaultArtifactVersion faster
...
Use if-statements instead of exception-based control flow.
Throwing exceptions is very expensive and should not be used
for normal flow.
2019-04-27 18:03:38 +02:00
Stefan Oehme
ebac165990
[MNG-6630] - Make ComparableVersion faster
...
By not allocating the canonical representation for equals/hashcode,
but instead using the items we already have. This saves both time
and memory.
I left the canonical field around for testing purposes.
2019-04-27 18:03:31 +02:00
Stefan Oehme
baed5a294f
[MNG-6629] - Make ID validation faster
...
Use a simple list of allowed characters instead of a regex.
2019-04-27 18:03:20 +02:00
Karl Heinz Marbaise
80c6fe3a01
[MNG-6643] - Version comparison CLI does not work anymore
2019-04-24 19:56:24 +02:00
Joseph Walton
fdde73fcb4
Remove unused code that triggers Error Prone ( #245 )
...
Running Error Prone over Maven triggers an infinite recursion
check in AbstractCoreMavenComponentTestCase.PluginBuilder
2019-04-20 16:08:06 +02:00
Sylwester Lachiewicz
763f76cf83
[MNG-6642] Revert "[MNG-5995] Remove dependency to maven-compat ( #185 )"
...
This partially reverts commit bb3ec5da71
to restore working with Tycho P2 repository.
2019-04-20 00:10:59 +02:00
Sylwester Lachiewicz
61d888c785
[MNG-6646] Upgrade maven-assembly-plugin to 3.1.1
2019-04-19 23:42:59 +02:00
Jesse Glick
0940c7c973
[MNG-6405] Fix basedir in MavenProject.deepCopy ( #225 )
...
* [MNG-6405] Fix basedir in MavenProject.deepCopy.
* Reproduced bug in test.
Failure without patch:
junit.framework.AssertionFailedError: Base directory is preserved across clone expected:<…/maven-core/target/test-classes> but was:<…/maven-core/target/test-classes/target>
at org.apache.maven.project.MavenProjectTest.testCloneWithBaseDir(MavenProjectTest.java:188)
* Code style. Not enforced in tests during build?
2019-04-16 21:28:03 +10:00
Karl Heinz Marbaise
715d90b880
Update DOAP Information for new release.
2019-04-12 19:58:11 +02:00
Hervé Boutemy
55614d32d9
[MNG-6627] upgrade Plexus container to 2.0.0 for Reproducible Builds
2019-04-07 16:18:23 +02:00
Karl Heinz Marbaise
5222f03d05
[maven-release-plugin] prepare for next development iteration
2019-04-04 20:56:37 +02:00
Karl Heinz Marbaise
d66c9c0b31
[maven-release-plugin] prepare release maven-3.6.1
2019-04-04 20:56:16 +02:00
Romain Manni-Bucau
0ba5753c17
[MNG-6618] adding org.slf4j.event in exported packages
...
Based on MNG-6360
2019-04-01 11:55:58 +02:00
Raymond Auge
95401cf7a6
[MNG-6605] Unable to suppress download/upload messages (in interactive mode)
...
This closes #239
2019-04-01 08:47:10 +02:00
Sylwester Lachiewicz
a7acfe75b1
[MNG-6611] Update animal-sniffer-maven-plugin to version 1.17
...
Fixes #237
2019-03-29 15:55:28 +01:00