Project

General

Profile

« Previous | Next » 

Revision bdda8f90

Added by Andreas Kohlbecker almost 4 years ago

ref #8986 setting up maven-enforcer-plugin with fail=true

View differences:

pom.xml
176 176
          </dependency>
177 177
        </dependencies>
178 178
      </plugin>
179
      <plugin>
180
        <groupId>org.apache.maven.plugins</groupId>
181
        <artifactId>maven-enforcer-plugin</artifactId>
182
        <version>3.0.0-M2</version>
183
        <executions>
184
          <execution>
185
            <id>enforce</id>
186
            <configuration>
187
              <fail>true</fail>
188
              <skip>false</skip>
189
              <rules>
190
                <dependencyConvergence/>                
191
				<requireMavenVersion>
192
                  <version>[3.6.0,)</version>
193
                </requireMavenVersion>
194
              </rules>
195
            </configuration>
196
            <goals>
197
              <goal>enforce</goal>
198
              <!-- Binds by default to the lifecycle phase: validate -->
199
            </goals>
200
          </execution>
201
        </executions>
202
      </plugin>
179 203
    </plugins>
180 204
    <extensions>
181 205
      <extension>

Also available in: Unified diff