falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-111) maven profile "distributed" in webapp pom.xml is ignored
Date Fri, 13 Sep 2013 06:31:56 GMT

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

Shwetha G S edited comment on FALCON-111 at 9/13/13 6:31 AM:
-------------------------------------------------------------

distributed profile does activate the profile in both main and webapp. Does FALCON-75 address
the same issue? It doesn't look so

{noformat}
mvn help:active-profiles -P distributed
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Falcon Web Application 0.4-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-help-plugin:2.2:active-profiles (default-cli) @ falcon-webapp ---
[INFO]
Active Profiles for Project 'org.apache.falcon:falcon-webapp:war:0.4-incubating-SNAPSHOT':

The following profiles are active:

 - distributed (source: org.apache.falcon:falcon-webapp:0.4-incubating-SNAPSHOT)
 - distributed (source: org.apache.falcon:falcon-main:0.4-incubating-SNAPSHOT)



[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.761s
[INFO] Finished at: Fri Sep 13 11:57:07 GMT+05:30 2013
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
{noformat}
                
      was (Author: shwethags):
    distributed profile does activate the profile in both . Does FALCON-75 address the same
issue? It doesn't look so
{noformat}
mvn help:active-profiles -P distributed
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Falcon Web Application 0.4-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-help-plugin:2.2:active-profiles (default-cli) @ falcon-webapp ---
[INFO]
Active Profiles for Project 'org.apache.falcon:falcon-webapp:war:0.4-incubating-SNAPSHOT':

The following profiles are active:

 - distributed (source: org.apache.falcon:falcon-webapp:0.4-incubating-SNAPSHOT)
 - distributed (source: org.apache.falcon:falcon-main:0.4-incubating-SNAPSHOT)



[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.761s
[INFO] Finished at: Fri Sep 13 11:57:07 GMT+05:30 2013
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
{noformat}
                  
> maven profile "distributed" in webapp pom.xml is ignored
> --------------------------------------------------------
>
>                 Key: FALCON-111
>                 URL: https://issues.apache.org/jira/browse/FALCON-111
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>
> There is a profile with name "distributed" in main pom.xml. It is also defined in the
child webapp/pom.xml.
> Given profiles cannot be overridden the profile declared in child is ignored. Run command
{{mvn help:effective-pom -Pdistributed}} to see how webapp/pom.xml changes are not picked
up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message