Skip to content

yuhaowin/githook-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

            <plugin>
                <groupId>com.yuhaowin.tools</groupId>
                <artifactId>githook-maven-plugin</artifactId>
                <version>1.0.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>install</goal>
                        </goals>
                        <configuration>
                            <resource-hooks>
                                <pre-commit>${project.basedir}/src/main/resources/style/pre-commit.sh</pre-commit>
                            </resource-hooks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

or

            <plugin>
                <groupId>com.yuhaowin.tools</groupId>
                <artifactId>githook-maven-plugin</artifactId>
                <version>1.0.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>install</goal>
                        </goals>
                        <configuration>
                            <hooks>
                                <pre-commit>several bash scripts...</pre-commit>
                            </hooks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

About

Maven plugin to configure and install local git hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages