[maven-archiver] branch MSHARED-944 created (now a2b27da)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-archiver] branch MSHARED-944 created (now a2b27da)

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

slachiewicz pushed a change to branch MSHARED-944
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git.


      at a2b27da  [MSHARED-944] Update also tests to 3.1.1

This branch includes the following new commits:

     new a2b27da  [MSHARED-944] Update also tests to 3.1.1

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.


Reply | Threaded
Open this post in threaded view
|

[maven-archiver] 01/01: [MSHARED-944] Update also tests to 3.1.1

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

slachiewicz pushed a commit to branch MSHARED-944
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git

commit a2b27dafd8e41051f7b6cfe155c5f4889db415e9
Author: Sylwester Lachiewicz <[hidden email]>
AuthorDate: Fri Jan 22 19:35:41 2021 +0100

    [MSHARED-944] Update also tests to 3.1.1
---
 src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
index 400454e..0d31ff9 100644
--- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
+++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
@@ -35,7 +35,6 @@ import org.apache.maven.model.Organization;
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.shared.utils.StringUtils;
 import org.apache.maven.shared.utils.io.FileUtils;
-import org.codehaus.plexus.PlexusContainer;
 import org.codehaus.plexus.archiver.jar.JarArchiver;
 import org.codehaus.plexus.archiver.jar.ManifestException;
 import org.eclipse.aether.DefaultRepositorySystemSession;
@@ -1379,9 +1378,9 @@ public class MavenArchiverTest
     private MavenSession getDummySession()
     {
         Properties systemProperties = new Properties();
-        systemProperties.put( "maven.version", "3.0.4" );
+        systemProperties.put( "maven.version", "3.1.1" );
         systemProperties.put( "maven.build.version",
-            "Apache Maven 3.0.4 (3ad2b6794a8293a8ca6c1590708fb5d3fc795c49; 2012-01-17T08:39:41Z)" );
+            "Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)" );
 
         return getDummySession( systemProperties );
     }
@@ -1393,7 +1392,6 @@ public class MavenArchiverTest
 
     private MavenSession getDummySession( Properties systemProperties )
     {
-        PlexusContainer container = null;
         File settings = null;
         List<String> goals = null;
         Date startTime = new Date();
@@ -1408,7 +1406,7 @@ public class MavenArchiverTest
 
         RepositorySystemSession rss = new DefaultRepositorySystemSession();
 
-        return new MavenSession( container, rss, request, result );
+        return new MavenSession( null, rss, request, result );
 
     }