maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MPH-123) all-profiles does not show right active status
Date Tue, 04 Jul 2017 20:21:01 GMT

    [ https://issues.apache.org/jira/browse/MPH-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074060#comment-16074060
] 

Guillaume Boué commented on MPH-123:
------------------------------------

Fixed in [r1800814|http://svn.apache.org/viewvc?rev=1800814&view=rev].

> all-profiles does not show right active status
> ----------------------------------------------
>
>                 Key: MPH-123
>                 URL: https://issues.apache.org/jira/browse/MPH-123
>             Project: Maven Help Plugin
>          Issue Type: Bug
>          Components: all-profiles
>    Affects Versions: 2.2
>            Reporter: Mahendran Mookkiah
>            Priority: Minor
>              Labels: maven
>         Attachments: hello-parent.zip, output.txt
>
>
> In multi-module project, help:all-profiles shows profiles of child project are not active.
But it is active and the profile plugins get executed.
> whereas active-profiles shows the right status. 
> Attached an example project which executed with below command and snippet of result.
> Command: mvn help:all-profiles help:active-profiles -Pbuild-site
> Output snippet: 
> [INFO] Listing Profiles for Project: com.example:hello-parent:pom:0.0.1-SNAPSHOT
>   Profile Id: build-site (Active: true , Source: pom)
>   Profile Id: artifactory (Active: true , Source: settings.xml)
> Listing Profiles for Project: com.example:helloworld:jar:0.0.1-SNAPSHOT
>   Profile Id: artifactory (Active: true , Source: settings.xml)
>   Profile Id: build-site (Active: false , Source: pom)      <<<===========================
shows not active                 
> [INFO]
> [INFO] --- maven-help-plugin:2.2:active-profiles (default-cli) @ hello-parent --
> -
> [INFO]
> Active Profiles for Project 'com.example:hello-parent:pom:0.0.1-SNAPSHOT':
> The following profiles are active:
>  - artifactory (source: external)
>  - build-site (source: com.example:hello-parent:0.0.1-SNAPSHOT)
> Active Profiles for Project 'com.example:helloworld:jar:0.0.1-SNAPSHOT':
> The following profiles are active:
>  - artifactory (source: external)
>  - build-site (source: com.example:hello-parent:0.0.1-SNAPSHOT)  <<<===========================
shows active



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message