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

[ARCHETYPE-622] - maven-archetype-plugin integration-test doesn't use… #86

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

MarianMacik
Copy link
Member

… Maven settings from the main build

ARCHETYPE-622

Hi @hboutemy,

can you please look at the PR? I think it may be good to unify the behaviour of maven-archetype-plugin:integration-test with the invoker in terms of settings.xml consumption. Otherwise when one tries to make it behave the same, unnecessary workarounds are needed. I have also included a test which tests that the correct settings were passed to the archetype by checking the download output of the build.

Thanks!

@MarianMacik
Copy link
Member Author

@hboutemy @rfscholte @olamy Can any of you have a look at this PR? Thanks!

@MarianMacik MarianMacik force-pushed the ARCHETYPE-622 branch 2 times, most recently from eb2be0c to 967bb27 Compare November 26, 2021 12:02
@MarianMacik
Copy link
Member Author

@hboutemy @rfscholte @olamy Can anyone from you approve rerunning the workflow? I added some debug information to understand why tests work locally but don't on GitHub. Thanks!

@MarianMacik
Copy link
Member Author

@slachiewicz I noticed you approved running it last time, can you retrigger it, please?

@MarianMacik MarianMacik force-pushed the ARCHETYPE-622 branch 3 times, most recently from 111336a to 82459ac Compare November 26, 2021 12:41
@MarianMacik
Copy link
Member Author

Test failure is resolved now. I was counting on the fact that everything will be downloaded from the local repository but turned out some artifacts still need to be downloaded. I came up with an even better check to actually check Maven debug output for the correct settings file. Can anybody retrigger the PR check, please? Thanks!

@hboutemy @rfscholte @olamy @slachiewicz

@MarianMacik
Copy link
Member Author

@slachiewicz Sorry to bother you again, but 3 combinations failed because of unrelated issues. Can you retrigger? It must be some infrastructure issue.

@MarianMacik
Copy link
Member Author

@slachiewicz Thanks! It's green now! Can you merge it or should I write somewhere to the mailing list?

@slachiewicz
Copy link
Member

Let me review it here

@slachiewicz slachiewicz merged commit b6091c6 into apache:master Dec 1, 2021
@MarianMacik
Copy link
Member Author

@slachiewicz Thanks!

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