You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/10/15 09:56:38 UTC

[maven-artifact-plugin] branch stabilize created (now 75b9787)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git.


      at 75b9787  Fix compare-mono/verify.groovy for Windows

This branch includes the following new commits:

     new 75b9787  Fix compare-mono/verify.groovy for Windows

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.


[maven-artifact-plugin] 01/01: Fix compare-mono/verify.groovy for Windows

Posted by rf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git

commit 75b97874ddbc97473d8b47be3d6229ab427a7c13
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Oct 15 11:56:27 2021 +0200

    Fix compare-mono/verify.groovy for Windows
---
 src/it/compare-mono/verify.groovy | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/it/compare-mono/verify.groovy b/src/it/compare-mono/verify.groovy
index 93f0bbf..09c3c4f 100644
--- a/src/it/compare-mono/verify.groovy
+++ b/src/it/compare-mono/verify.groovy
@@ -30,4 +30,9 @@ assert compare.contains( "ok=1" )
 assert compare.contains( "ko=1" )
 assert compare.contains( 'okFiles="mono-1.0-SNAPSHOT.pom"' )
 assert compare.contains( 'koFiles="mono-1.0-SNAPSHOT.jar"' )
-assert compare.contains( '# diffoscope target/reference/mono-1.0-SNAPSHOT.jar target/mono-1.0-SNAPSHOT.jar' )
+if( File.separator == '/' ) {
+  assert compare.contains( '# diffoscope target/reference/mono-1.0-SNAPSHOT.jar target/mono-1.0-SNAPSHOT.jar' )
+} else {
+  assert compare.contains( '# diffoscope target\\reference\\mono-1.0-SNAPSHOT.jar target\\mono-1.0-SNAPSHOT.jar' )
+}
+