Skip to content

Unknown packaging: helm #406

@papanito

Description

@papanito

This is my pom

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>com.example.devops</groupId>
  <artifactId>example</artifactId>
  <version>0.1.0-SNAPSHOT</version>
  <name>${project.artifactId}</name>
  
  <packaging>helm</packaging>

  <build>
    <plugins>
      <!-- download the helm binary-->
      <plugin>
        <groupId>io.kokuwa.maven</groupId>
        <artifactId>helm-maven-plugin</artifactId>
        <configuration>
          <addDefaultRepo>false</addDefaultRepo>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

According to the documentation packaging set to helm should work but I get

╰─ mvn install                                                                                                                      ─╯ 
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/cygdrive/c/Users/papanito//.config/java
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for io.kokuwa.maven:helm-maven-plugin is missing. @ line 28, column 15
[ERROR] Unknown packaging: helm @ line 16, column 14
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.example.devops:example0.1.0-SNAPSHOT (D:\workspace\k8s\falcon-shra\pom.xml) has 1 error
[ERROR]     Unknown packaging: helm @ line 16, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions