Sylwester Lachiewicz
0b939e6bbd
[MNG-6522] Fix typos
2019-01-11 23:20:36 +01:00
Sylwester Lachiewicz
91f5088578
[MNG-6522] Prepare to run ITs tests with Java 12-ea
2019-01-11 19:25:41 +01:00
Michael Osipov
8865441bb6
Add missing depenencies for MNG-3372 + MNG-6555
2019-01-09 23:44:48 +01:00
Michael Osipov
c5461bd034
Fix Maven version range for MNG-5965
2019-01-09 22:43:41 +01:00
Christoph Etzel
ec38d0cad9
[MNG-6265] Add integration test
...
Fixes #23
2019-01-09 00:54:05 +01:00
Sylwester Lachiewicz
aff570ba05
[MNG-6513] Migrate Plexus Javadoc Tags to Plexus Annotations
2019-01-03 23:02:56 +01:00
Duarte Meneses
6808cec613
[MNG-5965] Parallel build multiplies work if multiple goals are given
...
This closes #22
2018-12-27 14:16:07 +01:00
Sylwester Lachiewicz
aafbf0f347
[MNG-6481] Fix Wagon sample plugin to pass tests with Java 11
...
Current working directory was different between 8 and 11
2018-11-10 02:28:37 +01:00
Sylwester Lachiewicz
a68a0e9b72
[MNG-6509] Upgrade maven-dependency-plugin to 3.1.1
2018-11-08 22:34:48 +01:00
Sylwester Lachiewicz
1bf5463c08
[MNG-6481] Cleanup auto generated methods
...
Remove open tasks in Jenkins
2018-11-08 02:47:31 +01:00
Sylwester Lachiewicz
ff9ba60e67
[MNG-6481] Update maven-assembly-plugin to 3.1.0
...
Also in bootstrap
2018-11-08 02:27:17 +01:00
Sylwester Lachiewicz
8baf00665a
[MNG-6481] Workaroud to pass tests with Java 11
...
- one more error message pattern
2018-11-08 01:54:45 +01:00
Sylwester Lachiewicz
cfd2a13774
[MNG-6481] Update to newer maven-assembly-plugin in test
...
Resolve issue with initialization of plexus-archiver 2.8.2 and Java 11
2018-11-08 01:30:11 +01:00
Sylwester Lachiewicz
fb64340087
[MNG-6427] IT for MNG-1957 fails on Java 11+
2018-11-07 23:58:08 +01:00
Karl Heinz Marbaise
7076be8758
[MNG-6391] - Added IT to check output.
...
- Added MavenITmng6391PrintVersionTest
- Kept MavenITmng6352PrintVersionTest
2018-10-09 21:02:16 +02:00
rfscholte
f4602fabc0
Upgrade maven-surefire-plugin to 2.22.0 to support Java 10
2018-07-18 22:17:08 +02:00
Hervé Boutemy
76b928f056
[INFRA-16467] move components documentation out of CMS space
2018-06-19 00:35:18 +02:00
Michael Osipov
f715b10806
[MNG-6428] IT for MNG-5958 fails on Java 9+
2018-06-16 01:37:21 +02:00
Michael Osipov
e3b61872fa
[MNG-6427] IT for MNG-1957 fails on Java 9+
2018-06-16 00:56:28 +02:00
Michael Osipov
cfacb95634
[MNG-6426] IT for MNG-6127 fails on Java 9+
2018-06-16 00:30:42 +02:00
Christian Schulte
d1b0435670
[MNG-5940] Change the maven-source-plugin jar goal into jar-no-fork in Maven Super POM
2018-05-27 10:34:38 +02:00
Michael Osipov
0cf64817f9
[MNG-6386] ${project.baseUri} is not a valid URI (according to RFC 3986)
...
File#toURI()#toString() produces a non-compliant URI making tools like
Subversion or Git to choke on those URIs. Whereas Path#toUri()#toASCIIString()
does the right job.
2018-05-06 20:17:17 +02:00
Hervé Boutemy
151554797f
[MNG-6377] switch from Git-WIP to Gitbox
2018-03-19 23:24:31 +01:00
Hervé Boutemy
3ec8c65cc4
[MNG-6377] switch from Git-WIP to GitBox
2018-03-18 15:00:02 +01:00
Hervé Boutemy
566021452b
upgraded parent POM and updated site.xml
2018-03-14 01:44:34 +01:00
Karl Heinz Marbaise
9d98ce43bd
[MNG-6352] - Added IT's for print version output.
2018-02-17 20:29:05 +01:00
Hervé Boutemy
2df8667f33
[MNG-6127] support IT re-run without cleaning
2018-02-08 22:35:21 +01:00
Hervé Boutemy
b2805f87f1
[MNG-5753] support IT re-run without cleaning
2018-02-08 22:35:05 +01:00
rfscholte
1e09c00cd8
[MNG-6330] Parents relativePath not verified anymore
2017-12-29 10:42:32 +01:00
Hervé Boutemy
3027889a08
[MNG-6308] make IT more tolerant on format change
2017-12-22 16:11:21 +01:00
Stephen Connolly
69540cdf45
Ensure any forked Maven executions are not spied on by Jenkins
2017-12-12 16:36:17 +00:00
Stephen Connolly
8be088a9ef
Ensure any forked Maven executions are not spied on by Jenkins
2017-12-12 15:31:48 +00:00
Stephen Connolly
d4ec6e03f6
Add the serverId to scm-publish so that we do not need to rely on cached svn credentials
2017-10-18 12:51:21 +01:00
Stephen Connolly
47321c64de
Revert "MNG-6209 better executeMojo thread context classloader"
...
This reverts commit a3e6d5c35e
.
2017-10-17 21:00:59 +01:00
Stephen Connolly
9c19ac8f5a
Adding a Zulu JDK 7 environment
2017-09-11 09:47:45 +01:00
Mario Krizmanic
6391b3177b
[MNG-6127] Fix plugin execution configuration interference
...
commit 82b043f8bd2015fc4ccac35df805ec2356100428
Author: rfscholte <rfscholte@apache.org>
Date: Fri Aug 4 14:23:55 2017 +0200
[MNG-6127] Fix plugin execution configuration interference
commit 534b562d9c961156b90237fdedd5a99888cf50aa
Author: Mario Krizmanic <mario.krizmanic@gmail.com>
Date: Wed Nov 23 22:25:34 2016 +0100
Add plugin execution configuration interference test
Signed-off-by: rfscholte <rfscholte@apache.org>
2017-08-15 22:02:31 +02:00
Karl Heinz Marbaise
d1d7f1d0e7
[MNG-6123] detect self references in POM and fail fast
...
o Changed the artifactId of the integration test to
prevent failing on the check for self referencing.
2017-07-28 21:26:42 +02:00
Guillaume Boué
5cdd01de32
[MNG-6240] Duplicate components in plugin extension realm when plugin depends on maven-aether-resolver
...
Maven Core needs to export the maven-aether-provider artifact so that its components do not get added twice in plugin realm. This happens if the build uses an extension plugin depending on maven-aether-provider, before it was renamed to maven-resolver-provider
2017-06-09 23:24:00 +02:00
Dan Tran
d6ad86ceb0
[MNG-6084] Support JSR 250 annotations
2017-05-25 01:04:22 +02:00
Michael Osipov
bbae82c882
Remove superfluous Eclipse configuration files
2017-05-24 11:11:39 +02:00
Michael Osipov
a64d28aef9
Expect fail for MNG-947 with Maven 3.0.5
...
Due to the addition of MNG-6229 it turns out that Maven 3.0.5 resolves
optional dependencies differently than other versions. The oldest
version to pass this IT is 3.1.0-alpha-1.
2017-05-14 00:15:07 +02:00
Michael Osipov
3d272dd5e2
[MNG-5935] Optional true getting lost in managed dependencies when transitive
2017-05-10 10:34:36 +02:00
Michael Osipov
9abd8fdc48
[MNG-6229] Write out optionality in Core IT Plugins for collection and resolution
...
Write out " (optional)" in the log entry as well as to the file for later
analysis.
2017-05-09 23:30:06 +02:00
Hervé Boutemy
e2c15f1a90
[MNG-6223] support -f path/to/dir when detecting .mvn
2017-05-09 21:09:08 +02:00
Igor Fedorenko
90b0f8e83e
MNG-6210 shortened test project file names
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-05-07 17:43:15 -04:00
Igor Fedorenko
e0470ce1b6
MNG-6210 allow maven custom guice scopes in .mvn/extensions
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-14 10:40:50 -07:00
Igor Fedorenko
a3e6d5c35e
MNG-6209 better executeMojo thread context classloader
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-13 15:01:10 -07:00
Michael Osipov
c014cd3650
Fix ITs MNG-5019 and MNG-5224 with ArtifactResolutionException
...
In a locked down environment (no direct Internet connection) these ITs constantly
fail with ArtifactResolutionException. Add dependenies Plexus Utils 2.0.4 and
Maven Settings 2.0 to bootstrap's group 7.
2017-04-09 23:39:07 +02:00
Hervé Boutemy
877e278238
fixed IT: use m-compiler-p version as defined in bootstrap
2017-04-06 01:40:06 +02:00
Hervé Boutemy
739d503ed2
fixed IT: use m-compiler-p version as defined in bootstrap
2017-04-05 08:54:31 +02:00
Hervé Boutemy
2cbdd86c60
updated m-dependency-p to latest
2017-04-04 20:47:49 +02:00
Hervé Boutemy
2e09197f22
added bootstrap info
2017-04-04 00:48:04 +02:00
Stephen Connolly
cd49d181e4
Adding Solaris 11 as well as IBM and Azul JDKs
2017-04-03 14:49:33 +01:00
Stephen Connolly
3980ceb4b8
fix markdown link
2017-04-03 13:11:51 +01:00
Stephen Connolly
146bf34d86
More test environments
2017-04-03 13:11:07 +01:00
Stephen Connolly
f5d4ac0fe6
Break environments by JDK as well as OS
2017-04-03 12:09:56 +01:00
Stephen Connolly
138b3790a3
Add some exotic test environments
2017-04-03 11:59:34 +01:00
Hervé Boutemy
07a70f03c5
[MNG-6198] improved IT to check module case
2017-04-03 00:22:27 +02:00
Michael Osipov
d9c9a8551d
[MNG-6202] Cannot pass nonProxyHosts to ITs making remote tests lock up when proxy rejects to proxy internal hosts
...
Set default value 'localhost' of 'proxy.nonProxyHosts' and allow users to
override if necessary.
2017-04-01 23:11:05 +02:00
Michael Osipov
cf53410e0c
[MNG-6200] Some ITs fail if proxy is configured
2017-04-01 18:00:18 +02:00
Michael Osipov
8abf336178
[MNG-6200] Some ITs fails if proxy is configured
2017-03-31 13:21:19 +02:00
Hervé Boutemy
727cf7f339
upgraded parent pom to benefit from site staging configuration
2017-03-25 11:26:23 +01:00
Hervé Boutemy
762669982b
[MNG-5958] Lifecycle.setPhases bin compat restored in 3.5.0-alpha-1
2017-03-25 07:24:47 +01:00
Hervé Boutemy
e61e7ca427
force forked mode when hacking for JVM CLI issue
2017-03-25 06:03:07 +01:00
Hervé Boutemy
eb10d33d53
[MNG-6189] added IT for maven-site-plugin reportPlugins use warning
2017-03-19 21:52:43 +01:00
Karl Heinz Marbaise
166623a076
[MNG-6057], [MNG-6090], [MNG-5895]
...
o Added IT's for MNG-5895, MNG-6057, MNG-6090
o Added flatten-maven-plugin for usage during
the IT's.
2017-03-13 22:06:57 +01:00
Christoph Böhme
8fac689e58
[MNG-6173] Test getProjects() and getProjectDependencyGraph()
...
Adds a test for checking that MavenSession.getProjects() contains the
projects being built and that MavenSession.getProjectDependencyGraph()
is set.
The fix for MNG-6173 changed the way these to properties are
initialised. This integration test verifies that the initialisation is
still correct.
2017-03-06 17:37:30 +01:00
Christoph Böhme
00db7bb9ed
[MNG-6173] getAllProjects() should return all projects
...
Adds a test for checking that MavenSession.getAllProjects() returns the full
list of projects in the reactor even when only some of them are selected
for being built.
This closes #19
2017-03-06 17:37:21 +01:00
Stephen Connolly
bb739f24d4
3.5.0-alpha-1 < 3.5.0
2017-02-24 19:48:31 +00:00
Hervé Boutemy
db4aca5b05
[MNG-5889] .mvn directory should be picked when using --file
2017-02-14 08:03:45 +01:00
Christian Schulte
aa4e06da1f
[MNG-2199] Support version ranges in parent elements
...
o Updated the ITs to correctly detect parent resolution failures. Maven does
not fail the build when it cannot resolve a parent but instead logs a
warning message. The ITs never checked the log to contain the warning messages
but instead asserted the build to fail when a parent cannot be resolved.
The only Maven version supporting parent version ranges is Maven 3.2.2 due to
this.
o Removed an incorrect test case for local parent resolution. Maven ignored
the '<version>' in '<parent>' elements for local parent resolution. The core
has been updated across various versions to eliminate any differences between
local and remote parent resolution. When local parent resolution had been
updated to match remote parent resolution, an existing IT started to fail
testing incorrect behaviour. As soon as the '<parent>' is referenced using a
version range, the '<version>' element in the project becomes mandatory and
does no longer support using an expression any more. This has been that way
for remote parent resolution from day one. It has never been supported to
inherit a version from a parent when referencing that parent using a version
range intentionally.
o Updated to account for updated error messages.
2017-02-10 18:46:55 +01:00
Michael Osipov
812069740e
Fix incomplete class renaming
2017-02-04 13:14:48 +01:00
Michael Osipov
24da604311
[MNG-6146] Several small stylistic and spelling improvements to code and documentation
...
Use the proper term for char U+002D (-) hyphen(-minus) instead of dash
2017-02-02 10:46:32 +01:00
Stephen Connolly
2190e3181f
Provide a mechanism whereby tests can indicate versions of Maven expected to fail
...
- This will let us fix broken tests while confirming that the versions of Maven that were released using the broken test contain the bug that escaped the broken test
2017-02-01 22:30:25 +00:00
Karl Heinz Marbaise
e54646c7d6
Fixed license header in run-its.bat file.
2017-01-29 21:43:27 +01:00
Karl Heinz Marbaise
393f614650
Fixed RAT issue about missing license in run-its.bat file.
2017-01-29 21:36:13 +01:00
Anton Tanasenko
89afd751a0
[MNG-5958] restore binary compatibility of Lifecycle.setPhases
...
Modify tests for MNG-5805
This closes #13 #18
2017-01-26 20:24:02 +01:00
Hervé Boutemy
46278d17b2
added license link
2017-01-24 23:41:59 +01:00
Stephen Connolly
fd95c004a8
[MNG-6155] The mirror's id is used when comparing the origin so use the same id as when resolving the extension
2017-01-13 13:27:41 +00:00
Stephen Connolly
ae3e547587
[MNG-3599] The upgrade of Wagon to 2.10 breaks the test using older versions of wagon
...
- Need to use `--legacy-local-repository` on newer maven versions
(noting workaround as MNG-6155)
2017-01-11 20:10:26 +00:00
Stephen Connolly
ac3b760f78
[MNG-6151] Reset to integration test state as of 3.3.9 release of core
2017-01-04 09:20:35 +00:00
Stephen Connolly
cbbbe584f8
[MNG-5840] Argh! tests added but not added to suite
2015-11-02 12:04:08 +00:00
Karl Heinz Marbaise
8da228f290
Downgrade maven-compiler-plugin int MNG-5898
2015-10-25 14:12:03 +01:00
Karl Heinz Marbaise
373aa153a2
Going back to maven-compiler-plugin 2.0.2 in bootstrap,
...
cause maven-compiler-plugin 3.1 is already defined in group-6
2015-10-25 11:10:01 +01:00
Karl Heinz Marbaise
344ea0f8aa
Downgrade maven-jar-plugin in boostrap
...
MNG-5898 using the same version.
2015-10-24 23:57:59 +02:00
Karl Heinz Marbaise
b99c105e27
Pinned maven-compiler-plugin (3.1)
...
and added maven-ejb-plugin to bootstrap.
Added the required plugins to the MNG-5898
to use the same versions.
2015-10-24 23:04:09 +02:00
Karl Heinz Marbaise
36820dcad1
Removed duplicate definition of
...
mng-5805-pkg-type-mojo-configuration-plugin in bootstrap/group-3/pom.xml
2015-10-24 21:14:03 +02:00
Karl Heinz Marbaise
c9c095cbfa
Make resultion to artifacts and plugins
...
more reliable during integration tests
2015-10-24 20:10:25 +02:00
Karl Heinz Marbaise
cf37b87b42
Added missing plugin version.
2015-10-21 22:34:31 +02:00
Karl Heinz Marbaise
d3682bbdeb
[MNG-5898] Multi-module build with ear fails to resolve war in 3.3.3
...
Added maven-ear-plugin and maven-war-plugin to bootstrap.
2015-10-21 01:10:13 +02:00
Karl Heinz Marbaise
add953b287
[MNG-5898] Multi-module build with ear fails to resolve war in 3.3.3
...
Added MavenITmng5898BuildMultimoduleWithEARFailsToResolveWARTest
2015-10-21 00:09:11 +02:00
Karl Heinz Marbaise
cae83cea78
Upgrade maven-shared-utils from 0.6 to 0.9
2015-10-18 17:15:22 +02:00
Robert Scholte
6c66d92737
Use properties for source/target, so we can adjust it based on JDK (e.g. JDK9 support 1.6 and above, so not 1.5)
2015-09-23 17:52:19 +02:00
Robert Scholte
d6f5e952eb
Add jdk9 as profile activation
2015-09-19 23:04:35 +02:00
Robert Scholte
c07cf19229
Expand test with java7 diamonds
2015-09-19 22:16:17 +02:00
Robert Scholte
e2cc95e53a
Auto set source+target to 1.6 when testing with JDK9
2015-09-19 20:50:08 +02:00
Robert Scholte
df7a76abd9
MaxPermSize removed since Java8, see http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6964458
2015-09-19 17:46:24 +02:00
Stephen Connolly
7ab01081d9
[MNG-5840] Add tests for when the parent version is a range.
...
Maven 3.3.0 through 3.3.3 are expected to have the following tests fail:
```
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)
mng5840RelativePathReactorMatching(RelativePathPointsToWrongVersion)
```
Maven 3.3.4 through 3.3.5 are expected to have the following tests fail:
```
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)
```
As of 25f5143169
in the Maven core repo the following
test results are expected and observed:
```
mng2199ParentVersionRange(ValidParentVersionRangeWithInclusiveUpperBound)OK (3.3 s)
mng2199ParentVersionRange(ValidParentVersionRangeWithExclusiveUpperBound)OK (1.7 s)
mng2199ParentVersionRange(InvalidParentVersionRange)........OK (0.7 s)
mng2199ParentVersionRange(ValidParentVersionRangeInvalidVersionExpression)OK (0.4 s)
mng2199ParentVersionRange(ValidParentVersionRangeInvalidVersionInheritance)OK (0.5 s)
mng2199ParentVersionRange(ValidLocalParentVersionRange).....OK (0.4 s)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)FAILURE (0.4 s)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)OK (0.4 s)
mng5840RelativePathReactorMatching(RelativePathPointsToWrongVersion)OK (0.4 s)
```
With the one failure: mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion) expected
as the rumoured [validation in the workspace resolver](25f5143169/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java (L938)
) does not actually exist.
2015-07-22 09:26:40 +01:00
Igor Fedorenko
0d2b1d1b5c
MNG-2199 local parent pom matches parent version range
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-07-21 19:52:44 -04:00
Karl Heinz Marbaise
597c57d6db
Fixed another codehaus JIRA link to correct new location at Apache JIRA
2015-07-19 09:57:17 +02:00