Skip to content

Commit

Permalink
Add rewrite-java-17 project and remove warnings about module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
tkvangorder committed May 17, 2022
1 parent 52b6ae6 commit 5b4b7e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 66 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
<artifactId>rewrite-java-11</artifactId>
<version>${rewrite.version}</version>
</dependency>
<dependency>
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-java-17</artifactId>
<version>${rewrite.version}</version>
</dependency>
<dependency>
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-xml</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.openrewrite.internal.lang.Nullable;

import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
Expand All @@ -47,7 +46,6 @@ public class AbstractRewriteDryRunMojo extends AbstractRewriteMojo {

@Override
public void execute() throws MojoExecutionException {
MavenOptsHelper.checkAndLogMissingJvmModuleExports(getLog());

//If the plugin is configured to run over all projects (at the end of the build) only proceed if the plugin
//is being run on the last project.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public class AbstractRewriteRunMojo extends AbstractRewriteMojo {

@Override
public void execute() throws MojoExecutionException {
MavenOptsHelper.checkAndLogMissingJvmModuleExports(getLog());

//If the plugin is configured to run over all projects (at the end of the build) only proceed if the plugin
//is being run on the last project.
Expand Down
63 changes: 0 additions & 63 deletions src/main/java/org/openrewrite/maven/MavenOptsHelper.java

This file was deleted.

0 comments on commit 5b4b7e9

Please sign in to comment.