Skip to content

Commit 349dd8d

Browse files
committed
Add logging in failure case
1 parent daa3df6 commit 349dd8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

independent-projects/extension-maven-plugin/src/main/java/io/quarkus/maven/ExtensionDescriptorMojo.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,13 @@ private Scm getScm() {
705705
Scm scm = null;
706706
final Artifact artifact = project.getArtifact();
707707
LocalProject localProject = workspaceProvider.getProject(artifact.getGroupId(), artifact.getArtifactId());
708+
709+
if (localProject == null) {
710+
final Log log = getLog();
711+
log.warn("Workspace provider could not resolve local project for " + artifact.getGroupId() + ":"
712+
+ artifact.getArtifactId());
713+
}
714+
708715
while (scm == null && localProject != null) {
709716
scm = localProject.getRawModel().getScm();
710717
localProject = localProject.getLocalParent();

0 commit comments

Comments
 (0)