File tree 1 file changed +25
-14
lines changed
spring-cloud-gateway-server-mvc
1 file changed +25
-14
lines changed Original file line number Diff line number Diff line change 147
147
</dependency >
148
148
</dependencies >
149
149
150
- <build >
151
- <plugins >
152
- <plugin >
153
- <groupId >org.apache.maven.plugins</groupId >
154
- <artifactId >maven-surefire-plugin</artifactId >
155
- <configuration >
156
- <systemPropertyVariables >
157
- <!-- TODO: github actions fails with restricted header host -->
158
- <jdk .httpclient.allowRestrictedHeaders>host</jdk .httpclient.allowRestrictedHeaders>
159
- </systemPropertyVariables >
160
- </configuration >
161
- </plugin >
162
- </plugins >
163
- </build >
150
+ <profiles >
151
+ <profile >
152
+ <id >github_actions</id >
153
+ <!-- TODO: github actions fails with restricted header host -->
154
+ <activation >
155
+ <property >
156
+ <name >env.GITHUB_ACTIONS</name >
157
+ <value >true</value >
158
+ </property >
159
+ </activation >
160
+ <build >
161
+ <plugins >
162
+ <plugin >
163
+ <groupId >org.apache.maven.plugins</groupId >
164
+ <artifactId >maven-surefire-plugin</artifactId >
165
+ <configuration >
166
+ <systemPropertyVariables >
167
+ <jdk .httpclient.allowRestrictedHeaders>host</jdk .httpclient.allowRestrictedHeaders>
168
+ </systemPropertyVariables >
169
+ </configuration >
170
+ </plugin >
171
+ </plugins >
172
+ </build >
173
+ </profile >
174
+ </profiles >
164
175
</project >
You can’t perform that action at this time.
0 commit comments