You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2024/10/12 12:49:19 UTC

(maven-ear-plugin) branch dependabot/maven/src/it/transitive-excludes/org.apache.maven-maven-core-3.8.1 updated: fix tests

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

slachiewicz pushed a commit to branch dependabot/maven/src/it/transitive-excludes/org.apache.maven-maven-core-3.8.1
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git


The following commit(s) were added to refs/heads/dependabot/maven/src/it/transitive-excludes/org.apache.maven-maven-core-3.8.1 by this push:
     new 779f082  fix tests
779f082 is described below

commit 779f0823bb29111f82dddc76dde85c3071941b24
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sat Oct 12 14:49:12 2024 +0200

    fix tests
---
 src/it/transitive-excludes/invoker.properties | 20 --------------------
 src/it/transitive-excludes/pom.xml            |  8 ++++----
 src/it/transitive-excludes/verify.groovy      |  2 +-
 3 files changed, 5 insertions(+), 25 deletions(-)

diff --git a/src/it/transitive-excludes/invoker.properties b/src/it/transitive-excludes/invoker.properties
deleted file mode 100644
index 726ba2e..0000000
--- a/src/it/transitive-excludes/invoker.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# wildcard exclusions for dependencies not supported by Maven2
-# The first version which support * is as far as I know maven 3.2.5 RECHECK THIS!
-invoker.maven.version = 3.0+ 
\ No newline at end of file
diff --git a/src/it/transitive-excludes/pom.xml b/src/it/transitive-excludes/pom.xml
index 2fd1b64..591d583 100644
--- a/src/it/transitive-excludes/pom.xml
+++ b/src/it/transitive-excludes/pom.xml
@@ -31,11 +31,11 @@ under the License.
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
-      <version>3.8.1</version>
+      <version>3.9.9</version>
       <exclusions>
-        <exclusion>
-          <groupId>*</groupId>
-          <artifactId>*</artifactId>
+        <exclusion>
+          <groupId>*</groupId>
+          <artifactId>*</artifactId>
         </exclusion>
       </exclusions>
     </dependency>
diff --git a/src/it/transitive-excludes/verify.groovy b/src/it/transitive-excludes/verify.groovy
index 5e8cc2e..2507b90 100644
--- a/src/it/transitive-excludes/verify.groovy
+++ b/src/it/transitive-excludes/verify.groovy
@@ -31,7 +31,7 @@ Enumeration entries = ear.entries();
 while( entries.hasMoreElements() )
 {
   JarEntry entry = (JarEntry) entries.nextElement();
-  if( entry.getName().endsWith( ".jar" ) && !"org.apache.maven-maven-core-3.0.jar".equals( entry.getName() ) )
+  if( entry.getName().endsWith( ".jar" ) && !"org.apache.maven-maven-core-3.9.9.jar".equals( entry.getName() ) )
   {
     throw new IllegalStateException( "Unexpected archive entry: " + entry.getName() );
   }