pmoerenhout commented on a change in pull request #19: [MDEP-579] - Add 
mirrors, proxies and authentication for remote repositories.
URL: 
https://github.com/apache/maven-dependency-plugin/pull/19#discussion_r315762920
 
 

 ##########
 File path: src/test/java/org/apache/maven/plugins/dependency/TestGetMojo.java
 ##########
 @@ -96,6 +117,27 @@ public void testRemoteRepositories()
         mojo.execute();
     }
 
+    /**
+     * Test remote repositories parameter with basic authentication
+     *
+     * @throws Exception in case of errors
+     */
+    public void testRemoteRepositoriesAuthentication()
+        throws Exception
+    {
+        org.eclipse.jetty.server.Server server = createServer( 8000 );
 
 Review comment:
   I start the server now with a random port, and use server.getURI() to 
generate the remoteRepositories parameter.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to