[jbosstools-issues] [JBoss JIRA] (JBIDE-10170) Profiles from user settings aren't recognized as auto activated

Fred Bricon (Commented) (JIRA) jira-events at lists.jboss.org
Mon Nov 14 07:53:40 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-10170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642509#comment-12642509 ] 

Fred Bricon commented on JBIDE-10170:
-------------------------------------

As a matter of fact m2e's MavenPlugin.getMaven().getSettings().getActiveProfiles() returns an empty list even though <activeByDefault> is set to true. It works in command line, so I'll open a bug upstream (m2e).

The workaround is to declare the profile in the list of <activeProfiles> in the settings.xml
                
> Profiles from user settings aren't recognized as auto activated
> ---------------------------------------------------------------
>
>                 Key: JBIDE-10170
>                 URL: https://issues.jboss.org/browse/JBIDE-10170
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>            Reporter: Rastislav Wagner
>            Assignee: Fred Bricon
>
> Profiles from user settings which have <activeByDefault> set to True aren't recognized as auto activated in Profle Selection Wizard.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list