2020import org .openrewrite .test .RecipeSpec ;
2121import org .openrewrite .test .RewriteTest ;
2222
23+ import static org .assertj .core .api .Assertions .assertThat ;
2324import static org .openrewrite .maven .Assertions .pomXml ;
2425
2526class MigrateJaxwsMavenPluginTest implements RewriteTest {
@@ -67,6 +68,18 @@ void migrateJaxwsPluginFromJvnetToSunXmlWs() {
6768 </execution>
6869 </executions>
6970 </plugin>
71+ <plugin>
72+ <groupId>org.apache.maven.plugins</groupId>
73+ <artifactId>maven-compiler-plugin</artifactId>
74+ <version>3.14.1</version>
75+ <executions>
76+ <execution>
77+ <configuration>
78+ <nocompile>true</nocompile>
79+ </configuration>
80+ </execution>
81+ </executions>
82+ </plugin>
7083 </plugins>
7184 </build>
7285 </project>
@@ -82,7 +95,7 @@ void migrateJaxwsPluginFromJvnetToSunXmlWs() {
8295 <plugin>
8396 <groupId>com.sun.xml.ws</groupId>
8497 <artifactId>jaxws-maven-plugin</artifactId>
85- <version>2.3.5 </version>
98+ <version>2.3.7 </version>
8699 <executions>
87100 <execution>
88101 <id>wsimport-from-jdk</id>
@@ -100,6 +113,19 @@ void migrateJaxwsPluginFromJvnetToSunXmlWs() {
100113 <xnocompile>true</xnocompile>
101114 <verbose>true</verbose>
102115 </configuration>
116+ <phase>generate-sources</phase>
117+ </execution>
118+ </executions>
119+ </plugin>
120+ <plugin>
121+ <groupId>org.apache.maven.plugins</groupId>
122+ <artifactId>maven-compiler-plugin</artifactId>
123+ <version>3.14.1</version>
124+ <executions>
125+ <execution>
126+ <configuration>
127+ <nocompile>true</nocompile>
128+ </configuration>
103129 </execution>
104130 </executions>
105131 </plugin>
0 commit comments