Skip to content

Publishing Mache Client to MavenLocal gives pom is invalid error #66

@Pan-cakse

Description

@Pan-cakse

I'm trying to get the Client code for Minecraft and I tried to publish it to MavenLocal and it output a pom is invalid error
`Picked up JAVA_TOOL_OPTIONS: -XX:+UseContainerSupport -XX:ActiveProcessorCount=2

Task :versions:v1_21_4:generateMacheMetadata UP-TO-DATE
Task :versions:v1_21_4:createMacheArtifact UP-TO-DATE
Task :versions:v1_21_4:generateMetadataFileForMachePublication
Task :versions:v1_21_4:generatePomFileForMachePublication
Task :versions:v1_21_4:publishMachePublicationToMavenLocal FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':versions:v1_21_4:publishMachePublicationToMavenLocal'.

Failed to publish publication 'mache' to repository 'mavenLocal'
Invalid publication 'mache': POM file is invalid. Check any modifications you have made to the POM file.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 2s
5 actionable tasks: 3 executed, 2 up-to-date`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions