You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2026/02/17 14:33:44 UTC
[PR] HDDS-14644. Move test-utils code back to src/main [ozone]
adoroszlai opened a new pull request, #9778:
URL: https://github.com/apache/ozone/pull/9778
## What changes were proposed in this pull request?
Move test utilities in `hdds-test-utils` from `src/test` back to `src/main` to ensure that dependencies (`commons-io`, `commons-lang3`, etc.) are transitive. Please see HDDS-14644.
## How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/22097247631
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #9778:
URL: https://github.com/apache/ozone/pull/9778
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #9778:
URL: https://github.com/apache/ozone/pull/9778#issuecomment-3922175170
@adoroszlai , you are right that the code should be put in main for a separated test module according to the AI Overview below. It also says that we should keep using `<type>test-jar</type>`.
<img width="653" height="983" alt="image" src="https://github.com/user-attachments/assets/14cf0d92-2d80-4356-a38b-8b50a505ba6d" />
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #9778:
URL: https://github.com/apache/ozone/pull/9778#issuecomment-3922560383
> you are right that the code should be put in main for a separated test module according to the AI Overview below.
Thanks for the confirmation.
> It also says that we should package as a test-jar and keep using `<type>test-jar</type>`
Can you please ask it why? Adding the type seems to deviate from Maven conventions. Now `install` fails with:
```
packaging plugin for project hdds-test-utils did not assign a main file to the project but it has attachments. Change packaging to 'pom'
```
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #9778:
URL: https://github.com/apache/ozone/pull/9778#issuecomment-3931979817
Thanks @szetszwo for the review and the link.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #9778:
URL: https://github.com/apache/ozone/pull/9778#issuecomment-3922728182
@adoroszlai , thanks for trying. Let me see how to make it work.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14644. Move test-utils code back to src/main [ozone]
Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #9778:
URL: https://github.com/apache/ozone/pull/9778#issuecomment-3922148212
@adoroszlai , the current approach seems correct according to the AI Overview below. Let me see how to solve the transitive dependency problem.
<img width="653" height="983" alt="image" src="https://github.com/user-attachments/assets/1f0515c2-6051-4505-8462-46b7a222df78" />
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org