Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Deploy JavaDoc" step fails #26

Closed
nickhnsn opened this issue Jan 14, 2023 · 2 comments
Closed

"Deploy JavaDoc" step fails #26

nickhnsn opened this issue Jan 14, 2023 · 2 comments
Assignees
Labels

Comments

@nickhnsn
Copy link

nickhnsn commented Jan 14, 2023

Hi there,

I tried to use this GitHub action in order to auto-generate the JavaDocs and publish them via GitHub Pages. Unfortunately, the "Deploy JavaDoc" step fails:

Error:  Failed to execute goal on project spaced-repetition-software: Could not resolve dependencies for project de.nickhansen:spaced-repetition-software:jar:1.0-SNAPSHOT: Could not find artifact de.nickhansen:spaced-repetition-api:jar:1.0-SNAPSHOT -> [Help 1]
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/DependencyResolutionException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :spaced-repetition-software
Error: Process completed with exit code 1.

I cannot locate any error since the "Java CI with Maven" action works correctly (the quoted error does not occur): https://github.com/nickhnsn/facharbeit-spaced-repetition/actions/runs/3920596521/jobs/6702319142
How to fix this issue?

pSub added a commit to pSub/Javadoc-publisher.yml that referenced this issue Feb 3, 2023
Commit e4e88da changes the behaviour
of the Apache javadoc plugin to the standard Maven goal. This works
well for simple maven projects but fails on aggregator projects. This
commit reverts to the old behaviour and uses the goal
`javadoc:aggregate`.

Closes issue MathieuSoysal#26.
@pSub
Copy link
Collaborator

pSub commented Feb 4, 2023

This should work once #28 is merged. In the meantime you can use release 2.0.4 which works as expected. I use this version for dmn-check (Repo and Javadoc).

@MathieuSoysal
Copy link
Owner

MathieuSoysal commented Feb 7, 2023

Thank you for your feedback @nickhnsn !

This is normally fixed in version v2.3.2, if isn't fixed don't hesitate to reopen this issue.

Thank you for your contribution @pSub and @nickhnsn !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants