You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2018/03/30 20:23:40 UTC

[maven-integration-testing] branch MNG-6386 created (now 5e18bb1)

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

michaelo pushed a change to branch MNG-6386
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git.


      at 5e18bb1  [MNG-6386] project.baseUri is not a valid URL on Windows

This branch includes the following new commits:

     new 5e18bb1  [MNG-6386] project.baseUri is not a valid URL on 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.


-- 
To stop receiving notification emails like this one, please contact
michaelo@apache.org.

[maven-integration-testing] 01/01: [MNG-6386] project.baseUri is not a valid URL on Windows

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

michaelo pushed a commit to branch MNG-6386
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit 5e18bb18784585dfc822038f5229785d439c677b
Author: Michael Osipov <19...@gmx.net>
AuthorDate: Fri Mar 30 22:23:17 2018 +0200

    [MNG-6386] project.baseUri is not a valid URL on Windows
---
 .../java/org/apache/maven/it/MavenITmng3760BaseUriPropertyTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3760BaseUriPropertyTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3760BaseUriPropertyTest.java
index 4e42ce6..4205cc5 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3760BaseUriPropertyTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3760BaseUriPropertyTest.java
@@ -55,7 +55,7 @@ public class MavenITmng3760BaseUriPropertyTest
 
         Properties props = verifier.loadProperties( "target/profile.properties" );
         // set via project
-        assertEquals( testDir.toURI().toString(), props.getProperty( "project.properties.pomProperty" ) );
+        assertEquals( testDir.toPath().toUri().toString(), props.getProperty( "project.properties.pomProperty" ) );
         // check that project prefix is required
         assertEquals( "${baseUri}", props.getProperty( "project.properties.baseUriProperty" ) );
     }
@@ -77,7 +77,7 @@ public class MavenITmng3760BaseUriPropertyTest
 
         Properties props = verifier.loadProperties( "target/profile.properties" );
         // set via project
-        assertEquals( testDir.toURI().toString(), props.getProperty( "project.properties.pomProperty" ) );
+        assertEquals( testDir.toPath().toUri().toString(), props.getProperty( "project.properties.pomProperty" ) );
         // check that project prefix is required
         assertEquals( "myBaseUri", props.getProperty( "project.properties.baseUriProperty" ) );
     }

-- 
To stop receiving notification emails like this one, please contact
michaelo@apache.org.