[ https://issues.apache.org/jira/browse/AMQ-9302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758620#comment-17758620 ]
Matt Pavlovich commented on AMQ-9302: ------------------------------------- >From [~tabish] activemq dev mailing list post {noformat} I spent a little time just to resurrect some knowledge on this, here's the basics To run the generator in the ActiveMQ source tree you need to enable the profile in the activemq-client module for the openwire generator and use the generate sources goal: mvn -P openwire-generate generate-sources This will at least try and generate the sources, the profile configuration tells it what the highest version is to generate in an ant task which needs to be moved to an ant target now as task is deprecated and will fall on its face until you do so. Then it will actually try and do something, so if you added openwire v13 you'd change it or leave it at v12 and see if you can generate matching output and run the above command at which point it will fall on its face if you are on JDK 17 as the underlying javadoc types used by the generator are relocated to 'jdk.javadoc.doclet' and renamed or refactored into something close but not quite the same. So then you run it on JDK 11 and it will fall on its face with an NPE that I didn't bother to look deeper into but at least you have a starting point. Likely the ancient annogen and gram stuff just won't work on a newer JDK, you could try running it on lower versions but the maven configuration will likely be unhappy as the compiler configuration is set to target 11 currently. Hopefully that at least gets you pointed in the right direction, frustrating as it may be. {noformat} > Modernize activemq-openwire-generator > ------------------------------------- > > Key: AMQ-9302 > URL: https://issues.apache.org/jira/browse/AMQ-9302 > Project: ActiveMQ > Issue Type: Task > Reporter: Matt Pavlovich > Priority: Minor > Fix For: 5.19.0 > > > 1. Update tooling for JDK 17 > 2. Update tooling to add execution targets based on language desired > 3. Update documentation -- This message was sent by Atlassian Jira (v8.20.10#820010)