Example usage:

    <project ...>
        <build>
            <plugins>
                <plugin>
                    <groupId>org.carlspring.maven</groupId>
                    <artifactId>little-proxy-maven-plugin</artifactId>
                    <version>${version.little.proxy.maven.plugin}</version>

                    <configuration>
                        <!-- A secret hash to use when shutting down -->
                        <hash>5FD4F8E2A</hash>
                    </configuration>

                    <executions>
                        <execution>
                            <id>start</id>
                            <goals>
                                <goal>start</goal>
                            </goals>

                            <configuration>
                                <!-- Define a list of valid credentials -->
                                <userCredentials>
                                    <admin>password123</admin>
                                    <testuser>password</testuser>
                                </userCredentials>
                            </configuration>
                        </execution>
                        <execution>
                            <id>stop</id>
                            <goals>
                                <goal>stop</goal>
                            </goals>

                            <configuration>
                                <!-- The port to listen on for shutdown requests (this is the default): -->
                                <shutdownPort>8181</shutdownPort>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
    </project>

The maven property proxy.skip, if set to true, will prevent the plugin from launching LittleProxy. It can also be set with:

    <plugin>
        <groupId>org.carlspring.maven</groupId>
        <artifactId>little-proxy-maven-plugin</artifactId>
        <version>${version.little.proxy.plugin}</version>
        <configuration>
            <skip>true</skip>
        </configuration>
        ...
     </plugin>
