Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OF-2960: Replace Oracle database driver's BOM project with individual dependencies #2675

Merged

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Feb 7, 2025

This works around an issue that creeps up when using the BOM project: it causes a POM file to be included in Openfire's distirbution. That file in turn causes the RPM build to fail.

As the distribution cannot be easily changed, this commit prevents usage of the project that introduces the POM file.

More context is provided in https://igniterealtime.atlassian.net/browse/OF-2960

Comment on lines +93 to +98
<dependency> <!-- OF-2960: Including dependencies of ojdbc11-production rather than ojdbc11-production itself. -->
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>${ojdbc.version}</version>
</dependency>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails in the tests because my hacky CI Updater test rig isn't a child project of the parent POM. Should we make it be a child? No clue if there'd be side effects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly a good idea, but for now, I just defined the version number in its properties, too.

… dependencies

This works around an issue that creeps up when using the BOM project: it causes a POM file to be included in Openfire's distirbution. That file in turn causes the RPM build to fail.

As the distribution cannot be easily changed, this commit prevents usage of the project that introduces the POM file.
@guusdk guusdk force-pushed the OF-2960_Oracle-JDBC-driver-nonPom branch from 04142ce to eab1f4f Compare February 7, 2025 13:22
@guusdk guusdk merged commit f8f0207 into igniterealtime:main Feb 7, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants