File tree 5 files changed +38
-8
lines changed
5 files changed +38
-8
lines changed Original file line number Diff line number Diff line change 42
42
run : mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
43
43
- name : Test Native
44
44
working-directory : ${{matrix.module}}
45
- run : mvn --no-transfer-progress -Pnative test
45
+ run : mvn --no-transfer-progress -Pnative -P'!arch-test' test
46
46
47
47
test-native-ssl :
48
48
timeout-minutes : 20
81
81
run : mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
82
82
- name : Test Native
83
83
working-directory : ${{matrix.module}}
84
- run : mvn --no-transfer-progress -Pnative -Dgroups=ssl -DSslTest=true test
84
+ run : mvn --no-transfer-progress -Pnative -P'!arch-test' - Dgroups=ssl -DSslTest=true test
Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ mvn test
56
56
``` shell
57
57
mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
58
58
cd driver
59
- mvn -Pnative test
59
+ mvn -Pnative -P ' !arch-test ' test
60
60
```
61
61
62
62
63
63
## test native shaded
64
64
``` shell
65
65
mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
66
66
cd integration-tests
67
- mvn -Pnative test
67
+ mvn -Pnative -P ' !arch-test ' test
68
68
```
69
69
70
70
Original file line number Diff line number Diff line change 71
71
</plugins >
72
72
</build >
73
73
</profile >
74
+ <profile >
75
+ <id >arch-test</id >
76
+ <activation >
77
+ <activeByDefault >true</activeByDefault >
78
+ </activation >
79
+ <dependencies >
80
+ <dependency >
81
+ <groupId >com.tngtech.archunit</groupId >
82
+ <artifactId >archunit-junit5</artifactId >
83
+ </dependency >
84
+ </dependencies >
85
+ <build >
86
+ <plugins >
87
+ <plugin >
88
+ <groupId >org.codehaus.mojo</groupId >
89
+ <artifactId >build-helper-maven-plugin</artifactId >
90
+ <version >3.3.0</version >
91
+ <executions >
92
+ <execution >
93
+ <phase >generate-test-sources</phase >
94
+ <goals >
95
+ <goal >add-test-source</goal >
96
+ </goals >
97
+ <configuration >
98
+ <sources >
99
+ <source >${project.basedir} /src/arch-test/java</source >
100
+ </sources >
101
+ </configuration >
102
+ </execution >
103
+ </executions >
104
+ </plugin >
105
+ </plugins >
106
+ </build >
107
+ </profile >
74
108
</profiles >
75
109
76
110
<build >
194
228
<version >2.13.3</version >
195
229
<scope >test</scope >
196
230
</dependency >
197
- <dependency >
198
- <groupId >com.tngtech.archunit</groupId >
199
- <artifactId >archunit-junit5</artifactId >
200
- </dependency >
201
231
</dependencies >
202
232
203
233
</project >
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments