Hi Olivier, did you try getProjectWithDependencies ?
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> Le jeu. 7 oct. 2021 à 14:05, Oliver Drotbohm <[email protected]> a écrit : > Is there an easy way to obtain a MavenProject instance from an existing > POM file in a test case? I have a sample file and have tried to load that > in MavenProjectTest via getProject(File). That returns an instance but the > artifacts remain completely uninitialized. Anything I am missing? > > > On 7. Oct 2021, at 13:32, Oliver Drotbohm <[email protected]> wrote: > > > > I'll give it a spin. Sorry for the apparent double post. I wasn't sure > which email address I was subscribed with and the original post didn't seem > to appear in my inbox, so I thought it was the wrong one. O:-) > > > >> On 7. Oct 2021, at 13:16, Mickael Istria <[email protected]> wrote: > >> > >> Hi, > >> > >> I don't know for sure, but your reasoning sounds good. So please try > >> submitting a PR and we'll see if this change breaks things. > >> > >> Cheers, >
