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

Tobias Bocanegra commented on JCRVLT-338:
-----------------------------------------

[~sonagupt] Building the project fails after applying your patch:

{noformat}
$ mvn clean install
.
.
.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.631 s
[INFO] Finished at: 2019-05-29T09:31:00+09:00
[INFO] Final Memory: 49M/542M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (oak) on project 
org.apache.jackrabbit.vault: There are test failures.
[ERROR]
[ERROR] Please refer to ./vault-core/target/surefire-reports for the individual 
test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or 
System.exit called?
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
{noformat}


> argLine getting overridden by parent pom and vault-core pom 
> ------------------------------------------------------------
>
>                 Key: JCRVLT-338
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-338
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Sonal Gupta
>            Assignee: Tobias Bocanegra
>            Priority: Major
>
> I was trying to calculate code coverage for jackrabbit vault repo using 
> jacoco agent ([https://github.com/apache/jackrabbit-filevault/])
> Not able to install jacoco via cli as the argLine is getting overridden by 
> the parent pom and core pom. argLine needs to be appended rather than 
> overridden.
> [vault-core/pom.xml|https://github.com/apache/jackrabbit-filevault/blob/faab98755700454d3f6c8d4116ba3e732cf53531/vault-core/pom.xml]
>  {{<argLine>-Doak=true -Xmx1024m</argLine>}}
> [parent/pom.xml|https://github.com/apache/jackrabbit-filevault/blob/94e74ef8968c4236e925d2fcae7aed5b53bb91e4/parent/pom.xml]
>  {{<argLine>${test.vm.options}</argLine>}}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to