You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/05/05 08:53:25 UTC
(maven-invoker-plugin) branch MINVOKER-335-fix updated (697dab3 -> 7e6d5d5)
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a change to branch MINVOKER-335-fix
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
discard 697dab3 [MINVOKER-335] Use selector script for preparing test with symlinks
new 7e6d5d5 [MINVOKER-335] Use selector script for preparing test with symlinks
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (697dab3)
\
N -- N -- N refs/heads/MINVOKER-335-fix (7e6d5d5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/it/MINVOKER-335-symlinks-in-source/selector.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(maven-invoker-plugin) 01/01: [MINVOKER-335] Use selector script for preparing test with symlinks
Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch MINVOKER-335-fix
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit 7e6d5d5dbe2eab11aa307e40fd020fe7bafb4d92
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun May 5 10:50:59 2024 +0200
[MINVOKER-335] Use selector script for preparing test with symlinks
---
.../{setup.groovy => selector.groovy} | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/it/MINVOKER-335-symlinks-in-source/setup.groovy b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy
similarity index 78%
rename from src/it/MINVOKER-335-symlinks-in-source/setup.groovy
rename to src/it/MINVOKER-335-symlinks-in-source/selector.groovy
index 1d0e0fb..170bd74 100644
--- a/src/it/MINVOKER-335-symlinks-in-source/setup.groovy
+++ b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy
@@ -28,7 +28,12 @@ def testFile = projectPath.resolve('test.txt')
Files.createDirectory(testDir)
Files.createFile(testFile)
-Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir'))
-Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt'))
+// if FS not supports symlinks - we should skip test
+try {
+ Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir'))
+ Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt'))
+} catch (IOException e) {
+ return false
+}
-true
\ No newline at end of file
+return true