Skip to content

Commit

Permalink
Removed unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
spoto committed Apr 12, 2024
1 parent d8080b3 commit b327cda
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 156 deletions.
58 changes: 0 additions & 58 deletions io-hotmoka-network/pom.xml

This file was deleted.

18 changes: 0 additions & 18 deletions io-hotmoka-network/src/main/java/module-info.java

This file was deleted.

5 changes: 0 additions & 5 deletions io-hotmoka-node-remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
<artifactId>io-hotmoka-annotations</artifactId>
<version>${io.hotmoka.annotations.version}</version>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>io-hotmoka-network</artifactId>
<version>${hotmoka.version}</version>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>io-hotmoka-ws-client</artifactId>
Expand Down
1 change: 0 additions & 1 deletion io-hotmoka-node-remote/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
requires io.hotmoka.node;
requires io.hotmoka.beans;
requires io.hotmoka.annotations;
requires io.hotmoka.network;
requires io.hotmoka.websockets.client;
requires io.hotmoka.websockets.beans;
requires com.google.gson;
Expand Down
41 changes: 1 addition & 40 deletions io-hotmoka-node-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,7 @@
<log4j.version>1.2.16</log4j.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-json</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>io-hotmoka-node-service-api</artifactId>
Expand All @@ -62,11 +32,6 @@
<artifactId>io-hotmoka-node</artifactId>
<version>${hotmoka.version}</version>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>io-hotmoka-network</artifactId>
<version>${hotmoka.version}</version>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>io-hotmoka-node-messages</artifactId>
Expand All @@ -90,16 +55,12 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
</dependency>
<dependency>
<groupId>io.hotmoka</groupId>
<artifactId>toml4j</artifactId>
<version>0.7.3</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down
19 changes: 1 addition & 18 deletions io-hotmoka-node-service/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,19 @@
module io.hotmoka.node.service {
exports io.hotmoka.node.service;
// needed to allow the endpoints to be created by reflection although they are not exported
opens io.hotmoka.node.service.internal to org.glassfish.tyrus.core, spring.core;

// Spring needs superpowers
exports io.hotmoka.node.service.internal to spring.beans, spring.context;
opens io.hotmoka.node.service.internal to org.glassfish.tyrus.core;

requires transitive io.hotmoka.node.service.api;
requires transitive io.hotmoka.node;
requires transitive io.hotmoka.beans;
requires transitive io.hotmoka.network;
requires io.hotmoka.node.messages;
requires io.hotmoka.annotations;
requires io.hotmoka.websockets.server;
requires io.hotmoka.websockets.beans;
requires transitive jakarta.websocket.client;
requires org.glassfish.tyrus.core;
requires spring.boot;
requires spring.boot.autoconfigure;
requires spring.beans;
requires spring.web;
requires spring.context;
requires spring.boot.starter.websocket;
requires spring.websocket;
requires transitive spring.messaging;
requires com.google.gson;
requires java.instrument;
requires java.logging;
requires transitive toml4j;
requires org.apache.tomcat.embed.websocket;

// these make it possible to compile under Eclipse...
requires static spring.core;
requires static org.apache.tomcat.embed.core;
}
14 changes: 0 additions & 14 deletions io-hotmoka-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,6 @@
<skip>true</skip>
</configuration>
</plugin>
<!-- do not store the jar in the modules directory, as inherited from parent -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<outputDirectory>target</outputDirectory>
</configuration>
</plugin>
<!-- do not copy the modules only used for testing -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
<!-- no reason to javadoc the tests -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Note: submodules whose artifact must be deployed on Maven Central must activate
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<hotmoka.version>1.4.3</hotmoka.version>
<hotmoka.version>1.5.0</hotmoka.version>
<io.takamaka.code.version>1.1.0</io.takamaka.code.version>
<io.hotmoka.annotations.version>1.4.1</io.hotmoka.annotations.version>
<io.hotmoka.crypto.version>1.4.1</io.hotmoka.crypto.version>
Expand Down Expand Up @@ -103,7 +103,6 @@ Note: submodules whose artifact must be deployed on Maven Central must activate
<module>io-hotmoka-node-local</module>
<module>io-hotmoka-helpers-api</module>
<module>io-hotmoka-helpers</module>
<module>io-hotmoka-network</module>
<module>io-hotmoka-node-service-api</module>
<module>io-hotmoka-node-service</module>
<module>io-hotmoka-ws-client</module>
Expand Down

0 comments on commit b327cda

Please sign in to comment.