mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Additional Quarkus devtools dependencies in distribution (#40458)
Closes #39227 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
parent
cde47667fd
commit
8a5d1a1282
@ -34,6 +34,10 @@
|
||||
<groupId>org.eclipse.sisu</groupId>
|
||||
<artifactId>org.eclipse.sisu.inject</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-utilities</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@ -76,6 +80,36 @@
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-codestarts</artifactId>
|
||||
</exclusion>
|
||||
<!-- Exclude transitive dependencies for 'io.quarkus:quarkus-devtools-common' BEGIN -->
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-registry-client</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-utilities</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-base-codestarts</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.codejive</groupId>
|
||||
<artifactId>java-properties</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-compress</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.smallrye.common</groupId>
|
||||
<artifactId>smallrye-common-version</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||
<artifactId>jackson-dataformat-yaml</artifactId>
|
||||
</exclusion>
|
||||
<!-- Exclude transitive dependencies for 'io.quarkus:quarkus-devtools-common' END -->
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@ -98,6 +132,10 @@
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devservices-deployment</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-agroal-dev</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@ -195,6 +233,12 @@
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-junit5-internal</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-devtools-utilities</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.quarkus</groupId>
|
||||
|
||||
5
quarkus/dist/check-dev-dependencies.sh
vendored
Executable file
5
quarkus/dist/check-dev-dependencies.sh
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if mvn dependency:tree -Dverbose | grep -E '(-dev:|-devtools-)'; then
|
||||
echo "[WARNING] Detected development dependencies in the build tree."
|
||||
fi
|
||||
31
quarkus/dist/pom.xml
vendored
31
quarkus/dist/pom.xml
vendored
@ -111,4 +111,35 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>check-dev-dependencies</id>
|
||||
<activation>
|
||||
<os>
|
||||
<family>unix</family>
|
||||
</os>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>warn-on-dev-dependencies</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>${project.basedir}/check-dev-dependencies.sh</executable>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user