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

Site published via scm-publish:publish-scm leads to incorrect folder structure #95

Open
kwin opened this issue Feb 2, 2025 · 4 comments

Comments

@kwin
Copy link
Contributor

kwin commented Feb 2, 2025

The generated site published via scm-publish:publish-scm leads to an incorrect folder structure within the gh-pages branch (for example at 2a2ea12).

The top level folders scm:git:[email protected]:codehaus-plexus/plexus-sec-dispatcher.git are incorrect. The scm-publish-maven-plugin configuration needs to be fixed.

@kwin
Copy link
Contributor Author

kwin commented Feb 2, 2025

Attached is the log of the broken execution: maven-scm-publish-plugin.log

@kwin
Copy link
Contributor Author

kwin commented Feb 3, 2025

Seems to be an issue of the maven-scm-publish-plugin: https://issues.apache.org/jira/browse/MSCMPUB-71

@kwin
Copy link
Contributor Author

kwin commented Feb 4, 2025

This is caused by the distributionManagement->site->url (which is used for site:stage). It is not the maven-scm-publish-plugin to blame here, but rather the incorrect configuration of site:stage which leads to the following folder structure target/staging/scm:git:[email protected]:codehaus-plexus/plexus-sec-dispatcher.git/....

@kwin
Copy link
Contributor Author

kwin commented Feb 4, 2025

Tracked in codehaus-plexus/plexus-pom#333 now.

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

No branches or pull requests

1 participant