You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: subprojects/plugin/src/compatTest/groovy/de/benediktritter/maven/plugin/development/PluginDescriptorGenerationFuncTest.groovy
-17
Original file line number
Diff line number
Diff line change
@@ -121,23 +121,6 @@ class PluginDescriptorGenerationFuncTest extends AbstractPluginFuncTest {
121
121
result.output.contains("ArtifactIds of the form maven-___-plugin are reserved for plugins of the maven team. Please change the plugin artifactId to the format ___-maven-plugin.")
122
122
}
123
123
124
-
def"works even if weird enums are present"() {
125
-
given:
126
-
file("src/main/java/TypedEnum.java") <<"""
127
-
import java.util.List;
128
-
public enum TypedEnum {
129
-
ENUM_VALUE {
130
-
private <T> List<T> genericMethod(List<T> list) {
131
-
return list;
132
-
}
133
-
}
134
-
}
135
-
"""
136
-
137
-
expect:
138
-
run("generateMavenPluginDescriptor")
139
-
}
140
-
141
124
def"generates a plugin and help descriptor for mojos in the main source set"() {
0 commit comments