You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maximilian Novikov (Jira)" <ji...@apache.org> on 2023/04/17 06:43:00 UTC

[jira] [Commented] (MBUILDCACHE-50) Unsupported phase: null with dependency:analyze in multimodule project

    [ https://issues.apache.org/jira/browse/MBUILDCACHE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712917#comment-17712917 ] 

Maximilian Novikov commented on MBUILDCACHE-50:
-----------------------------------------------

i think this fixes the issue [https://github.com/apache/maven-build-cache-extension/pull/30,] should be in the next release

> Unsupported phase: null with dependency:analyze in multimodule project
> ----------------------------------------------------------------------
>
>                 Key: MBUILDCACHE-50
>                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-50
>             Project: Maven Build Cache Extension
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: Windows 10 x64
> Maven 3.9.1
> Java 20 (Eclipse Adoptium)
>            Reporter: Thorsten Heit
>            Priority: Major
>         Attachments: pomtest.tar.bz2
>
>
> Executing {{"mvn dependency:analyze"}} results in an error message "Unsupported phase: null" when the first submodule of a multimodule project is being analyzed.
> I've attached a very simple project that can be used to demonstrate the behaviour: As long as the {{.mvn}} folder exists and the build cache extension is active, executing {{"mvn dependency:analyze"}} or {{"mvn dependency:3.5.0:analyze"}} don't work. Rename the folder => works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)