Hi Alex.

I tried to regenerate the site but the build fails:
---CUT---
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Commons RNG ................................. SUCCESS [ 21.050 s]
[INFO] Apache Commons RNG Client API ...................... FAILURE [  7.723 s]
[INFO] Apache Commons RNG Core ............................ SKIPPED
[INFO] Apache Commons RNG Simple .......................... SKIPPED
[INFO] Apache Commons RNG Sampling ........................ SKIPPED
[INFO] Apache Commons RNG Examples ........................ SKIPPED
[INFO] Stress test example ................................ SKIPPED
[INFO] Sampling example ................................... SKIPPED
[INFO] Quadrature example ................................. SKIPPED
[INFO] JMH Benchmark ...................................... SKIPPED
[INFO] JPMS Integration test .............................. SKIPPED
[INFO] JPMS module example (library) ...................... SKIPPED
[INFO] JPMS module example (application) .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.294 s
[INFO] Finished at: 2019-02-17T22:52:17+01:00
[INFO] Final Memory: 82M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site)
on project commons-rng-client-api: Error generating
maven-javadoc-plugin:3.0.1:javadoc report:
[ERROR] Exit code: 1 - javadoc: error - option -header contains JavaScript.
[ERROR] Use --allow-script-in-comments to allow use of JavaScript.
[ERROR]
[ERROR] Command line was:
/usr/lib/jvm/java-9-openjdk-amd64/bin/javadoc @options @package
---CUT---

Command line was:
 $ JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64/ mvn
-Pcommons-rng-examples clean site site:stage

Regards,
Gilles

P.S. I'd wait for the new RNG implementations to be in "master" before
updating the
live site (so that "current" will refer to "1.3-SNAPSHOT").


Le dim. 17 févr. 2019 à 16:08, Alex Herbert <alex.d.herb...@gmail.com> a écrit :
>
>
>
> > On 16 Feb 2019, at 21:31, Gilles Sadowski <gillese...@gmail.com> wrote:
> >
> > Hello.
> >
> > Le sam. 16 févr. 2019 à 13:12, Alex Herbert <alex.d.herb...@gmail.com> a 
> > écrit :
> >>
> >> The link to the javadoc on the GitHub homepage is broken. I cannot find a 
> >> link to the javadoc from the official commons RNG homepage.
> >>
> >> I have tried to update the README.md using the commons build plugin. Here 
> >> is a comparison between updated and the original:
> >>
> >> https://github.com/apache/commons-rng/compare/master...aherbert:update-readme
> >>  
> >> <https://github.com/apache/commons-rng/compare/master...aherbert:update-readme>
> >>
> >> Given the use of sub-modules it appears the output README.md files have to 
> >> be tweaked.
> >>
> >> The build plugin creates working links for each of the sub-modules to 
> >> javadoc.io <http://javadoc.io/>.
> >
> > I don't see those links: the apidocs are hosted on the Apache server:
> >    
> > https://commons.apache.org/proper/commons-rng/commons-rng-core/apidocs/overview-summary.html
> >  
> > <https://commons.apache.org/proper/commons-rng/commons-rng-core/apidocs/overview-summary.html>
>
> The javadoc.io <http://javadoc.io/> badges are put at the top of the 
> README.md by the latest commons build plugin. It seems that when you visit 
> javadoc.io <http://javadoc.io/> at the link this prompts them to get the 
> public release and then create the javadoc pages on this site. All the badges 
> I have tested do eventually build and show javadoc.
>
> The latest README.md updates the badges so that:
>
> - build status badge drops the '?branch=master’ parameter
> - coverage badge drops the '?branch=master’ parameter
> - maven central badge is unchanged *
> - The licence badge is dropped
> - The java docs badge is added to refer to javadoc.io <http://javadoc.io/>
>
> * This badge used the artefact name so has to be updated for the main 
> README.md page as that refers to commons-rng-parent. All the sub-modules are 
> OK. I just pointed it to commons-ring-simple.
>
> So should the javadoc.io <http://javadoc.io/> badge be dropped and the 
> licence badge reinstated manually?
>
> >
> >> However should there be a master javadoc with bundles for each module 
> >> hosted somewhere on https://commons.apache.org/proper/commons-rng/ 
> >> <https://commons.apache.org/proper/commons-rng/>?
> >
> > It doesn't bother me that there is no aggregate Javadoc; the modules can be
> > seen as separate libraries with different target audiences.
> > The broken link in README.md should be replaced by links to the each of the
> > modules.
> >
> > Regards,
> > Gilles
>
> OK. I have tweaked the output from the commons build plugin for the main page 
> to add javadoc links for client-api, core, simple and sampling.
>
> I updated all the other README.md files to:
>
> - manually fix the javadoc link in the modules with javadoc *
> - not refer to the module name but ‘Apache Commons RNG’ for the donate link.
> - use <commons.componentid>rng</commons.componentid> as the example property
> - drop the RNG from the auto-generated [Apache Commons RNG 
> homepage](https://commons.apache.org/)
>
> * The javadoc here:
> https://commons.apache.org/proper/commons-rng/commons-rng-examples/apidocs/ 
> <https://commons.apache.org/proper/commons-rng/commons-rng-examples/apidocs/>
> Is for 1.1-SNAPSHOT. Some modules are missing (e.g. 
> commons-ring-examples-quadrature).
>
> So the 1.2 release did not deploy apidocs for commons-examples? I do not know 
> how to browse the hosting server to check. If missing then the apidocs should 
> be fixed (uploaded). If it is not official to host these I can update the 
> README.md to remove the browse link.
>
> You can see the latest comparison with what was previously in the README at 
> this link:
>
> https://github.com/apache/commons-rng/compare/master...aherbert:update-readme 
> <https://github.com/apache/commons-rng/compare/master...aherbert:update-readme>
>
> You can view the pages here:
>
> https://github.com/aherbert/commons-rng/tree/update-readme 
> <https://github.com/aherbert/commons-rng/tree/update-readme>
>
> I think all the links work in all the modules except the missing javadocs for 
> the commons-examples modules.
>
> The badges, [Contributing], [License] and [Additional Resource] sections are 
> all now up-to-date with the latest from the commons build plugin. The latest 
> description from the pom.xml is also included.
>
>
>
>

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

Reply via email to