Hi, (in particular Gilles and Artem)

What was the status of how to do a multi-site publish?  I just tried
now for the Commons RDF 0.3.0 site, and I could not get it to work
properly.


As mentioned in
http://central.maven.org/maven2/org/apache/commons/commons-parent/41/commons-parent-41.pom
I added a <site>to <distributionManagement> using
<url>scm:svn:${commons.scmPubUrl}</url>


Note that as Commons RDF is still in the incubator (watch this space)
it has a slightly different properties:
        
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commonsrdf/content/</commons.scmPubUrl>
        
<commons.scmPubCheckoutDirectory>${project.build.directory}/site-content</commons.scmPubCheckoutDirectory>


But I could not get it to publish the submodule sites correctly.


mvn clean package site-deploy

  overwrites the main site with the last module's site instead! (Do not use!)




mvn clean package site scm-publish:publish-scm

seems to work - but does not publish the sub-sites (e.g.
commons-rdf-api/ subfolder)


mvn clean package site site:stage scm-publish:publish-scm

seems to have the same problem.


And so I had to do this manual hack to afterwards add the submodules
site folders to the SVN of the website:

for a in api integration-tests jena jsonld-java rdf4j simple ;
  do cp -r $a/target/site target/site-content/commons-rdf-$a ;
done

cd target/site-content/
svn add commons-rdf-*
svn commit -m "submodules"


Any ideas..?

-- 
Stian Soiland-Reyes
http://orcid.org/0000-0001-9842-9718

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to