Skip to content
Snippets Groups Projects
Commit aeb07828 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix: Fix README: add Maven dependency info

parent ea1b7c0e
No related branches found
No related tags found
No related merge requests found
Pipeline #32909 failed
...@@ -26,3 +26,41 @@ Duniter4j is a Java Toolkit for [Duniter](http://duniter.org). ...@@ -26,3 +26,41 @@ Duniter4j is a Java Toolkit for [Duniter](http://duniter.org).
- `duniter4j-core-shared`: A set of useful classes, used by other modules. - `duniter4j-core-shared`: A set of useful classes, used by other modules.
- `duniter4j-core-client`: [a Java API](./src/site/markdown/Java_API.md) to help Java developers to communicate with a Duniter network. - `duniter4j-core-client`: [a Java API](./src/site/markdown/Java_API.md) to help Java developers to communicate with a Duniter network.
- `duniter4j-client`: [a command line tool](./src/site/markdown/CLI.md), to execute basic operation on a Duniter currency: transfer, view peers, ... - `duniter4j-client`: [a command line tool](./src/site/markdown/CLI.md), to execute basic operation on a Duniter currency: transfer, view peers, ...
## Build from sources
- Install Apache Maven (3.1.1+)
- Run the build command:
```bash
mvn install
```
## Use as Maven dependency
```xml
<dependencies>
<!-- Duniter4j dependency -->
<dependency>
<groupId>org.duniter</groupId>
<artifactId>duniter4j-core-client</artifactId>
<version>x.y.z</version> <!-- -->
</dependency>
</dependencies>
<!-- Duniter4j repository -->
<repositories>
<repository>
<id>duniter4j-public-group</id>
<url>https://nexus.e-is.pro/nexus/content/groups/duniter4j</url>
</repository>
</repositories>
```
## Create a new release
```bash
./release.sh
```
\ No newline at end of file
...@@ -28,6 +28,17 @@ if [[ $? -ne 0 ]]; then ...@@ -28,6 +28,17 @@ if [[ $? -ne 0 ]]; then
fi fi
echo "Prepare release [OK]" echo "Prepare release [OK]"
echo "**********************************"
echo "* Performing release..."
echo "**********************************"
mvn release:perform --quiet -Darguments="${RELEASE_OPTS}"
if [[ $? -ne 0 ]]; then
exit 1
fi
echo "Perform release [OK]"
echo "**********************************" echo "**********************************"
echo "* Compiling sources..." echo "* Compiling sources..."
echo "**********************************" echo "**********************************"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment