microsoft / vscode-maven

VSCode extension "Maven for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven
Other
181 stars 88 forks source link

Support generate-sources/generate-test-sources phase #958

Closed egelke closed 1 year ago

egelke commented 1 year ago

Plugins that generate (test) code don't seem to be implemented, when adding the following plugin:

               <plugin>
                    <groupId>org.assertj</groupId>
                    <artifactId>assertj-assertions-generator-maven-plugin</artifactId>
                    <version>2.2.0</version>
                    <executions>
                        <execution>
                            <id>generate</id>
                            <phase>generate-test-sources</phase>
                            <goals>
                                <goal>generate-assertions</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

I get the following error:

Plugin execution not covered by lifecycle configuration: org.assertj:assertj-assertions-generator-maven-plugin:2.2.0:generate-assertions (execution: generate, phase: generate-test-sources)

Eskibear commented 1 year ago

please open this issue in this repo: https://github.com/redhat-developer/vscode-java