-
Notifications
You must be signed in to change notification settings - Fork 22
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
Problem with wagon-gitsite #10
Comments
There are two things that tend to cause people trouble with this plugin and I hope to fix both of them in the future. 1) You have to set your username to "git" in your settings.xml for the profile you use, and 2) you have to have manually created the gh-pages branch on github's site already using the instructions at http://pages.github.com. There's no reason the plugin couldn't create the branch, but I haven't done it yet. I'm not sure about forcing the username. Could one of those be the issue? See how I have it configured in https://github.com/khuxtable/tracking-robot, for probably the simplest case. (I'm only pushing documentation in Maven. The build is done via Eclipse's Arduino plugin.) |
I should add that I'm still using Maven 2.2.1, but I think this should work in 3.0.3. |
Hi Kathryn, I had the gh-pages branch before and simple created my site by doing the following: mvn clean site git checkout gh-pages cp -r target/site/** . git add . git commit -a -v git push May be i have to go a different way... |
No, that should have worked, I think. I'll investigate. |
So i have create a separate git repository from scratch to exclude some problems with my original repository or my git repository or my setup......but i get the same behavior in that repository (https://github.com/khmarbaise/wagon-site)... |
Having the same problem in my own repo.
(Reproducible outside Maven.) Changing the URL to (I did have
in my ~/.m2/settings.xml as seems to be recommended.) |
Necropost: I've experienced the same issue (jenkinsci/winp#16). To resolve it, I've added github-pages id to settings.xml. The deployment was successfull after the clean build.
|
Hi,
i'm trying your wagon-gitsite plugin in Maven...but at the moment i'm not sure if i'm doing something wrong or whatever...I've configured the plugin as described on the page, but get the following results:
The code of that project is available under https://github.com/khmarbaise/maui ...
I've tried with Maven 2.2.1 and Maven 3.0.3 ?
I'm a little bit confused, cause on that repository i can do changes and push the changes back to github without any problem...
May be you have an idea and can enlighten me a bit ...;-)
Kind regards
Karl Heinz
The text was updated successfully, but these errors were encountered: