[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002286#comment-16002286 ] Tomek Rękawek commented on OAK-4136: in 1.0 with http://svn.apache.org/r1794506 > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Fix For: 1.4.2, 1.5.1, 1.6.0, 1.0.39, 1.2.26 > > Attachments: derby-log-in-target-folder.patch > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002257#comment-16002257 ] Tomek Rękawek commented on OAK-4136: in 1.2 with http://svn.apache.org/r1794503 > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Labels: candidate_oak_1_0 > Fix For: 1.4.2, 1.5.1, 1.6.0, 1.2.26 > > Attachments: derby-log-in-target-folder.patch > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256216#comment-15256216 ] Davide Giannella commented on OAK-4136: --- in 1.4 with http://svn.apache.org/r1740809 > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4 > Fix For: 1.6, 1.5.1 > > Attachments: derby-log-in-target-folder.patch > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230406#comment-15230406 ] Davide Giannella commented on OAK-4136: --- thanks [~jsedding] for the patch. Unfortunately it didn't work on my local. The log file was always on root. Nevertheless knowing the configuration settings could help me trying to get this working without the ignore. Will give a deeper look later on. > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4 > Fix For: 1.6, 1.5.1 > > Attachments: derby-log-in-target-folder.patch > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228576#comment-15228576 ] Davide Giannella commented on OAK-4136: --- Requires OAK-4148 or RAT will complain about the derby log file > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4 > Fix For: 1.6, 1.5.1 > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228456#comment-15228456 ] Davide Giannella commented on OAK-4136: --- in trunk at http://svn.apache.org/r1737998 > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Fix For: 1.6 > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226492#comment-15226492 ] Davide Giannella commented on OAK-4136: --- Maven does not really like enabling multiple profiles and forcing different variable settings. Tried out some magic with antrun-plugin (https://github.com/davidegiannella/jackrabbit-oak/blob/79c7555093b7e0b8b81d17a8461e5b26b2129dac/oak-parent/pom.xml#L599-L633) without that much luck. While on a technical level we could achieve to perform all the required tasks with the variable and the antrun magic I feel it will be way too convoluted. Will proceed in the creation of a new profile with all the settings and plugins properly configured. > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Fix For: 1.6 > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4136) release profile in maven
[ https://issues.apache.org/jira/browse/OAK-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226035#comment-15226035 ] Davide Giannella commented on OAK-4136: --- Maven does not allow to enable profiles from within profiles. We have two approaches for having a release profile that will ease the command line for performing a full coverage test: # create a profile where manually we enable all the plugin # create a java property (ie: {{-Drelease=true}}) and use such to activate multiple profiles. The {{integrationTesting}} profiles already makes use of the activation by property (OAK-163) {noformat} env.OAK_INTEGRATION_TESTING {noformat} https://github.com/apache/jackrabbit-oak/blob/b071fab9e8f4b7fac3742ffd598590109d36de95/oak-parent/pom.xml#L566 It seems this property fell in disuse (http://oak.markmail.org/thread/4qwtq2mckmsauowk). Will try property approach first. /cc [~chetanm], [~jukkaz] > release profile in maven > > > Key: OAK-4136 > URL: https://issues.apache.org/jira/browse/OAK-4136 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Davide Giannella >Assignee: Davide Giannella > Fix For: 1.6 > > > Create a maven profile (ie {{-Prelease}}) which will take care of > enabling all the required profiles as well as injecting the right > maven variables. > So far > {noformat:title=profiles to be activated} > pedantic > integrationTesting > unittesting > rdb-derby > {noformat} > {noformat:title=variables to be injected} > nsfixtures= > rdb.jdbc-url=jdbc:derby:foo;create=true > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)