Implemented in https://github.com/tisonspieces/os-detector/pull/4.
Best, tison. tison <wander4...@gmail.com> 于2024年2月5日周一 21:34写道: > > I found Maven Invoker is a component that can be used [1]. Let me try > to make an example. > > Best, > tison. > > [1] https://maven.apache.org/shared/maven-invoker/usage.html > > tison <wander4...@gmail.com> 于2024年1月25日周四 11:09写道: > > > > Hi, > > > > I'm writing a Mojo with an Extension extending > > AbstractMavenLifecycleParticipant. > > > > Now, I'd like to write some tests on the extension logic. Although > > Maven provides docs about writing tests over Mojos[1], it doesn't tell > > how to test if an extension [2] is properly loaded and executed. > > > > Are there some examples of such test cases? > > > > Best, > > tison. > > > > [1] > > https://maven.apache.org/plugin-developers/plugin-testing.html#using-plexustestcase > > [2] https://maven.apache.org/guides/mini/guide-using-extensions.html --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org