Skip to content

Commit

Permalink
Add history
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgiraud committed Sep 13, 2023
1 parent 28e2754 commit e760453
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ update-version:
! grep -Eq "^## ${VERSION}\b" CHANGELOG.md && echo "No information about this version in CHANGELOG.md. Add an entry in CHANGELOG.md!" && exit 1
@echo "Modify version in doc/VERSION"
@echo "$(VERSION)" > doc/VERSION
mvn -B -DnewVersion=v$(cat doc/VERSION) -DgenerateBackupPoms=false versions:set

.PHONY: archive
archive: lib/$(REPOSITORY_NAME).jar
Expand Down
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,29 @@ Methods :

## integration

of the version `v0.0.22`
### Download the jar

```bash
mvn install:install-file -Dfile=jlinenoise.jar -DgroupId=com.github.jfgiraud -DartifactId=jlinenoise -Dversion=v0.0.22 -Dpackaging=jar -DgeneratePom=true
```

### Install the jar in your .m2 repository

```bash
mvn install:install-file -Dfile=jlinenoise.jar -DgroupId=com.github.jfgiraud -DartifactId=jlinenoise -Dversion=v0.0.22 -Dpackaging=jar -DgeneratePom=true
```

### pom.xml

Introduce the new repository and the dependency in your `pom.xml`
Introduce the dependency in your `pom.xml`

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.github.jfgiraud</groupId>
<artifactId>jlinenoise</artifactId>
<version>v0.0.13</version>
</dependency>
</dependencies>
<dependency>
<groupId>com.github.jfgiraud</groupId>
<artifactId>jlinenoise</artifactId>
<version>v0.0.22</version>
</dependency>
```

### code example
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.jfgiraud</groupId>
<artifactId>jlinenoise</artifactId>
<version>v0.0.16</version>
<version>v0.0.22</version>
<packaging>jar</packaging>

<distributionManagement>
Expand Down

0 comments on commit e760453

Please sign in to comment.