From issues-return-165487-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri May 8 12:06:05 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 658F3180647 for ; Fri, 8 May 2020 14:06:05 +0200 (CEST) Received: (qmail 88835 invoked by uid 500); 8 May 2020 12:06:04 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 88823 invoked by uid 99); 8 May 2020 12:06:04 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2020 12:06:04 +0000 From: =?utf-8?q?GitBox?= To: issues@maven.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bmaven-integration-testing=5D_rfscholte_commented_o?= =?utf-8?q?n_a_change_in_pull_request_=2359=3A_=5BMNG-5600=5D_Dependency_man?= =?utf-8?q?agement_import_should_support_exclusions?= Message-ID: <158893956466.4590.15393942839635331912.asfpy@gitbox.apache.org> Date: Fri, 08 May 2020 12:06:04 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: rfscholte commented on a change in pull request #59: URL: https://github.com/apache/maven-integration-testing/pull/59#discussion_r422099576 ########## File path: core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5600DependencyManagementImportExclusionsTest.java ########## @@ -0,0 +1,82 @@ +package org.apache.maven.it; + +/* + * 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. + */ +import java.io.File; +import java.util.Arrays; +import java.util.Map; +import java.util.Properties; + +import org.apache.maven.it.util.ResourceExtractor; + +import static junit.framework.Assert.assertEquals; + +/** + * [MNG-5600] Dependency management import should support exclusions. + * + * @author Christian Schulte + */ +public class MavenITmng5600DependencyManagementImportExclusionsTest + extends AbstractMavenIntegrationTestCase +{ + + public MavenITmng5600DependencyManagementImportExclusionsTest() + { + super( "[3.4.0,)" ); Review comment: This version needs to be updated to 3.7.0 ########## File path: core-it-suite/src/test/resources/mng-5600/exclusions/pom.xml ########## @@ -0,0 +1,84 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng5600 + 0 + 20160619 + pom + + Maven Integration Test :: MNG-5600 + + + Tests that dependency management import exclusions are supported. + + + + + + org.apache.maven.its.mng5600 + bom + 0 + pom + import + Review comment: This IT doesn't reflect MNG-5600. The requests asks for exclusion of transitive dependencies, not direct dependencies. To me excluding direct dependencies does not make sense. ########## File path: core-it-suite/src/test/resources/mng-5600/settings-template.xml ########## @@ -0,0 +1,43 @@ + Review comment: I don't understand the need for this file ---------------------------------------------------------------- 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: users@infra.apache.org