Skip to content

Commit f296518

Browse files
committed
Fix ci
1 parent 45d3ce5 commit f296518

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: ./mvnw clean verify -pl it/java8 -P it-jpms -e --ntp -B
5151
- name: Test Maven 3.2.5 compatibility
5252
working-directory: maven-plugin/it
53-
run: ./mvnw stype:gen -e --ntp -B
53+
run: ./mvnw stype:gen -e -B
5454
- name: Javadoc
5555
run: ./mvnw -P release javadoc:javadoc --ntp -B
5656
- name: Upload generated sources
@@ -96,6 +96,9 @@ jobs:
9696
key: build_maven
9797
- name: Test
9898
run: ./mvnw verify -pl it/java8 -e --ntp -B
99+
- name: Maven Plugin Test
100+
working-directory: maven-plugin/it
101+
run: ./mvnw stype:gen -e -B
99102

100103
client_test:
101104
needs: [build_and_test]

doc/Usage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Add sharedtype dependency:
3434
</dependency>
3535
```
3636

37+
`sharedtype-maven-plugin` requires Maven 3.2.5+.
38+
Annotation processing can also be setup and configured via `maven-compiler-plugin`, see [example](../it/pom.xml).
39+
The advantage of using `sharedtype-maven-plugin` is that no need to execute other annotation processors if there are multiple.
3740
## Usage
3841

3942
### A simple example
@@ -82,8 +85,6 @@ You can also specify individual properties:
8285
See [Default Properties](../processor/src/main/resources/sharedtype-default.properties) for all property entries.
8386

8487
Execution goal `gen` can be bound to a Maven lifecycle phase.
85-
Annotation processing can also be setup and configured via `maven-compiler-plugin`, see [example](../it/pom.xml).
86-
The advantage of using `sharedtype-maven-plugin` is that you don't need to execute other annotation processors if there are multiple.
8788
#### Per annotation options
8889
See Javadoc on [@SharedType](../annotation/src/main/java/online/sharedtype/SharedType.java) for details.
8990

0 commit comments

Comments
 (0)