Skip to content

Commit

Permalink
Update to JDK17 and prepare for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsotovalero committed Apr 1, 2022
1 parent e6076c6 commit d17909c
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 25 deletions.
4 changes: 2 additions & 2 deletions depclean-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<parent>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-parent-pom</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
</parent>

<!-- Coordinates -->
<artifactId>depclean-core</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<packaging>jar</packaging>
<description>Core library of DepClean</description>
<name>depclean-core</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ void shouldRegisterClasses() {
final ProjectContext context = createContext();
final ActualUsedClasses actualUsedClasses = new ActualUsedClasses(context);
actualUsedClasses.registerClasses(of(COMMONS_IO_CLASS));

assertThat(actualUsedClasses.getRegisteredClasses()).containsExactly(COMMONS_IO_CLASS);
}

Expand All @@ -22,8 +21,6 @@ void shouldNotRegisterUnknownClasses() {
final ProjectContext context = createContext();
final ActualUsedClasses actualUsedClasses = new ActualUsedClasses(context);
actualUsedClasses.registerClasses(of(UNKNOWN_CLASS));

assertThat(actualUsedClasses.getRegisteredClasses()).isEmpty();
}

}
7 changes: 3 additions & 4 deletions depclean-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-parent-pom</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
</parent>

<!-- Coordinates -->
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<packaging>maven-plugin</packaging>
<name>depclean-maven-plugin</name>

Expand All @@ -33,7 +33,7 @@
<dependency>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-core</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
</dependency>
<!--Maven tools for plugin construction-->
<dependency>
Expand Down Expand Up @@ -221,5 +221,4 @@
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<mapstruct.version>1.4.2.Final</mapstruct.version>
</properties>

Expand Down Expand Up @@ -72,7 +71,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>${project.version}</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>${project.version}</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<plugin>
<groupId>se.kth.castor</groupId>
<artifactId>depclean-maven-plugin</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<executions>
<execution>
<goals>
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- Coordinates -->
<groupId>se.kth.castor</groupId>
<artifactId>depclean-parent-pom</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2</version>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -18,13 +18,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- plugins -->
<compiler.release>8</compiler.release>
<javadoc.source>8</javadoc.source>
<compiler.release>17</compiler.release>
<javadoc.source>17</javadoc.source>
<javadoc.plugin.version>3.2.0</javadoc.plugin.version>
<jacoco.plugin.version>0.8.6</jacoco.plugin.version>
<coveralls.plugin.version>4.3.0</coveralls.plugin.version>
<surefire.plugin.version>3.0.0-M3</surefire.plugin.version>
<compiler.plugin.version>3.8.1</compiler.plugin.version>
<compiler.plugin.version>3.10.1</compiler.plugin.version>
<!-- dependencies -->
<lombok.version>1.18.22</lombok.version>
<slf4j-api.version>2.0.0-alpha1</slf4j-api.version>
Expand Down

0 comments on commit d17909c

Please sign in to comment.