Skip to content

Commit

Permalink
Require Maven 3.6.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Jan 21, 2024
1 parent 2c9f807 commit 4c76795
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</developers>

<prerequisites>
<maven>3.5.4</maven>
<maven>${mavenVersion}</maven>
</prerequisites>

<scm>
Expand All @@ -84,9 +84,8 @@

<properties>
<maven.scm.version>2.0.1</maven.scm.version>
<maven.api.version>3.5.4</maven.api.version>
<mojo.java.target>8</mojo.java.target>
<maven.it.version>3.5.4</maven.it.version>
<maven.it.version>${mavenVersion}</maven.it.version>
<takari.plugin.testing.version>3.0.0</takari.plugin.testing.version>
<takari-lifecycle-plugin.version>2.0.8</takari-lifecycle-plugin.version>
<test.excludes>**/it/**</test.excludes>
Expand All @@ -98,19 +97,19 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>${maven.api.version}</version>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.api.version}</version>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.api.version}</version>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.junit.runner.RunWith;

@RunWith( MavenJUnitTestRunner.class )
@MavenVersions( { "3.5.4" } )
@MavenVersions( { "3.6.3" } )
public class BuildNumberMojoTest
{
private static final Pattern SVN_VERSION_PATTERN = Pattern.compile( "svn, version (\\d+)\\.(\\d+)\\." );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.junit.runner.RunWith;

@RunWith( MavenJUnitTestRunner.class )
@MavenVersions( { "3.5.4" } )
@MavenVersions( { "3.6.3" } )
public class CreateMetadataMojoTest
{
@Rule
Expand Down

0 comments on commit 4c76795

Please sign in to comment.