Skip to content

installAtEnd broken with multimodule with packaging pom #367

@irbian

Description

@irbian

Affected version

3.1.4

Bug description

I´m getting this error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.2:install (default-install) on project myproject: The packaging plugin for project myproject-parent did not assign a file to the build artifact -> 
[Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.2:install (default-install) on project myproject: The packaging plugin for project myproject-parent did not assign a file to the build artifact at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:333) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute 

I have it like this, like a multimodule

myproject (packing pom)

  • myproject-parent/pom.xml (packaging pom)
  • myproject-web/pom.xml (packaging war)

I´m getting this bug since upgrading to maven 3.9.x

I can workaround around this doing an skip install for myproject and myproject-parent or dropping installAtEnd

Any input appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions