File tree Expand file tree Collapse file tree
src/main/java/io/openapiprocessor/maven Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222/**
2323 * run an openapi-processor.
2424 */
25+ @ SuppressWarnings ({"DefaultAnnotationParam" , "unused" })
2526@ Mojo (name = "process" , defaultPhase = LifecyclePhase .GENERATE_SOURCES )
2627public class ProcessMojo extends AbstractMojo {
2728 public static final String API_PATH = "apiPath" ;
@@ -113,7 +114,7 @@ private String joinDirs (CharSequence... directories) {
113114 return String .join (File .separator , directories );
114115 }
115116
116- private Map <String , Object > createProperties () throws MojoExecutionException {
117+ private Map <String , Object > createProperties () {
117118 Map <String , Object > properties = new HashMap <> ();
118119
119120 addProperties (options , properties );
@@ -157,5 +158,4 @@ private void setApiPath (Map<String, Object> properties) {
157158 apiPath = new File ((String ) properties .get (API_PATH ));
158159 }
159160 }
160-
161161}
You can’t perform that action at this time.
0 commit comments