Skip to content

Commit

Permalink
Use maven-enforcer-plugin instead of prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg02 committed Nov 12, 2024
1 parent da6db8a commit 316c4ba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.mvn
.mvn
/*/target
/*/bin
28 changes: 22 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
</mailingLists>

<issueManagement>
<system>Bugzilla</system>
<url>https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CBI</url>
<system>GitHub issues</system>
<url>https://github.com/eclipse-cbi/eclipse-cbi-tycho-example/issues</url>
</issueManagement>

<organization>
Expand Down Expand Up @@ -90,10 +90,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<prerequisites>
<maven>3.9.6</maven>
</prerequisites>

<pluginRepositories>
<pluginRepository>
<id>eclipse-maven</id>
Expand Down Expand Up @@ -147,6 +143,26 @@
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.9.6</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down

0 comments on commit 316c4ba

Please sign in to comment.