[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tibor Digana closed SUREFIRE-867. - Resolution: Won't Fix > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux >Assignee: Tibor Digana > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356160#comment-356160 ] Pierre Le Roux commented on SUREFIRE-867: - No problem. My context doesn't need it anymore. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux >Assignee: Tibor Digana > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tibor Digana reassigned SUREFIRE-867: - Assignee: Tibor Digana > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux >Assignee: Tibor Digana > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356070#comment-356070 ] Tibor Digana commented on SUREFIRE-867: --- Any objections to close this issue? > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307014#comment-307014 ] Pierre Le Roux commented on SUREFIRE-867: - I understand. That's why i also purposed to manage this with property patterns. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307013#comment-307013 ] Kristian Rosenvold commented on SUREFIRE-867: - The disadvantage of this strategy is that it creates a wholesale import of unspecified environment variables to your project, which can effectively reduce build reproducibility. With the current system, the pom acts as an "interface specification" between your build and the external environment, which means its possible to understand which parameters will/can influence the build. I will be proposing this as a wontfix. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Rosenvold updated SUREFIRE-867: Labels: proposed-wontfix (was: ) > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > Labels: proposed-wontfix > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306946#comment-306946 ] Pierre Le Roux edited comment on SUREFIRE-867 at 8/23/12 3:41 PM: -- Here is an example of one of my pom : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit ${itcb.env} ${testDatabaseHost} ${testDatabaseUser} ${testDatabasePassword} {code} I put this in a parent pom. I would like to generalize it as : * project A will have this in its POM : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit true {code} * Project B extends Project A and contains JUNIT test and properties {code} a value {code} In JUNIT test, I would like to use this property value as environment variables without having to redefine Surefire configuration in my B project. As i set *allPropertiesAsEnvironmentVariables* to *true*, *projectSpecificProperty* would be automatically added as environment variables, then i could use it in my tests. was (Author: pilerou): Here is an example of one of my pom : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit ${itcb.env} ${testDatabaseHost} ${testDatabaseUser} ${testDatabasePassword} {code} I put this in a parent pom. I would like to generalize it as : * project A will have this in its POM : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit true {code} * Project B extend Project A and contains JUNIT test and properties {code} a value {code} In JUNIT test, I would like to use this property value as environment variables without having to redefine Surefire configuration in my B project. As i set {code}allPropertiesAsEnvironmentVariables{code} to {code}true{code}, {code}projectSpecificProperty{code} would be automatically added as environment variables, then i could use it in my tests. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306946#comment-306946 ] Pierre Le Roux commented on SUREFIRE-867: - Here is an example of one of my pom : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit ${itcb.env} ${testDatabaseHost} ${testDatabaseUser} ${testDatabasePassword} {code} I put this in a parent pom. I would like to generalize it as : * project A will have this in its POM : {code} org.apache.maven.plugins maven-surefire-plugin 2.6 junit:junit true {code} * Project B extend Project A and contains JUNIT test and properties {code} a value {code} In JUNIT test, I would like to use this property value as environment variables without having to redefine Surefire configuration in my B project. As i set {code}allPropertiesAsEnvironmentVariables{code} to {code}true{code}, {code}projectSpecificProperty{code} would be automatically added as environment variables, then i could use it in my tests. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306013#comment-306013 ] Kristian Rosenvold commented on SUREFIRE-867: - Exactly what is the use case for this in context of surefire ? > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
[ https://jira.codehaus.org/browse/SUREFIRE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299004#comment-299004 ] Pierre Le Roux commented on SUREFIRE-867: - If adding all properties would be too rich, using a pattern could be a solution. For example : myproperties.* Then all properties prefixed by myproperties.* would be added as environmentVariables. > Add a way to declare all project properties as environmentVariables > --- > > Key: SUREFIRE-867 > URL: https://jira.codehaus.org/browse/SUREFIRE-867 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin >Reporter: Pierre Le Roux > > It could be great to have a new option such as > *allPropertiesAsEnvironmentVariables* (by default : false) that would > retrieve all context properties (project, parent project and activated > profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-867) Add a way to declare all project properties as environmentVariables
Pierre Le Roux created SUREFIRE-867: --- Summary: Add a way to declare all project properties as environmentVariables Key: SUREFIRE-867 URL: https://jira.codehaus.org/browse/SUREFIRE-867 Project: Maven Surefire Issue Type: Improvement Components: Maven Surefire Plugin Reporter: Pierre Le Roux It could be great to have a new option such as *allPropertiesAsEnvironmentVariables* (by default : false) that would retrieve all context properties (project, parent project and activated profile properties) and add it as environment variables. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira