Publishing Mache Client to MavenLocal gives pom is invalid error
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 59
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the :versions:v1_21_4:generatePomFileForMachePublication and publishMachePublicationToMavenLocal tasks, rerunning the publish task with --stacktrace as suggested. Inspect the generated POM and the fuller failure output to identify why Maven considers it invalid; done means publishing the Mache publication to MavenLocal succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100