gitgabrio commented on code in PR #6633:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6633#discussion_r3233160512


##########
kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java-filtered/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java:
##########
@@ -29,13 +29,15 @@
 
 public class AdditionalPropertiesIntegrationTestIT {
 
+    private final String buildLogsDir = "${buildlog.directory}";
     @Test
     public void testAdditionalPropertiesCorrectlySet() throws Exception {
         // additional properties are logged during debug (-X) build
         // following string is created directly inside the KIE Maven plugin 
execution (the property names and values
         // are logged multiple by maven itself as well, so we should check 
directly against that string)
         final URL targetLocation = 
AdditionalPropertiesIntegrationTestIT.class.getProtectionDomain().getCodeSource().getLocation();
-        final File basedir = new 
File(targetLocation.getFile().replace("/target/test-classes/", ""));
+        System.out.println("buildLogsDir: " + buildLogsDir);

Review Comment:
   nope 😄 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to