Karl Heinz Marbaise created MNG-7920: ----------------------------------------
Summary: Usage of packaging BOM fails in maven-install-plugin Key: MNG-7920 URL: https://issues.apache.org/jira/browse/MNG-7920 Project: Maven Issue Type: Task Components: Deployment Affects Versions: 4.0.0-alpha-8 Reporter: Karl Heinz Marbaise Fix For: 4.0.0, 4.0.0-alpha-9 Using to use the `bom` packaging in a module it will fail with: {code} [INFO] -------------------------------------------------------------------------------------------------------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project bom: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1] {code} The bom module looks like this: {code:xml} <project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 http://maven.apache.org/maven-v4_1_0.xsd"> <modelVersion>4.1.0</modelVersion> <parent> <groupId>....maven4</groupId> <artifactId>bom-example</artifactId> </parent> <packaging>bom</packaging> <artifactId>bom</artifactId> <dependencyManagement> <dependencies> <dependency> <groupId>...maven4</groupId> <artifactId>mod-1</artifactId> </dependency> <dependency> <groupId>....maven4</groupId> <artifactId>mod-2</artifactId> </dependency> </dependencies> </dependencyManagement> </project> {code} I would assume that I need to upgrade the maven-install-plugin which is capable of handling that...but I assumed that this conversion is done by core? -- This message was sent by Atlassian Jira (v8.20.10#820010)