You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Kolotyluk <er...@gmail.com> on 2014/04/04 17:42:16 UTC

Re: Problems with com.github.github:site-maven-plugin:0.9:site

OK, the problem was in

   <scm>
<url>https://github.com/kolotyluk/java-file-utilities.git</url>
<connection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</connection>
<developerConnection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</developerConnection>
     <tag>HEAD</tag>
   </scm>

where <url> had .git in it. The fix was

   <scm>
<url>https://github.com/kolotyluk/java-file-utilities</url>
<connection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</connection>
<developerConnection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</developerConnection>
     <tag>HEAD</tag>
   </scm>

Cheers, Eric

On 3/20/2014 10:34 AM, Eric Kolotyluk wrote:
> I copied what you had in your pom.xml, but I still get the same error.
>
>   [ERROR] Failed to execute goal 
> com.github.github:site-maven-plugin:0.9:site (default) on project 
> java-file-utilities: Error creating blob: Not Found (404) -> [Help 1]
>
> What does your settings.xml look like?
>
> Mine is:
>
>     <server>
>       <id>github</id>
>       <username>kolotyluk</username>
>       <password>/secret/</password>
>     </server>
>
> Is there some other configuration/setup that needs to be done. Does 
> the gh-pages branch need to be created manually first, or should the
> plug-in do that automatically?
>
> Cheers, Eric
>
> On 3/20/2014 9:48 AM, Manfred Moser wrote:
>> I got a working setup for the release profile in the android maven plugin code.
>>
>> Check it out
>>
>> https://github.com/jayway/maven-android-plugin
>>
>>
>>
>> Benson Margulies wrote on 19.03.2014 19:20:
>>
>>> Best ask them. This is a product of github, not the Apache Maven Project.
>>>
>>> On Wed, Mar 19, 2014 at 7:32 PM, Eric Kolotyluk
>>> <er...@gmail.com>  wrote:
>>>> I configured things according tohttps://github.com/github/maven-plugins
>>>>
>>>> But when I try to run 'mvn site' I get the following errors.
>>>>
>>>> Does the gh-pages branch need to be created manually first, or should the
>>>> plug-in do that automatically? Or am I chasing some other type of error.
>>>>
>>>> Cheers, Eric
>>>>
>>>> [ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.9:site
>>>> (default) on project java-file-utilities: Error creating blob: Not Found
>>>> (404) -> [Help 1]
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>>>> goal com.github.github:site-maven-plugin:0.9:site (default) on project
>>>> java-file-utilities: Error creating blob: Not Found (404)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>>>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>>>          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>>>          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>          at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>          at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>          at java.lang.reflect.Method.invoke(Method.java:606)
>>>>          at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>>>          at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>>          at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>>>>          at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating
>>>> blob: Not Found (404)
>>>>          at
>>>> com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:289)
>>>>          at com.github.maven.plugins.site.SiteMojo.execute(SiteMojo.java:352)
>>>>          at
>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>>>>          at
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>>>          ... 19 more
>>>> Caused by: org.eclipse.egit.github.core.client.RequestException: Not Found
>>>> (404)
>>>>          at
>>>> org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
>>>>          at
>>>> org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
>>>>          at
>>>> org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
>>>>          at
>>>> org.eclipse.egit.github.core.service.DataService.createBlob(DataService.java:115)
>>>>          at
>>>> com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:285)
>>>>          ... 22 more
>>>> [ERROR]
>>>> [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/MojoExecutionException
>>>> D:\Users\Eric\Software\Project\Repositories\java-file-utilities>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail:users-help@maven.apache.org
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail:users-help@maven.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:users-unsubscribe@maven.apache.org
>> For additional commands, e-mail:users-help@maven.apache.org
>>
>