Skip to content

Commit

Permalink
Moved Maven-based AppModelResolver implementation to quarkus-bootstra…
Browse files Browse the repository at this point in the history
…p-maven-resolver
  • Loading branch information
aloubyansky committed Jun 10, 2020
1 parent 10f3b66 commit 124a512
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 12 deletions.
11 changes: 10 additions & 1 deletion bom/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@
</dependency>

<!-- Quarkus core dependencies -->

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-app-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-resolver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
Expand Down
1 change: 1 addition & 0 deletions core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<parentFirstArtifact>org.ow2.asm:asm</parentFirstArtifact>
<parentFirstArtifact>org.ow2.asm:asm-commons</parentFirstArtifact>
<parentFirstArtifact>org.apache.maven:maven-model</parentFirstArtifact>
<parentFirstArtifact>org.codehaus.plexus:plexus-utils</parentFirstArtifact>
<!--
This is a temporary fix, we need a better way to be able to
add these exclusions outside the quarkus-extension.properties file.
Expand Down
4 changes: 0 additions & 4 deletions devtools/platform-descriptor-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devtools-common</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom-descriptor-json</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package io.quarkus.bootstrap;

import io.quarkus.bootstrap.resolver.maven.BootstrapMavenException;

/**
*
* @author Alexey Loubyansky
*/
public class BootstrapDependencyProcessingException extends BootstrapException {
public class BootstrapDependencyProcessingException extends BootstrapMavenException {

/**
*
Expand Down
3 changes: 1 addition & 2 deletions independent-projects/tools/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
<scope>provided</scope>
<artifactId>quarkus-bootstrap-maven-resolver</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
<scope>provided</scope>
<artifactId>quarkus-bootstrap-maven-resolver</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand All @@ -41,7 +40,6 @@
<artifactId>quarkus-bootstrap-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
<version>${quarkus.version}</version>
</dependency>
</dependencies>
</project>
9 changes: 8 additions & 1 deletion independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
<artifactId>quarkus-bootstrap-maven-resolver</artifactId>
<version>${quarkus.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -152,6 +152,13 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
<version>${quarkus.version}</version>
</dependency>
<!-- Jackson dependencies, imported as a BOM -->
<dependency>
<groupId>com.fasterxml.jackson</groupId>
Expand Down
21 changes: 21 additions & 0 deletions integration-tests/kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
<name>Quarkus - Integration Tests - Kotlin</name>

<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-kotlin-deployment</artifactId>
Expand All @@ -39,6 +50,16 @@
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
21 changes: 21 additions & 0 deletions integration-tests/scala/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,27 @@
<artifactId>quarkus-test-maven</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 124a512

Please sign in to comment.