yegor256 / farea

Fake Maven Reactor for unit-testing of your Maven plugins: similar Maven Invoker Plugin, but JUnit friendly
MIT License
7 stars 0 forks source link

`.goals()` adds goals twice if they already exist there #105

Closed yegor256 closed 1 day ago

yegor256 commented 1 day ago

This will produce a wrong pom:

                f.build()
                    .plugins()
                    .appendItself()
                    .execution("first")
                    .phase("process-classes")
                    .goals("build", "optimize");
                f.build()
                    .plugins()
                    .appendItself()
                    .execution("first")
                    .phase("process-classes")
                    .goals("build", "optimize");

There will be 4 goals instead of two.

yegor256 commented 1 day ago

@rultor release, tag is 0.4.0

rultor commented 1 day ago

@rultor release, tag is 0.4.0

@yegor256 OK, I will release it now. Please check the progress here.

rultor commented 1 day ago

@rultor release, tag is 0.4.0

@yegor256 Done! FYI, the full log is here (took me 6min).