Skip to content

Commit 94594da

Browse files
github-actions[bot]paul58914080
authored andcommitted
ci: update generated cookiecutter template from example
1 parent bd5727a commit 94594da

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

{{cookiecutter.app_name}}/pom.xml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<jib-maven.plugin.version>3.4.6</jib-maven.plugin.version>
3232
<git-code-format-maven-plugin.version>5.4</git-code-format-maven-plugin.version>
3333
<githook-maven-plugin.version>1.0.5</githook-maven-plugin.version>
34-
<pitest-maven-plugin.version>1.20.5</pitest-maven-plugin.version>
34+
<pitest-maven-plugin.version>1.21.0</pitest-maven-plugin.version>
3535
<pitest-junit5-plugin.version>1.2.3</pitest-junit5-plugin.version>
3636
</properties>
3737
<modules>
@@ -207,36 +207,6 @@
207207
</execution>
208208
</executions>
209209
</plugin>
210-
<plugin>
211-
<groupId>com.cosium.code</groupId>
212-
<artifactId>git-code-format-maven-plugin</artifactId>
213-
<version>${git-code-format-maven-plugin.version}</version>
214-
<executions>
215-
<!-- On commit, format the modified java files -->
216-
<execution>
217-
<id>install-formatter-hook</id>
218-
<goals>
219-
<goal>install-hooks</goal>
220-
</goals>
221-
</execution>
222-
<!-- On Maven verify phase, fail if any file
223-
(including unmodified) is badly formatted -->
224-
<execution>
225-
<id>validate-code-format</id>
226-
<goals>
227-
<goal>validate-code-format</goal>
228-
</goals>
229-
</execution>
230-
</executions>
231-
<dependencies>
232-
<!-- Enable https://github.com/google/google-java-format -->
233-
<dependency>
234-
<groupId>com.cosium.code</groupId>
235-
<artifactId>google-java-format</artifactId>
236-
<version>${git-code-format-maven-plugin.version}</version>
237-
</dependency>
238-
</dependencies>
239-
</plugin>
240210
<plugin>
241211
<groupId>io.github.phillipuniverse</groupId>
242212
<artifactId>githook-maven-plugin</artifactId>
@@ -251,10 +221,6 @@
251221
<pre-commit>
252222
echo "Validating..."
253223
exec mvn test
254-
echo "Formatting code..."
255-
exec mvn git-code-format:format-code
256-
echo "Validating format..."
257-
exec mvn git-code-format:validate-code-format
258224
</pre-commit>
259225
</hooks>
260226
</configuration>

0 commit comments

Comments
 (0)