You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Glick (JIRA)" <ji...@apache.org> on 2017/02/28 17:10:45 UTC

[jira] [Commented] (MNG-3229) Active by default profile is ignored when another is specified explicitly.

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

Jesse Glick commented on MNG-3229:
----------------------------------

Cf. MNG-4917.

> Active by default  profile is ignored when another is specified explicitly.
> ---------------------------------------------------------------------------
>
>                 Key: MNG-3229
>                 URL: https://issues.apache.org/jira/browse/MNG-3229
>             Project: Maven
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.7
>            Reporter: Oleksandr Maksymchuk
>
> When default profile is added its used only when there is no another profile specified to be used on command line via -P option.
> So in the pom containig:
> 		<profile>
> 			<id>default</id>
> 			<activation>
> 				<activeByDefault>true</activeByDefault>
> 			</activation>
> 		<profile>
> 			<id>dev</id>
> 			<!-- Not active, should be called explicitly. -->
> default profile is used only when running command without -P dev
> mvn 
> but not used when running:
> mvn -P dev
> Expected: should be used in both variants as per doc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)