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

Fixes with CEQ 3.2.0 #291

Merged
merged 3 commits into from
Nov 6, 2023
Merged

Fixes with CEQ 3.2.0 #291

merged 3 commits into from
Nov 6, 2023

Conversation

zhfeng
Copy link
Contributor

@zhfeng zhfeng commented Nov 4, 2023

No description provided.

@zhfeng zhfeng requested a review from ppalaga November 4, 2023 14:47
Copy link
Contributor

@ppalaga ppalaga left a comment

Choose a reason for hiding this comment

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

Thanks @zhfeng! A question inline.


/* Add integration-tests/message module */
getLog().info("Adding to pom.xml: integration-tests/messaging module");
modules.addChildTextElement("module", "integration-tests/messaging");
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why we need to add <module>integration-tests/messaging</messaging> to the root pom.xml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, it looks like a work around.
The org.apache.camel.quarkus:camel-quarkus-integration-test-messaging-jms should be set with ${camel-quarkus-community.version} but this does not happen when running with cq:prod-excludes.

If we find a fix, it should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I think I find a cause. Let's take a look at og.apache.camel.quarkus:camel-quarkus-integration-test-jms-artemis-client dependencies filtered by camel-quarkus extensions:

[INFO] contains org.apache.camel.quarkus:camel-quarkus-core
[INFO] contains org.apache.camel.quarkus:camel-quarkus-jms
[INFO] contains org.apache.camel.quarkus:camel-quarkus-support-spring
[INFO] contains org.apache.camel.quarkus:camel-quarkus-bean
[INFO] contains org.apache.camel.quarkus:camel-quarkus-jta
[INFO] contains org.apache.camel.quarkus:camel-quarkus-mock
[INFO] contains org.apache.camel.quarkus:camel-quarkus-xml-jaxp
[INFO] contains org.apache.camel.quarkus:camel-quarkus-support-commons-logging
[INFO] contains org.apache.camel.quarkus:camel-quarkus-direct

Then all of them haven been productized. We introduce camel-quarkus-xml-jaxp in 3.2.0 recently. So the jms-artemis-client test is taken into TestCategory.PURE_PRODUCT. Now we have to product org.apache.camel.quarkus:camel-quarkus-integration-test-messaging-jms as a transitive dependency.

That could be the reason it keeps ${camel-quarkus.version} in the poms/bom-test/pom.xml.

Copy link
Contributor

Choose a reason for hiding this comment

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

If it really solves some problem, it is fine to leave it there. Anyway it would be nice to add a comment explaining the motivation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@ppalaga ppalaga left a comment

Choose a reason for hiding this comment

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

Thanks @zhfeng!

@ppalaga ppalaga merged commit a411a44 into l2x6:4.4 Nov 6, 2023
2 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