Skip to content

Commit 5bc21c1

Browse files
committed
Setup parent pom and checkstyle
1 parent 72304f3 commit 5bc21c1

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

java/.mvn/jvm.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
2+
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
3+
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
4+
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
5+
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
6+
--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
7+
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
8+
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
9+
--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
10+
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED

java/pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.cucumber</groupId>
77
<artifactId>cucumber-parent</artifactId>
8-
<version>4.5.0</version>
8+
<version>5.0.0-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>testng-xml-formatter</artifactId>
@@ -111,4 +111,22 @@
111111
<scope>test</scope>
112112
</dependency>
113113
</dependencies>
114+
115+
<build>
116+
<plugins>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-checkstyle-plugin</artifactId>
120+
<executions>
121+
<execution>
122+
<id>validate</id>
123+
<phase>validate</phase>
124+
<goals>
125+
<goal>check</goal>
126+
</goals>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
</plugins>
131+
</build>
114132
</project>

0 commit comments

Comments
 (0)