Skip to content

Using maven plugin prevents building from tarball #299

Closed
@dvzrv

Description

@dvzrv

Hi! When packaging 2.0.0 for Arch Linux I realized that the tool can not be built from a tarball of a release as long as there is the git hooks maven plugin in use:

openapi-diff/pom.xml

Lines 290 to 294 in ed6345e

<plugin>
<groupId>io.github.phillipuniverse</groupId>
<artifactId>githook-maven-plugin</artifactId>
<version>1.0.5</version>
</plugin>

openapi-diff/pom.xml

Lines 349 to 366 in ed6345e

<plugin>
<groupId>io.github.phillipuniverse</groupId>
<artifactId>githook-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>install</goal>
</goals>
<configuration>
<hooks>
<pre-commit>
mvn com.coveo:fmt-maven-plugin:format
</pre-commit>
</hooks>
</configuration>
</execution>
</executions>
</plugin>

As this seems to be only for code formatting, is it possible to circumvent its use (aside from removal), when using mvn clean install?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions