File tree 1 file changed +1
-42
lines changed
1 file changed +1
-42
lines changed Original file line number Diff line number Diff line change 1
1
# jbock-maven-example
2
2
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
-
43
3
```` sh
44
- ./mvnw clean package
45
- ./mvnw dependency:copy-dependencies -DincludeScope=runtime
4
+ ./mvnw clean package dependency:copy-dependencies -DincludeScope=runtime
46
5
./cp --help
47
6
./cp 1 -s2 2
48
7
````
You can’t perform that action at this time.
0 commit comments