Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC50018E15 for ; Wed, 7 Oct 2015 07:52:31 +0000 (UTC) Received: (qmail 74860 invoked by uid 500); 7 Oct 2015 07:52:26 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 74813 invoked by uid 500); 7 Oct 2015 07:52:26 -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 74800 invoked by uid 99); 7 Oct 2015 07:52:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 07:52:26 +0000 Date: Wed, 7 Oct 2015 07:52:26 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MNG-5903) Option in profiles to exclude modules from reactor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946463#comment-14946463 ] Michael Osipov commented on MNG-5903: ------------------------------------- This would be clearly a breaking change because too many tools read out the {{}} element. I make this the other way around. I have enabled the module explicitly. > Option in profiles to exclude modules from reactor > -------------------------------------------------- > > Key: MNG-5903 > URL: https://issues.apache.org/jira/browse/MNG-5903 > Project: Maven > Issue Type: New Feature > Reporter: Arend v. Reinersdorff > > Sometimes it is useful to exclude modules from a reactor build. > One reason for this can be: Don't generate Javadoc for a testing module. > Since Maven 3.2.1 it is possible to exclude modules with command line options, eg. mvn -pl !integration-tests > See MNG-5230 "Command line option to exclude modules from reactor". In this ticket enabling module exclusion for profiles was discussed, but apparently not implemented. > I'm currently using the -pl command line option on our build server to exclude two projects of a multi module build from Javadoc generation. But I would much prefer to keep this logic in the pom.xml. Something like this: > > javadoc > > !integration-tests > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)