Skip to content

Commit

Permalink
release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
rvullriede committed Jun 7, 2023
1 parent d8fe09f commit 69874d2
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 96 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
EvmClient
============
[![License](http://img.shields.io/:license-apache-brightgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rvullriede/evm-client/Java%20CI%20with%20Maven)
[![Maven Central](https://img.shields.io/maven-central/v/net.osslabz/evm-client?label=Maven%20Central)](https://search.maven.org/artifact/net.osslabz/evm-client)
![GitHub](https://img.shields.io/github/license/osslabz/evm-client)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/osslabz/evm-client/maven.yml?branch=main)
[![Maven Central](https://img.shields.io/maven-central/v/net.osslabz/evm-client?label=Maven%20Central)](https://search.maven.org/artifact/net.osslabz/evm-abi-client)

EvmClient is a thin wrapper around [web3j](https://github.com/web3j/web3j "Web3j: Web3 Java Ethereum Ðapp API") which
provides some convenient methods to get ERC20 contract details, check balances etc.
Expand All @@ -28,7 +28,7 @@ Maven
<dependency>
<groupId>net.osslabz</groupId>
<artifactId>evm-client</artifactId>
<version>0.0.13</version>
<version>0.0.14</version>
</dependency>
```

Expand Down Expand Up @@ -62,8 +62,9 @@ Erc20Token(

Logging
------
The actual client uses slf4j-api but doesn't package an implementation. This is up to the using application. For the
tests logback is backing slf4j as implementation with a default configuration logging to STOUT.
This project uses slf4j-api but doesn't package an implementation. This is up to the using application. For the
tests logback is backing slf4j as implementation, with a default configuration logging to STOUT.


Compatibility
------
Expand Down
168 changes: 78 additions & 90 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>net.osslabz</groupId>
Expand All @@ -10,20 +11,21 @@
<description>A simple wrapper around web3j to simplify common use-cases. Also provides pre-configured information
to access other EVM-compatible chains except Ethereum itself (e.g. Avalanche).
</description>
<url>https://github.com/rvullriede/evm-client</url>
<url>https://github.com/osslabz/evm-client</url>

<properties>
<java.version>8</java.version>
<project.defaultEncoding>UTF-8</project.defaultEncoding>
<osslabz.encoding>UTF-8</osslabz.encoding>
<osslabz.java.version>17</osslabz.java.version>

<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>${osslabz.encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${osslabz.encoding}</project.reporting.outputEncoding>

<project.build.sourceEncoding>${project.defaultEncoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${project.defaultEncoding}</project.reporting.outputEncoding>
<maven.compiler.source>${osslabz.java.version}</maven.compiler.source>
<maven.compiler.target>${osslabz.java.version}</maven.compiler.target>
<maven.compiler.release>${osslabz.java.version}</maven.compiler.release>

<web3j.groupId>org.web3j</web3j.groupId>
<web3j.version>4.8.9</web3j.version>
<web3j.version>4.10.0</web3j.version>
<okhttp3.version>4.11.0</okhttp3.version>
</properties>

Expand All @@ -44,10 +46,10 @@
</developers>

<scm>
<connection>scm:git:ssh://[email protected]/rvullriede/evm-client.git</connection>
<developerConnection>scm:git:ssh://[email protected]/rvullriede/evm-client.git</developerConnection>
<url>https://github.com/rvullriede/evm-client</url>
<tag>main</tag>
<connection>scm:git:ssh://[email protected]/osslabz/evm-client.git</connection>
<developerConnection>scm:git:ssh://[email protected]/osslabz/evm-client.git</developerConnection>
<url>https://github.com/osslabz/evm-client</url>
<tag>HEAD</tag>
</scm>

<dependencies>
Expand Down Expand Up @@ -118,85 +120,71 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<release>${java.version}</release>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>

<profiles>
<profile>
<id>osslabz-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
<failOnError>false</failOnError>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<failOnError>false</failOnError>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down

0 comments on commit 69874d2

Please sign in to comment.