8000 Additional Quarkus devtools dependencies in distribution by mabartos · Pull Request #40458 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Additional Quarkus devtools dependencies in distribution #40458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions quarkus/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions quarkus/dist/check-dev-dependencies.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 31 additions & 0 deletions quarkus/dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
0