Commits

Vineet Reynolds  committed 23ceaa7

Specified the jacoco.exec file path in quotes, to allow for CC builds to work in Windows for paths with spaces.
Also updated the sonar.phase parameter to 'verify' so that the post-integration-test phase is executed by the Maven lifecycle.

  • Participants
  • Parent commits e327034

Comments (0)

Files changed (1)

File galleria-ejb/pom.xml

 								<exclude>**/*IntegrationSuite.java</exclude>
 								<exclude>**/*IntegrationTest.java</exclude>
 							</excludes>
-							<argLine>-javaagent:${jacoco.agent.path}=destfile=${jacoco.file.path}</argLine>
+							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
 						</configuration>
 					</plugin>
 					<plugin>
 									intensive. -->
 								<include>**/*IntegrationSuite.java</include>
 							</includes>
-							<argLine>-javaagent:${jacoco.agent.path}=destfile=${jacoco.file.path}</argLine>
+							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
 						</configuration>
 						<executions>
 							<execution>
 	<properties>
 		<jacoco.file.path>${project.build.directory}/jacoco.exec</jacoco.file.path>
 		<sonar.jacoco.itReportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.itReportPath>
-		<sonar.phase>integration-test</sonar.phase>
+		<sonar.phase>verify</sonar.phase>
 		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
 	</properties>
 </project>