gnodet opened a new pull request, #30146: URL: https://github.com/apache/camel/pull/30146
## Summary Remove three stale dependencies from the `maven-antrun-plugin` configuration in `parent/pom.xml`. The `ant-contrib` dependency is intentionally kept. ## Root Cause The `maven-antrun-plugin` plugin management block in `parent/pom.xml` declared five dependencies, three of which became obsolete: - **`ant-trax:1.8.0`** — This artifact was a separate module in Ant 1.7.x, providing XSLT/TrAX support. Since Ant 1.8, its functionality was merged into the main `ant` jar. The `maven-antrun-plugin` 3.2.0 already bundles Ant 1.10.x, which includes this functionality. Adding it as an extra dependency is redundant and potentially causes class conflicts. - **`ant-nodeps:1.8.1`** — Similar story: this module contained optional Ant tasks that were merged into `ant` core since Ant 1.9. Again, bundled in the plugin's own Ant 1.10.x distribution. - **`openjpa-persistence-jdbc`** — This was historically added so that the antrun plugin could invoke OpenJPA's bytecode enhancer. OpenJPA enhancement in Camel is now handled by the dedicated `openjpa-maven-plugin` (configured in `components/camel-jpa/pom.xml`), making this antrun dependency unnecessary. ## Fix Remove the three obsolete `<dependency>` entries from the `maven-antrun-plugin` plugin management section in `parent/pom.xml`. The `openjpa-version` property is **kept** — it is still used by `camel-jpa` for `openjpa-maven-plugin` and the `openjpa` artifact. The `ant-contrib` dependency is **kept** — it provides the `<propertyregex>` task used by `camel-xml-io` and `camel-spring-xml` build processes. ## Tests This is a build configuration cleanup with no runtime behaviour change. The POM validates successfully (`mvn validate` passes). CI will confirm no builds are broken by these removals. Fixes CAMEL-23487 --- _Hermes Agent (Claude Sonnet 4.6) on behalf of Guillaume Nodet_ -- 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]
