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

Development has been made to override the relevant phase in child POMs. #370

Closed

Conversation

omercelikceng
Copy link

I want to be able to configure this phase in child POMs in certain cases, so I made this change.

@omercelikceng
Copy link
Author

@spencergibb Why hasn't my pull request been merged? I want to configure the Antrun plugin in Spring Cloud Stream, and I need this. Why was it closed without any explanation?

@spencergibb
Copy link
Member

This repo is typically not one we get many contributions for because it is for only for use with the spring cloud project and you did not mention that in the beginning. Can I ask what you need it for in Spring Cloud Stream?

@omercelikceng
Copy link
Author

omercelikceng commented Nov 18, 2024

Ok, I am sorry @spencergibb.

I made a development in Spring Cloud Stream that injects the project.version into a class at build time using the Antrun plugin. However, in the spring-cloud-build project, the Antrun plugin is configured with different settings, and the spring-cloud-stream project uses spring-cloud-build as its parent POM. I don't want the phase you specified for the Antrun plugin to execute, so I will set it to none.

For this reason, I made this development and opened a pull request for this project. Additionally, I am very eager to contribute to open source projects and put in significant effort to do so. Additionally, if you find this development appropriate, I would like to reopen the pull request.

Moreover, I would be delighted if you could merge my commit. Once this commit is merged, I will continue working on the development.

My development in spring cloud stream : spring-cloud/spring-cloud-stream@a8fb34d

@spencergibb
Copy link
Member

We had to revert that commit because of failures. spring-cloud/spring-cloud-stream@e14bc1c

I'll work with @sobychacko and @olegz if/when it is reintroduced, we can then revisit this.

@omercelikceng
Copy link
Author

omercelikceng commented Nov 18, 2024

spring-cloud/spring-cloud-stream#3027 (comment)

@spencergibb . As I explained in the link above, the solution to the issue is to set the phases to none.
Yes, the code was reverted because this was the cause of the issue. I made this development to solve the problem.

@spencergibb
Copy link
Member

Great. My previous statement stands

I'll work with @sobychacko and @olegz if/when it is reintroduced, we can then revisit this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants