On Tue, Oct 14, 2025 at 9:04 AM Claude Warren <[email protected]> wrote: > > Daan, > > Thank you for this report. Would you open a ticket an past that info in.
will find the time for that later. > It looks like a problem with Mac tooling. Since the issue is in the > integration testing I don't think that it should stop the deployment, > particularly since the convenience jar works for you. Also, would you be > willing to work with us to solve the problem? We do not have a Mac to > compile/test on. I will of course help solve my own problem ;) > > Thank you, > Claude > > On Mon, Oct 13, 2025 at 11:56 AM Daan <[email protected]> wrote: > > > Project, > > > > I am trying to test CLI functionality. After checking out the tag > > `apache-rat-project-0.17` and building with `./mvnw` or ` mvn clean > > install`, I get the following error output: > > > > ``` > > [INFO] --- invoker:3.9.1:run (integration-test) @ apache-rat-plugin --- > > [INFO] Building: RAT-469/pom.xml > > [INFO] run post-build script verify.groovy > > [INFO] Assertion failed: > > > > assert content.contains('BUILD SUCCESS') > > | | > > | false > > 'OpenJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in > > JDK 22 and will likely be removed in a future release.\nERROR: transport > > error 202: bind failed: Address already in use\nERROR: JDWP Transport > > dt_socket failed to initialize, TRANSPORT_INIT(510)\nJDWP exit error > > AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized > > [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:697]\nRunning > > post-build script: > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-469/verify.groovy\n' > > > > [INFO] RAT-469/pom.xml .................................. FAILED > > (0.317 s) > > [INFO] Building: CustomLicense/pom.xml > > [INFO] The build exited with code 2. See > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/CustomLicense/build.log > > for details. > > [INFO] CustomLicense/pom.xml ............................ FAILED > > (0.101 s) > > [INFO] Building: RAT-107/pom.xml > > [INFO] The build exited with code 2. See > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-107/build.log > > for details. > > [INFO] RAT-107/pom.xml .................................. FAILED > > (0.100 s) > > [INFO] Building: it1/pom.xml > > [INFO] run post-build script verify.groovy > > [INFO] Assertion failed: > > > > assert f.exists() > > | | > > | false > > > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/it1/out.xml > > > > [INFO] it1/pom.xml ...................................... FAILED > > (0.159 s) > > [INFO] Building: RAT-268/pom.xml > > [INFO] The build exited with code 2. See > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-268/build.log > > for details. > > [INFO] RAT-268/pom.xml .................................. FAILED > > (0.068 s) > > [INFO] Building: RAT-314/pom.xml > > [INFO] run post-build script verify.groovy > > [INFO] Assertion failed: > > > > assert content.contains('BUILD SUCCESS') > > | | > > | false > > 'OpenJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in > > JDK 22 and will likely be removed in a future release.\nERROR: transport > > error 202: bind failed: Address already in use\nERROR: JDWP Transport > > dt_socket failed to initialize, TRANSPORT_INIT(510)\nJDWP exit error > > AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized > > [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:697]\nRunning > > post-build script: > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-314/verify.groovy\n' > > > > [INFO] RAT-314/pom.xml .................................. FAILED > > (0.080 s) > > [INFO] Building: RAT-168/pom.xml > > [INFO] run post-build script verify.groovy > > [INFO] Assertion failed: > > > > assert content.contains('BUILD SUCCESS') > > | | > > | false > > 'OpenJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in > > JDK 22 and will likely be removed in a future release.\nERROR: transport > > error 202: bind failed: Address already in use\nERROR: JDWP Transport > > dt_socket failed to initialize, TRANSPORT_INIT(510)\nJDWP exit error > > AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized > > [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:697]\nRunning > > post-build script: > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-168/verify.groovy\n' > > > > [INFO] RAT-168/pom.xml .................................. FAILED > > (0.080 s) > > [INFO] Building: RAT-469-default/pom.xml > > [INFO] run post-build script verify.groovy > > [INFO] Assertion failed: > > > > assert content.contains('BUILD SUCCESS') > > | | > > | false > > 'OpenJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in > > JDK 22 and will likely be removed in a future release.\nERROR: transport > > error 202: bind failed: Address already in use\nERROR: JDWP Transport > > dt_socket failed to initialize, TRANSPORT_INIT(510)\nJDWP exit error > > AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized > > [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:697]\nRunning > > post-build script: > > /Users/daan/apache/creadur-rat/apache-rat-plugin/invoker_target/RAT-469-default/verify.groovy\n' > > > > [INFO] RAT-469-default/pom.xml .......................... FAILED > > (0.075 s) > > [INFO] ------------------------------------------------- > > [INFO] Build Summary: > > [INFO] Passed: 0, Failed: 8, Errors: 0, Skipped: 0 > > [INFO] ------------------------------------------------- > > [ERROR] The following builds failed: > > [ERROR] * RAT-469/pom.xml > > [ERROR] * CustomLicense/pom.xml > > [ERROR] * RAT-107/pom.xml > > [ERROR] * it1/pom.xml > > [ERROR] * RAT-268/pom.xml > > [ERROR] * RAT-314/pom.xml > > [ERROR] * RAT-168/pom.xml > > [ERROR] * RAT-469-default/pom.xml > > [INFO] ------------------------------------------------- > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary for Apache Creadur RAT 0.17: > > [INFO] > > [INFO] Apache Creadur RAT ................................. SUCCESS [ > > 2.281 s] > > [INFO] Apache Creadur RAT::Testdata ....................... SUCCESS [ > > 0.670 s] > > [INFO] Apache Creadur RAT::Core ........................... SUCCESS [ > > 10.433 s] > > [INFO] Apache Creadur RAT::Tools .......................... SUCCESS [ > > 3.545 s] > > [INFO] Apache Creadur RAT::Plugin4Maven ................... FAILURE [ > > 3.659 s] > > [INFO] Apache Creadur RAT::Tasks4Ant ...................... SKIPPED > > [INFO] Apache Creadur RAT::Packaging ...................... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 20.854 s > > [INFO] Finished at: 2025-10-13T12:30:21+02:00 > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] 91 goals, 91 executed > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-invoker-plugin:3.9.1:run (integration-test) > > on project apache-rat-plugin: 8 builds failed. See console output above for > > details. -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <args> -rf :apache-rat-plugin > > ``` > > > > Is this supposed to work like this? > > > > ``` > > mvn -version > > OpenJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in JDK 22 > > and will likely be removed in a future release. > > Listening for transport dt_socket at address: 8787 > > Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b) > > Maven home: /opt/homebrew/Cellar/maven/3.9.11/libexec > > Java version: 24.0.2, vendor: Homebrew, runtime: > > /opt/homebrew/Cellar/openjdk/24.0.2/libexec/openjdk.jdk/Contents/Home > > Default locale: en_GB, platform encoding: UTF-8 > > OS name: "mac os x", version: "15.6.1", arch: "aarch64", family: “mac" > > ``` > > > > any version mismatches I should have been aware of? > > > > On 2025/10/12 16:44:57 "P. Ottlinger" wrote: > > > Dear friends of RAT, > > > > > > the new v0.17 is ready for testing and fixes 129 issues. I've staged a > > > new release 0.17 - thanks for all feedback and contributions! > > > > > > =Release 0.17 abstract= > > > Apart from many dependency updates and multiple bugfixes, this release > > > brings a major harmonization among all available UIs (CLI, Apache Ant, > > > Apache Maven) concerning parameters and configuration options to run > > > RAT. Therefore please consult the available extended and updated > > > documentation over at the project's webpage in order to see examples and > > > overviews of the new configuration options! > > > > > > RAT generates a more expressive report now as certain individually > > > configurable limits for counters exist. In case you do preprocessing of > > > the report, you need to adapt your scripts according to RAT's XSD schema. > > > > > > Furthermore, the inclusion/exclusion configuration (e.g. .gitignore), > > > parsing and processing in RAT was overhauled - see RAT-476 for a known > > > issue in that regard. > > > > > > Many checkstyle, spotbugs and documentation issues were fixed. > > > > > > Additionally, a new automated test suite was developed in order to ease > > > testing of edge cases and example licenses and custom license > > definitions. > > > > > > RAT's homepage contents and its generation method were modernized and a > > > lot of new documentation was added to ease configuration of RAT in your > > > project. > > > > > > The next release will remove deprecated options and classes. > > > > > > Thanks for your patience and all the feedback in the making of this > > release! > > > #bigKudosToClaude would be a proper release name. > > > > > > =View on 0.17= > > > * https://issues.apache.org/jira/projects/RAT/versions/12352253 > > > (you need to login) > > > > > > * > > https://github.com/apache/creadur-rat/releases/tag/apache-rat-project-0.17 > > > > > > =Staging area= > > > > > > In order to use the staged release add this snippet to your pom: > > > <pluginRepositories> > > > <pluginRepository> > > > <id>staged-releases-rat-017</id> > > > <url> > > https://repository.apache.org/content/repositories/orgapachecreadur-1012/ > > </url> > > > <pluginRepository> > > > </pluginRepositories> > > > or browse > > > > > https://repository.apache.org/content/repositories/orgapachecreadur-1012/org/apache/rat/ > > > directly. > > > > > > =VOTE is open until 2025-10-16 23:00 UTC= > > > Everyone is encouraged to vote, express their opinions and jump in if > > > they find anything wrong with the release. Only PMC votes are binding > > > on Apache, and for this candidate to become an official Apache > > > Software Foundation release 3 +1's are required and more +1's than > > > -1's. > > > > > > This vote is open for at least 72 hours, > > > > > > [ ] +1 > > > [ ] +0 > > > [ ] -1 > > > > > > until 2025-10-16 23:00 UTC. > > > > > > NOTE > > > The downloads page and RAT webpage is not yet changed to reflect changes > > > in 0.17 and the dist area does not yet contain the release artifacts. > > > > > > A preview page (generated before creating the release) is: > > > https://creadur.apache.org/rat017/ > > > that will be deleted once the release is promoted. > > > > > > Thanks, > > > Phil > > > > > > > > -- > LinkedIn: http://www.linkedin.com/in/claudewarren -- Daan
