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

Fix #100 Set project.originalModel after flattening #281

Merged
merged 1 commit into from Aug 15, 2022

Conversation

clayreimann
Copy link
Contributor

Based on the discussion in apache/maven-shade-plugin#129 (comment) It seems that the flatten plugin should update the originalModel property after we flatten the pom.

This issue resolves #100 and is an alternate way to close #279

@wangliang181230 wangliang181230 mentioned this pull request Jun 1, 2022
@clayreimann
Copy link
Contributor Author

@slachiewicz I know you may be busy, but do you have initial thoughts on this PR?

@clayreimann
Copy link
Contributor Author

@slachiewicz any update on this?

@clayreimann
Copy link
Contributor Author

@slachiewicz more ping. If you're busy, or not much involved any more, can you recommend someone else who might review?

@slawekjaranowski
Copy link
Member

Please squash to one final commit

README.md Outdated

- When developing new integration test cases an easy way to only run the scenario you are working on is to create a new
directory (e.g. `src/it/new-case`) and put your new `pom.xml` and `verify.groovy` in that directory. Then update the
`<projectsDirectory>` path of the `run-its` profile to point to the directory containing your single test case.
Copy link
Member

Choose a reason for hiding this comment

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

We can use: invoker.test property

mvn verify -P run-its -Dinvoker.test=<projectsDirectory>

pom.xml Outdated Show resolved Hide resolved
src/it/projects/flatten-shaded-drp/pom.xml Show resolved Hide resolved
Based on the discussion in maven-shade-plugin#129 apache/maven-shade-plugin#129 (comment) It seems that the flatten plugin should update the `originalModel` property after we flatten the pom.
@slawekjaranowski slawekjaranowski merged commit f85967a into mojohaus:master Aug 15, 2022
@mkarg
Copy link

mkarg commented Aug 15, 2022

Thanks for fixing this issue! :-)

@slawekjaranowski slawekjaranowski changed the title Set project.originalModel after flattening Fix #100 Set project.originalModel after flattening Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flatten-vs-shade incompatibility
4 participants