Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl committed Mar 17, 2024
1 parent 9abda6c commit 47e0bf3
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ If you are using Maven, add the below dependency to your pom.xml:
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
```

If you are using Gradle, add the below dependency to your build.gradle file:

```groovy
compile group: 'net.codecrete.usb', name: 'java-does-usb', version: '1.0.0-SNAPSHOT'
compile group: 'net.codecrete.usb', name: 'java-does-usb', version: '1.0.0'
```

```java
Expand Down
2 changes: 1 addition & 1 deletion examples/bulk_transfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ mvn compile exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< net.codecrete.usb.examples:bulk-transfer >--------------
[INFO] Building bulk-transfer 1.0.0-SNAPSHOT
[INFO] Building bulk-transfer 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ bulk-transfer ---
Expand Down
4 changes: 2 additions & 2 deletions examples/bulk_transfer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>bulk-transfer</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>bulk-transfer</name>
<url>https://github.com/manuelbl/JavaDoesUSB/examples/bulk_transfer</url>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/enumerate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $ mvn compile exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< net.codecrete.usb.examples:enumerate >----------------
[INFO] Building enumerate 1.0.0-SNAPSHOT
[INFO] Building enumerate 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ enumerate ---
Expand Down
4 changes: 2 additions & 2 deletions examples/enumerate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>enumerate</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>enumerate</name>
<url>https://github.com/manuelbl/JavaDoesUSB/examples/enumerate</url>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/enumerate_kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ mvn clean package
### Run the jar

```shell
$ java --enable-native-access=ALL-UNNAMED -jar target/enumerate-1.0.0-SNAPSHOT-jar-with-dependencies.jar
$ java --enable-native-access=ALL-UNNAMED -jar target/enumerate-1.0.0-jar-with-dependencies.jar
Device:
VID: 0xcafe
PID: 0xceaf
Expand Down
4 changes: 2 additions & 2 deletions examples/enumerate_kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>enumerate</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>enumerate</name>
Expand Down Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
Expand Down
4 changes: 2 additions & 2 deletions examples/epaper_display/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ mvn compile exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< net.codecrete.usb.examples:epaper-display >--------------
[INFO] Building epaper-display 1.0.0-SNAPSHOT
[INFO] Building epaper-display 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ epaper-display ---
Expand Down Expand Up @@ -79,6 +79,6 @@ $ sudo -i
Password:
$ cd /Users/me/Documents/JavaDoesUSB/examples/epaper_display
$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-20.jdk/Contents/Home
$ $JAVA_HOME/bin/java --enable-native-access=ALL-UNNAMED -cp target/classes:/Users/me/.m2/repository/net/codecrete/usb/java-does-usb/1.0.0-SNAPSHOT/java-does-usb-1.0.0-SNAPSHOT.jar net.codecrete.usb.examples.EPaperDisplay
$ $JAVA_HOME/bin/java --enable-native-access=ALL-UNNAMED -cp target/classes:/Users/me/.m2/repository/net/codecrete/usb/java-does-usb/1.0.0/java-does-usb-1.0.0.jar net.codecrete.usb.examples.EPaperDisplay
Display size: 1200 x 825
```
4 changes: 2 additions & 2 deletions examples/epaper_display/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>epaper-display</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>epaper-display</name>
<url>https://github.com/manuelbl/JavaDoesUSB/examples/epaper_display</url>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ mvn compile exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< net.codecrete.usb.examples:monitor >-----------------
[INFO] Building monitor 1.0.0-SNAPSHOT
[INFO] Building monitor 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ monitor ---
Expand Down
4 changes: 2 additions & 2 deletions examples/monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>monitor</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>monitor</name>
<url>https://github.com/manuelbl/JavaDoesUSB/examples/monitor</url>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/monitor_kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ mvn clean package
### Run the jar

```shell
$ java --enable-native-access=ALL-UNNAMED -jar target/monitor-1.0.0-SNAPSHOT-jar-with-dependencies.jar
$ java --enable-native-access=ALL-UNNAMED -jar target/monitor-1.0.0-jar-with-dependencies.jar
Present: VID: 0x1d6b, PID: 0x0002, manufacturer: Linux 6.5.0-18-generic xhci-hcd, product: xHCI Host Controller, serial: 0000:00:14.0, ID: /dev/bus/usb/001/001
Present: VID: 0xcafe, PID: 0xceaf, manufacturer: JavaDoesUSB, product: Loopback, serial: 35A737883336, ID: /dev/bus/usb/001/009
Monitoring... Press ENTER to quit.
Expand Down
4 changes: 2 additions & 2 deletions examples/monitor_kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>monitor</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>monitor</name>
Expand Down Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.tinylog</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/stm_dfu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Run the command below (adapting the file path depending on your specific board):

```shell
$ mvn package
$ java --enable-native-access=ALL-UNNAMED -jar target/stm_dfu-1.0.0-SNAPSHOT.jar ../../test-devices/loopback-stm32/bin/blackpill-f401cc.bin
$ java --enable-native-access=ALL-UNNAMED -jar target/stm_dfu-1.0.0.jar ../../test-devices/loopback-stm32/bin/blackpill-f401cc.bin
DFU device found with serial 35A737883336.
Target memory segment: Internal Flash
Erasing page at 0x8000000 (size 0x4000)
Expand Down
4 changes: 2 additions & 2 deletions examples/stm_dfu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.codecrete.usb.examples</groupId>
<artifactId>stm_dfu</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>stm_dfu</name>
<url>https://github.com/manuelbl/JavaDoesUSB/examples/stm_dfu</url>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion java-does-usb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<properties>
<maven.compiler.source>22</maven.compiler.source>
Expand Down

0 comments on commit 47e0bf3

Please sign in to comment.