Skip to content

Commit

Permalink
feat: setup CI/CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rvullriede committed Jun 26, 2024
1 parent e217be0 commit 1c05189
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Usage

```java

MexcClient client = new MexcClient();
client.subscribe(new CurrencyPair("BTC", "USDT"), Interval.PT1M, ohlc -> {
log.debug("{}", ohlc);
});
MexcClient client = new MexcClient();
client.subscribe(new CurrencyPair("BTC", "USDT"), Interval.PT1M, ohlc -> {
log.debug("{}", ohlc);
});


client.unsubscribe(new CurrencyPair("BTC", "USDT"), Interval.PT1M);
client.close();
client.unsubscribe(new CurrencyPair("BTC", "USDT"), Interval.PT1M);
client.close();
```

Logging
Expand Down
32 changes: 19 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,6 @@
<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>
Expand Down Expand Up @@ -179,6 +166,25 @@
</build>
</profile>
</profiles>

<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>
</plugins>
</build>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down

0 comments on commit 1c05189

Please sign in to comment.