Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 92379200B60 for ; Sun, 14 Aug 2016 11:18:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 85D69160AA9; Sun, 14 Aug 2016 09:18:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0090B160A74 for ; Sun, 14 Aug 2016 11:18:24 +0200 (CEST) Received: (qmail 21629 invoked by uid 500); 14 Aug 2016 09:18:23 -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 21618 invoked by uid 99); 14 Aug 2016 09:18:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2016 09:18:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 85EC82C02A1 for ; Sun, 14 Aug 2016 09:18:22 +0000 (UTC) Date: Sun, 14 Aug 2016 09:18:22 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1262) Add modulepath support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 14 Aug 2016 09:18:25 -0000 [ https://issues.apache.org/jira/browse/SUREFIRE-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420274#comment-15420274 ] Tibor Digana commented on SUREFIRE-1262: ---------------------------------------- [~rfscholte] {{-Xpatch target/test-classes}} would be for the forked VM. What to change in IsolatedCL in case the tests run in Maven process? > Add modulepath support > ---------------------- > > Key: SUREFIRE-1262 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1262 > Project: Maven Surefire > Issue Type: Improvement > Reporter: Robert Scholte > > With the Jigsaw project Java9 is extended with a modulepath. This means that surefire should be executed in a different way. > When working with a modulepath, the Classpath in the MANIFEST of the executable jar will be ignored, you need need to add everything on commandline. > Just like javadoc, the java executable has an {{@}} option, where you can add arguments per line. So this is the new preferred way to build the module-path. > IIUC for surefire it is important to add {{-Xpatch target/test-classes}} which makes it possible to use the same packages as target/classes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)