Skip to content

Commit

Permalink
Merge pull request #12279 from aloubyansky/build-tree-for-pom
Browse files Browse the repository at this point in the history
build-tree mojo should take the POM artifact as the root instead of the JAR
  • Loading branch information
geoand authored Sep 24, 2020
2 parents 6f9d89a + f9081bf commit 29083b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public class AbstractTreeMojo extends AbstractMojo {

@Override
public void execute() throws MojoExecutionException, MojoFailureException {
final AppArtifact appArtifact = new AppArtifact(project.getGroupId(), project.getArtifactId(), project.getVersion());
final AppArtifact appArtifact = new AppArtifact(project.getGroupId(), project.getArtifactId(), null, "pom",
project.getVersion());
final BootstrapAppModelResolver modelResolver;
try {
modelResolver = new BootstrapAppModelResolver(resolver());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[info] io.quarkus.bootstrap.test:test-app:jar:1
[info] io.quarkus.bootstrap.test:test-app:pom:1
[info] ├─ io.quarkus.bootstrap.test:artifact-with-classifier:jar:classifier:1 (compile)
[info] ├─ io.quarkus.bootstrap.test:test-ext2-deployment:jar:1 (compile)
[info] │ ├─ io.quarkus.bootstrap.test:test-ext2:jar:1 (compile)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[info] io.quarkus.bootstrap.test:test-app:jar:1
[info] io.quarkus.bootstrap.test:test-app:pom:1
[info] ├─ io.quarkus.bootstrap.test:artifact-with-classifier:jar:classifier:1 (compile)
[info] ├─ io.quarkus.bootstrap.test:test-ext2-deployment:jar:1 (compile)
[info] │ ├─ io.quarkus.bootstrap.test:test-ext2:jar:1 (compile)
Expand Down

0 comments on commit 29083b6

Please sign in to comment.