question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maven Plugin logs: spaceKey/ancestorId are missing or invalid

See original GitHub issue

Hi, I try to use confluence-publisher with a 7.4.10 backend and get the message:

[ERROR] Failed to execute goal org.sahli.asciidoc.confluence.publisher:asciidoc-confluence-publisher-maven-plugin:0.14.0:publish (default-cli) on project ms-parent: The parameters 'spaceKey', 'ancestorId' for goal org.sahli.asciidoc
.confluence.publisher:asciidoc-confluence-publisher-maven-plugin:0.14.0:publish are missing or invalid -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sahli.asciidoc.confluence.publisher:asciidoc-confluence-publisher-maven-plugin:0.14.0:publish (default-cli) on project ms-parent: The parameters 'spa
ceKey', 'ancestorId' for goal org.sahli.asciidoc.confluence.publisher:asciidoc-confluence-publisher-maven-plugin:0.14.0:publish are missing or invalid

I’ve verified the correctness of both parameters via the rest api. The doc states only backend of version 6.x has been tested. Am I out of luck? Any chance to get more debugging output (-e -X do not help much)? Should I try the docker image?

Best regards Jörg

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Enteacommented, Feb 16, 2022

Shout out to people finding this issue googling the error: I had the same exact error when I had more than 1 top level asciidoc document and ran the plugin. Once I’ve put other upper level asciidocs into a subfolder, the error vanished, the page got published to confluence and after that I was unable to reproduce the issue by moving nested pages out of the subfolder.

1reaction
cstettlercommented, Aug 25, 2021

I get more sensible messages

@joerg-rade, what do you mean with that? Did you get a better error message, or did publishing the documentation actually woirk?

Btw: please check your example repository https://github.com/joerg-rade/domox, it seems to expose some probably confidential information …

Read more comments on GitHub >

github_iconTop Results From Across the Web

wasHome missing or invalid · Issue #6 - GitHub
This is my configuration. I am using Version. 1.0.11. com.orctom.mojo was-maven-plugin 1.0.11 default-cli install deploy. </goals> ...
Read more >
The parameters 'sourceEncoding' rpm-maven-plugin are ...
The parameters 'sourceEncoding' rpm-maven-plugin are missing or invalid · Can you post the full error output and not only excerpts. – khmarbaise.
Read more >
Maven Surefire Plugin – Using JUnit
This will perform a check and notify you of any invalid tests that will not be run with this version of Surefire (and...
Read more >
Schema Registry Maven Plugin - Confluent Documentation
The reasoning behind this is that the Maven plugin requires subject names be specified as XML elements, but some characters, like slashes, are...
Read more >
Exec Maven Plugin - Running Java Programs from Maven Build
Maven exec plugin allows us to execute system and Java programs from the ... LocalDateTime; public class BuildInfo { public static void ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found