My bad. Sorry for those annoying commits.
I've tried the solution
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release
It looks like the way is to push site contents in our git repo directly up
to www directory on people.apache.org.
But I still can not successfully deploy the site.
My first step is to disable skiDeploy:
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
- <skipDeploy>true</skipDeploy>
+ <skipDeploy>false</skipDeploy>
</configuration>
Then the first issue I ran into was "Unsupported protocol: 'scm' for site
deployment";
[root@localhost bigtop-site]# (master)$ mvn site:deploy
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Bigtop 0.9.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:3.3:deploy (default-cli) @ bigtop ---
[INFO] Parent project loaded from repository: org.apache:apache:pom:8
[ERROR]
Unsupported protocol: 'scm' for site deployment to
distributionManagement.site.url=scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/.
Currently supported protocols are: scpexe, http, https, file.
Protocols may be added through wagon providers.
For more information, see
http://maven.apache.org/plugins/maven-site-plugin/examples/adding-deploy-protocol.html
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.383s
[INFO] Finished at: Thu Jan 08 08:36:07 UTC 2015
[INFO] Final Memory: 11M/86M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.3:deploy (default-cli) on
project bigtop: Unsupported protocol: 'scm' for site deployment to
distributionManagement.site.url=scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/.
-> [Help 1]
So I added following extensions in the pom.xml to inculde scm plugin:
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-scm</artifactId>
+ <version>2.8</version>
+ </extension>
+ <extension>
+ <groupId>org.apache.maven.scm</groupId>
+ <artifactId>maven-scm-manager-plexus</artifactId>
+ <version>1.5</version>
+ </extension>
+ <extension>
+ <groupId>org.apache.maven.scm</groupId>
+ <artifactId>maven-scm-provider-svnexe</artifactId>
+ <version>1.5</version>
+ </extension>
+ <extension>
But later went into another issue that is "No such provider: 'svn'":
[root@localhost bigtop-site]# (master)$ mvn site:deploy
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Bigtop 0.9.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:3.3:deploy (default-cli) @ bigtop ---
[INFO] Parent project loaded from repository: org.apache:apache:pom:8
[WARNING] No SCM providers configured.
scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/ -
Session: Opened
[INFO] Pushing /root/bigtop-site/target/site
[INFO] >>> to scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/./
Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException:
No such provider: 'svn'.
scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/ -
Session: Disconnecting
scm:svn:
https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/ -
Session: Disconnected
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.039s
[INFO] Finished at: Thu Jan 08 08:43:28 UTC 2015
[INFO] Final Memory: 14M/86M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.3:deploy (default-cli) on
project bigtop: Error uploading site: Error interacting with SCM: No such
provider: 'svn'. -> [Help 1]
Now I don't have solution for this yet.
Roman could you help to check that this is only my environment problem or
not?
Thanks
Evans
2015-01-08 4:01 GMT+08:00 Konstantin Boudnik <[email protected]>:
> Hi Evans.
>
> I see three commits from your:
>
> ------------------------------------------------------------------------
> r1650116 | evansye | 2015-01-07 08:48:36 -0800 (Wed, 07 Jan 2015) | 1 line
>
> Add Evans Ye to the team list
> ------------------------------------------------------------------------
> r1650085 | evansye | 2015-01-07 07:35:39 -0800 (Wed, 07 Jan 2015) | 1 line
>
> sync up svn site's release version to git repo
> ------------------------------------------------------------------------
> r1650010 | evansye | 2015-01-07 00:31:26 -0800 (Wed, 07 Jan 2015) | 1 line
>
> Add Evans Ye to team list
>
> I think we've been following this document here
> https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release
>
> check under "Build and Deploy Site"
>
> Roman, as you've have written the document Evans refers to - could you
> please
> comment if this is till relevant? I honestly am very confused about how
> the sites are supposed to be managed in ASF. All the changes around CMS etc
> are really driving me nuts.
>
> Thanks,
> Cos
>
> On Thu, Jan 08, 2015 at 02:30AM, Evans Ye wrote:
> > Hi bigtop,
> >
> > I was about to update my info on bigtop team list but got no luck.
> > I followed the guide here:
> >
> >
> https://cwiki.apache.org/confluence/display/BIGTOP/Deploying+Bigtop%27s+Apache+Website
> >
> > My local mvn site:run result was perfect, but when I went to update the
> > bigtop svn repo, it looked like the svn repo is out-of-date
> > since 2014-07-29.
> > The production site updated on 2014-12-04 should be the same with bigtop
> > git repo, but has many diff compared to svn repo.
> > I'm wondering is there another way to update our website without going
> > through https://cms.apache.org/bigtop ?
> > Since the production site might not be generated from svn repo.
> >
> > If someone knows how to do that, please give me a hint.
> > I can help to sync up the svn repo as long as it's the right way to go.
> > If the document is out-of-date, too, I can update the document as well.
>