Maven project itself is still publishing its HTML website with svn exactly because of this aggregation need = something that is natural with svn, not with Git
= https://maven.apache.org/developers/website/index.html[1] And we'll continue like this for the foreseeable future, as we have ~80 sites to aggregate if we limit to LATEST, much more if we keep history as we currently do In your case, with only 5 sub-project then 5 LATEST sites to aggregate, Git may be an option if you wish. But you'll have to improve maven-scm-publish-plugin, as it was never worked on => https://github.com/apache/maven-scm-publish-plugin/[2] as you can see, code is not that big I suppose this will require an additional parameter to not update root of the checked out content, but one subdir Regards, Hervé Le mercredi 5 mars 2025, 15:40:30 CET robertlazarski a écrit : > All, > > I help maintain the Apache Axis project which has about 5 subprojects and > we depend on committing a directory on called core-staging that builds > https://axis.apache.org/ for a release vote for the subproject Axis2 that > you can see here: > > https://github.com/apache/axis-site/tree/master/axis2/java/core-staging/ > > URL for the release vote, manually committed by copying files from the > build output dir to the site repo: > > https://axis.apache.org/axis2/java/core-staging/ > > This was our URL previously for svn in the Axis2 pom.xml: > > <distributionManagement> > <site> > <id>site</id> > <url>scm:svn:https://svn.apache.org/repos/asf/axis/site/ax > is2/java/core-staging</url> > </site> > </distributionManagement> > > This is what it is for git below, but I don't know how to specify a remote > relative path to core-staging via git. > > https://github.com/apache/axis-axis2-java-core/blob/master/pom.xml > > <distributionManagement> > <site> > <id>site</id> > <url>scm:git:https://gitbox.apache.org/repos/asf/axis-site > .git</url> > </site> > </distributionManagement> > > That results in committing everything at the base of the repo but we need > to commit to core staging. Best I can tell, although we are hosted on > GitHub we still have to use gitbox as an Apache project for the scm URL in > the pom.xml. > > After "mvn release:perform" , we follow these steps but somehow it needs to > commit to the core-staging dir but as is, it will commit to the root folder > of the repo. > > Any ideas on how to commit to the core-staging dir? > > Axis2 release docs, after 'mvn release:perform': > > 6. Change to the `target/checkout` directory and prepare the site using the > following commands: > > mvn site-deploy > mvn scm-publish:publish-scm -Dscmpublish.skipCheckin=true > > Now go to the `target/scmpublish-checkout` directory (relative to > `target/checkout`) and check that there > are no unexpected changes to the site. Then commit the changes. -------- [1] https://maven.apache.org/developers/website/index.html [2] https://github.com/apache/maven-scm-publish-plugin/