mattrpav commented on PR #1992: URL: https://github.com/apache/karaf/pull/1992#issuecomment-3343866768
Updated the root pom.xml and was able to get the system property on the command line, verified with maven in debug mode. ``` [DEBUG] Forking command line: /bin/sh -c cd '/karaf/itests/test' && '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/bin/java' '--add-opens' 'java.base/java.security=ALL-UNNAMED' '--add-opens' 'java.base/java.net=ALL-UNNAMED' '--add-opens' 'java.base/java.lang=ALL-UNNAMED' '--add-opens' 'java.base/java.util=ALL-UNNAMED' '--add-opens' 'java.naming/javax.naming.spi=ALL-UNNAMED' '--add-opens' 'java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED' '-Djava.security.manager=allow' '-jar' '/karaf/itests/test/target/surefire/surefirebooter-20250928114059171_3.jar' '/karaf/itests/test/target/surefire' '2025-09-28T11-40-59_111-jvmRun1' 'surefire-20250928114059171_1tmp' 'surefire_0-20250928114059171_2tmp' [DEBUG] Fork Channel [1] connected to the client. [INFO] Running org.apache.karaf.itests.JavaSecurityTest 2025-09-28 11:40:59,416 | INFO | j.pax.exam.spi.DefaultExamSystem 127 | Pax Exam System (Version: 4.14.0) created. 2025-09-28 11:40:59,434 | INFO | .pax.exam.junit.impl.ProbeRunner 74 | creating PaxExam runner for class org.apache.karaf.itests.JavaSecurityTest 2025-09-28 11:40:59,735 | INFO | .pax.exam.junit.impl.ProbeRunner 94 | running test class org.apache.karaf.itests.JavaSecurityTest 2025-09-28 11:40:59,737 | INFO | iner.internal.KarafTestContainer 161 | Creating RMI registry server on 127.0.0.1:51866 2025-09-28 11:41:00,105 | INFO | iner.internal.KarafTestContainer 255 | Found 0 options when requesting OverrideJUnitBundlesOption.class 2025-09-28 11:41:00,108 | WARN | iner.internal.KarafTestContainer 442 | you're trying to add an additional value to a config file; you're current value will be replaced. 2025-09-28 11:41:00,108 | WARN | iner.internal.KarafTestContainer 442 | you're trying to add an additional value to a config file; you're current value will be replaced. 2025-09-28 11:41:00,115 | INFO | iner.internal.KarafTestContainer 308 | Wait for test container to finish its initialization [ RelativeTimeout value = 3600000 ] 2025-09-28 11:41:00,116 | INFO | rn.RemoteBundleContextClientImpl 241 | Waiting for remote bundle context.. on 51866 name: e3e7a2d1-62c3-47d7-b5cf-c963244f3925 timout: [ RelativeTimeout value = 3600000 ] The Security Manager is deprecated and will be removed in a future release ``` -- 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]
