Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add maven enforcer plugin #35

Open
farodin91 opened this issue Jul 24, 2020 · 0 comments
Open

Add maven enforcer plugin #35

farodin91 opened this issue Jul 24, 2020 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@farodin91
Copy link
Contributor

Example from JanusGraph/pom.xml

<plugin>        
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-enforcer-plugin</artifactId>
    <version>3.0.0-M2</version>
    <executions>
        <execution>
            <id>enforce-dependency-convergence</id>
            <goals>
                <goal>enforce</goal>
            </goals>
            <configuration>
                <rules>
                    <requireUpperBoundDeps>
                        <excludes>
                            <exclude>com.google.guava:guava</exclude>
                        </excludes>
                    </requireUpperBoundDeps>
                    <DependencyConvergence />
                </rules>
            </configuration>
        </execution>
    </executions>
</plugin>
@farodin91 farodin91 added the good first issue Good for newcomers label Jul 24, 2020
@farodin91 farodin91 added this to the first release milestone Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant