File tree Expand file tree Collapse file tree 5 files changed +38
-8
lines changed Expand file tree Collapse file tree 5 files changed +38
-8
lines changed Original file line number Diff line number Diff line change 4242 run : mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
4343 - name : Test Native
4444 working-directory : ${{matrix.module}}
45- run : mvn --no-transfer-progress -Pnative test
45+ run : mvn --no-transfer-progress -Pnative -P'!arch-test' test
4646
4747 test-native-ssl :
4848 timeout-minutes : 20
8181 run : mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
8282 - name : Test Native
8383 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
5656``` shell
5757mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
5858cd driver
59- mvn -Pnative test
59+ mvn -Pnative -P ' !arch-test ' test
6060```
6161
6262
6363## test native shaded
6464``` shell
6565mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
6666cd integration-tests
67- mvn -Pnative test
67+ mvn -Pnative -P ' !arch-test ' test
6868```
6969
7070
Original file line number Diff line number Diff line change 7171 </plugins >
7272 </build >
7373 </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 >
74108 </profiles >
75109
76110 <build >
194228 <version >2.13.3</version >
195229 <scope >test</scope >
196230 </dependency >
197- <dependency >
198- <groupId >com.tngtech.archunit</groupId >
199- <artifactId >archunit-junit5</artifactId >
200- </dependency >
201231 </dependencies >
202232
203233</project >
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments