Skip to content

Commit

Permalink
Switch to 4.0.0-SNAPSHOT and Maven 4 api
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 11, 2024
1 parent fa60064 commit 55ddc98
Show file tree
Hide file tree
Showing 66 changed files with 536 additions and 1,292 deletions.
55 changes: 14 additions & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>

<name>Build Helper Maven Plugin</name>
Expand Down Expand Up @@ -84,53 +84,26 @@

<properties>
<scmpublish.content>${project.build.directory}/staging/build-helper-maven-plugin</scmpublish.content>
<minimalMavenBuildVersion>4.0.0-beta-3</minimalMavenBuildVersion>
<mojo.java.target>17</mojo.java.target>
<maven-plugin-plugin.version>4.0.0-beta-1</maven-plugin-plugin.version>
<project.build.outputTimestamp>2024-05-19T19:34:17Z</project.build.outputTimestamp>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<artifactId>maven-api-core</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-api</artifactId>
<!-- the same version as in used Maven dependencies -->
<version>1.4.1</version>
<scope>provided</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.apache.maven.resolver</groupId>-->
<!-- <artifactId>maven-resolver-api</artifactId>-->
<!-- &lt;!&ndash; the same version as in used Maven dependencies &ndash;&gt;-->
<!-- <version>1.4.1</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->

<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
Expand All @@ -149,7 +122,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
<version>2.0.13</version>
</dependency>

<!-- testing -->
Expand All @@ -166,7 +139,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
<version>2.0.13</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
5 changes: 2 additions & 3 deletions src/it/bsh-property/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
<property>local</property>
</properties>
<source>
name = project.getName();
root = session.getExecutionRootDirectory();
name = project.getModel().getName();
root = session.getRootDirectory();
local = settings.getLocalRepository();
plexus = session.getContainer();
</source>
</configuration>
</execution>
Expand Down
5 changes: 0 additions & 5 deletions src/it/remove-project-artifact/invoker.properties

This file was deleted.

26 changes: 0 additions & 26 deletions src/it/remove-project-artifact/pom.xml

This file was deleted.

8 changes: 0 additions & 8 deletions src/it/remove-project-artifact/verify.groovy

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions src/it/rootlocation-in-submodule-nested-separate-parent/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions src/it/rootlocation-in-submodule-separate-parent/parent/pom.xml

This file was deleted.

Loading

0 comments on commit 55ddc98

Please sign in to comment.