Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.0.0
    • Component/s: website
    • Labels:
      None

      Activity

      Hide
      oflebbe Olaf Flebbe added a comment - - edited

      Dasha Boudnik Could you please push the change to the website or point me to the info how to do it? many Thanx.

      Show
      oflebbe Olaf Flebbe added a comment - - edited Dasha Boudnik Could you please push the change to the website or point me to the info how to do it? many Thanx.
      Hide
      dasha.boudnik Dasha Boudnik added a comment -

      Here you go: https://cwiki.apache.org/confluence/display/BIGTOP/Deploying+Bigtop%27s+Apache+Website

      I can still push it if you need, but I reckoned you might need the info again in the future, so

      Show
      dasha.boudnik Dasha Boudnik added a comment - Here you go: https://cwiki.apache.org/confluence/display/BIGTOP/Deploying+Bigtop%27s+Apache+Website I can still push it if you need, but I reckoned you might need the info again in the future, so
      Hide
      oflebbe Olaf Flebbe added a comment -
      {mvn site:site}

      gave a ton of error messages for me,

      {mvn site:run}

      was fine, however I did not dare to try

      {mvn site:publish}

      since I would not like to break a thing.

      Could you please run this and the other steps for me? Your help is very appreciated.

      Show
      oflebbe Olaf Flebbe added a comment - {mvn site:site} gave a ton of error messages for me, {mvn site:run} was fine, however I did not dare to try {mvn site:publish} since I would not like to break a thing. Could you please run this and the other steps for me? Your help is very appreciated.
      Hide
      rvs Roman Shaposhnik added a comment -

      Olaf Flebbe I know this is confusing, but you're supposed to use mvn site-deploy (yes, dash, not a colon).

      Show
      rvs Roman Shaposhnik added a comment - Olaf Flebbe I know this is confusing, but you're supposed to use mvn site-deploy (yes, dash, not a colon).
      Hide
      oflebbe Olaf Flebbe added a comment -

      First: The dependencies resolution is broken, I get tons of warning messages. How is this suppose to work?

      ................
      [INFO] Generating "Dependency Management" report    --- maven-project-info-reports-plugin:2.7
      [WARNING] Unable to create Maven project for org.apache.giraph:giraph:pom:1.0.0 from repository.
      org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced for project org.apache.giraph:giraph:pom:1.0.0
      	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:296)
      	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236)
      	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
      	at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:298)
      	at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.getDependencyRow(DependencyManagementRenderer.java:259)
      	at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderDependenciesForScope(DependencyManagementRenderer.java:207)
      	at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderDependenciesForAllScopes(DependencyManagementRenderer.java:156)
      	at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderSectionProjectDependencies(DependencyManagementRenderer.java:149)
      	at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderBody(DependencyManagementRenderer.java:135)
      	at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
      	at org.apache.maven.report.projectinfo.DependencyManagementReport.executeReport(DependencyManagementReport.java:112)
      	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
      	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
      	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
      	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	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:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      	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:290)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
      	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
      	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
      	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
      	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
      	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285)
      	... 37 more
      Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
      	at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
      	at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
      	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
      	... 41 more
      ....................
      

      Second: How is subversion commit supposed to work? Just in case: No, please do not ask me to put my clear text / a clear text equivalent password in any file.

      [INFO] Executing: /bin/sh -c cd /home/olaf/bigtop/target/scmpublish-checkout && svn --non-interactive commit --file /tmp/maven-scm-448215604.commit
      [INFO] Working directory: /home/olaf/bigtop/target/scmpublish-checkout
      [ERROR] Failed to check-in files to SCM: The svn command failed. svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
      svn: E215004: Commit failed (details follow):
      svn: E215004: No more credentials or we tried too many times.
      Authentication failed
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      
      Show
      oflebbe Olaf Flebbe added a comment - First: The dependencies resolution is broken, I get tons of warning messages. How is this suppose to work? ................ [INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.7 [WARNING] Unable to create Maven project for org.apache.giraph:giraph:pom:1.0.0 from repository. org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http: //repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced for project org.apache.giraph:giraph:pom:1.0.0 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:296) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251) at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:298) at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.getDependencyRow(DependencyManagementRenderer.java:259) at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderDependenciesForScope(DependencyManagementRenderer.java:207) at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderDependenciesForAllScopes(DependencyManagementRenderer.java:156) at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderSectionProjectDependencies(DependencyManagementRenderer.java:149) at org.apache.maven.report.projectinfo.dependencies.renderer.DependencyManagementRenderer.renderBody(DependencyManagementRenderer.java:135) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79) at org.apache.maven.report.projectinfo.DependencyManagementReport.executeReport(DependencyManagementReport.java:112) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http: //repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285) ... 37 more Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.giraph:giraph:pom:1.0.0 in http: //repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230) at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427) ... 41 more .................... Second: How is subversion commit supposed to work? Just in case: No, please do not ask me to put my clear text / a clear text equivalent password in any file. [INFO] Executing: /bin/sh -c cd /home/olaf/bigtop/target/scmpublish-checkout && svn --non-interactive commit --file /tmp/maven-scm-448215604.commit [INFO] Working directory: /home/olaf/bigtop/target/scmpublish-checkout [ERROR] Failed to check-in files to SCM: The svn command failed. svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option svn: E215004: Commit failed (details follow): svn: E215004: No more credentials or we tried too many times. Authentication failed [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------
      Hide
      dasha.boudnik Dasha Boudnik added a comment -

      Olaf Flebbe, mvn site:site throws the same errors for me, you can ignore them for these intents and purposes. After running mvn site:site, run mvn site:run and go to your localhost in the browser to view the changes you've made. If you're satisfied with them, push your commit as you normally do, and then just run mvn site-deploy.

      Show
      dasha.boudnik Dasha Boudnik added a comment - Olaf Flebbe , mvn site:site throws the same errors for me, you can ignore them for these intents and purposes. After running mvn site:site, run mvn site:run and go to your localhost in the browser to view the changes you've made. If you're satisfied with them, push your commit as you normally do, and then just run mvn site-deploy.
      Hide
      oflebbe Olaf Flebbe added a comment -

      Sorry to insist: How should I supply credentials ?

      [ERROR] Failed to check-in files to SCM: The svn command failed. svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
      svn: E215004: Commit failed (details follow):
      svn: E215004: No more credentials or we tried too many times.
      Authentication failed

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------

      Show
      oflebbe Olaf Flebbe added a comment - Sorry to insist: How should I supply credentials ? [ERROR] Failed to check-in files to SCM: The svn command failed. svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option svn: E215004: Commit failed (details follow): svn: E215004: No more credentials or we tried too many times. Authentication failed [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------
      Hide
      dasha.boudnik Dasha Boudnik added a comment -

      Olaf Flebbe, it's just your Apache credentials

      Show
      dasha.boudnik Dasha Boudnik added a comment - Olaf Flebbe , it's just your Apache credentials
      Hide
      evans_ye Evans Ye added a comment -

      I didn't try, but I think you might want to checkout the Configure scm-publish plugin section in https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release to setup your credentials.

      Show
      evans_ye Evans Ye added a comment - I didn't try, but I think you might want to checkout the Configure scm-publish plugin section in https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release to setup your credentials.
      Hide
      oflebbe Olaf Flebbe added a comment -

      Sorry, the documentation in confluence regarding svn-settings.xml is plain wrong.

      /home/olaf/.scm/svn-settings.xml isn't well formed. SKIPPED.Unrecognised tag: 'user' (position: START_TAG seen <svn-settings>\n  <user>... @2:9) 
      

      See
      http://maven.apache.org/scm/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/svn-settings.html

      PLEASE HELP! ANYONE !

      The problem is: How to supply credentials to svn? Normally svn asks for credentials if needed for the first time. Checking out from svn does not need credentials, and checking in is with --non-interactive !

      Show
      oflebbe Olaf Flebbe added a comment - Sorry, the documentation in confluence regarding svn-settings.xml is plain wrong. /home/olaf/.scm/svn-settings.xml isn't well formed. SKIPPED.Unrecognised tag: 'user' (position: START_TAG seen <svn-settings>\n <user>... @2:9) See http://maven.apache.org/scm/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/svn-settings.html PLEASE HELP! ANYONE ! The problem is: How to supply credentials to svn? Normally svn asks for credentials if needed for the first time. Checking out from svn does not need credentials, and checking in is with --non-interactive !
      Hide
      dasha.boudnik Dasha Boudnik added a comment -

      Olaf Flebbe Not sure...this is beyond me. Anyone?

      Show
      dasha.boudnik Dasha Boudnik added a comment - Olaf Flebbe Not sure...this is beyond me. Anyone?
      Hide
      oflebbe Olaf Flebbe added a comment - - edited

      This finally fixed it for me:

      http://stackoverflow.com/questions/3618330/what-is-the-format-of-svn-settings-xml-for-use-with-maven-scm-plugin

      --- a/pom.xml
      +++ b/pom.xml
      @@ -492,7 +492,7 @@
         <distributionManagement>
           <site>
             <id>apache.website</id>
      -      <url>scm:svn:https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content</url>
      +      <url>scm:svn:https://oflebbe@svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content</url>
           </site>
         </distributionManagement>
      

      with

      mvn -Dpassword=xxxxxx site-deploy
      
      Show
      oflebbe Olaf Flebbe added a comment - - edited This finally fixed it for me: http://stackoverflow.com/questions/3618330/what-is-the-format-of-svn-settings-xml-for-use-with-maven-scm-plugin --- a/pom.xml +++ b/pom.xml @@ -492,7 +492,7 @@ <distributionManagement> <site> <id>apache.website</id> - <url>scm:svn:https: //svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content</url> + <url>scm:svn:https: //oflebbe@svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content</url> </site> </distributionManagement> with mvn -Dpassword=xxxxxx site-deploy
      Hide
      dasha.boudnik Dasha Boudnik added a comment -

      Yep, I can see your name on the "Who we are" page now. Awesome!

      Show
      dasha.boudnik Dasha Boudnik added a comment - Yep, I can see your name on the "Who we are" page now. Awesome!
      Hide
      oflebbe Olaf Flebbe added a comment -

      I changed the wiki: The Information about the proxy seems incorrect, I did a strike through. Changed the information about scm publishing credentials in the release process since it is plain wrong, I added a link to the stack overflow site explaining how to work around this issue.

      This really, really needs to be improved....

      Show
      oflebbe Olaf Flebbe added a comment - I changed the wiki: The Information about the proxy seems incorrect, I did a strike through. Changed the information about scm publishing credentials in the release process since it is plain wrong, I added a link to the stack overflow site explaining how to work around this issue. This really, really needs to be improved....
      Hide
      kwmonroe Kevin W Monroe added a comment -

      I ran across this when trying to deploy the site today. Rather than update pom.xml with my username, I set a global username in my subversion config. I think I could have also set a global password there, but I used Olaf's method of passing in my password at build time.

      I don't have access to update the wiki just yet, but in case someone else finds this jira from the Deploying Bigtop's Apache Website page, here's what I added at the end of ~/.subversion/servers:

      ...
      [global]
        ...
        username = kwmonroe
      

      With that in place, this worked for me:

      mvn -Dpassword=xxxxxx site-deploy
      
      Show
      kwmonroe Kevin W Monroe added a comment - I ran across this when trying to deploy the site today. Rather than update pom.xml with my username, I set a global username in my subversion config. I think I could have also set a global password there, but I used Olaf's method of passing in my password at build time. I don't have access to update the wiki just yet, but in case someone else finds this jira from the Deploying Bigtop's Apache Website page, here's what I added at the end of ~/.subversion/servers : ... [global] ... username = kwmonroe With that in place, this worked for me: mvn -Dpassword=xxxxxx site-deploy

        People

        • Assignee:
          Unassigned
          Reporter:
          oflebbe Olaf Flebbe
        • Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development