Skip to content

Commit dc0f1ea

Browse files
committed
update readme
1 parent 79ac535 commit dc0f1ea

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

README.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,7 @@
11
# jbock-maven-example
22

3-
Add this dependency:
4-
5-
````xml
6-
<dependency>
7-
<groupId>io.github.jbock-java</groupId>
8-
<artifactId>jbock</artifactId>
9-
<version>5.19</version>
10-
</dependency>
11-
````
12-
13-
Then configure the annotation processor:
14-
15-
````xml
16-
<build>
17-
<plugins>
18-
<plugin>
19-
<groupId>org.apache.maven.plugins</groupId>
20-
<artifactId>maven-compiler-plugin</artifactId>
21-
<configuration>
22-
<annotationProcessorPaths>
23-
<dependency>
24-
<groupId>io.github.jbock-java</groupId>
25-
<artifactId>jbock-compiler</artifactId>
26-
<version>5.19</version>
27-
</dependency>
28-
</annotationProcessorPaths>
29-
</configuration>
30-
</plugin>
31-
</plugins>
32-
</build>
33-
````
34-
35-
Add this to `module-info.java`:
36-
37-
````java
38-
requires net.jbock;
39-
````
40-
41-
### Run it
42-
433
````sh
44-
./mvnw clean package
45-
./mvnw dependency:copy-dependencies -DincludeScope=runtime
4+
./mvnw clean package dependency:copy-dependencies -DincludeScope=runtime
465
./cp --help
476
./cp 1 -s2 2
487
````

0 commit comments

Comments
 (0)