[ 
https://issues.apache.org/jira/browse/RNG-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414270#comment-15414270
 ] 

Artem Barger commented on RNG-1:
--------------------------------

{noformat}
JAVA_1_8_HOME="$(/usr/libexec/java_home)" mvn -Pjava-1.8 site
{noformat}

produces on my Mac following output in debug mode

{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.362 s
[INFO] Finished at: 2016-08-10T00:29:54+03:00
[INFO] Final Memory: 44M/390M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
commons-rng: failed to get report for 
org.apache.maven.plugins:maven-surefire-report-plugin: Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) 
on project commons-rng: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
commons-rng: failed to get report for 
org.apache.maven.plugins:maven-surefire-report-plugin
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        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:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: failed to get report 
for org.apache.maven.plugins:maven-surefire-report-plugin
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:156)
        at 
org.apache.maven.plugins.site.render.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:239)
        at 
org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:124)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile 
(default-compile) on project commons-rng: Compilation failure
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:173)
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin(DefaultMavenReportExecutor.java:309)
        at 
org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:151)
        ... 24 more
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: 
Compilation failure
        at 
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:976)
        at 
org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 30 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{noformat}


Running on

{noformat}
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
{noformat}


> Not able to produce web site pages.
> -----------------------------------
>
>                 Key: RNG-1
>                 URL: https://issues.apache.org/jira/browse/RNG-1
>             Project: Commons RNG
>          Issue Type: Task
>            Reporter: Artem Barger
>         Attachments: RNG-1.patch
>
>
> Running *mvn clean site* fails with following output:
> {quote}
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Commons Rng 0.1-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ commons-rng ---
> [INFO] Deleting /Users/bartem/sandbox/commons-rng/target
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (prepare-checkout) @ commons-rng ---
> [WARNING] Parameter tasks is deprecated, use target instead
> [INFO] Executing tasks
> main:
>      [exec] svn: E170000: URL 
> 'https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng'
>  doesn't exist
>      [exec] Result: 1
>      [exec] Skipped 'site-content/javadocs'
>      [exec] svn: E155007: None of the targets are working copies
>      [exec] Result: 1
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3.195 s
> [INFO] Finished at: 2016-08-09T11:36:31+03:00
> [INFO] Final Memory: 10M/309M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.7:run (prepare-checkout) on 
> project commons-rng: An Ant BuildException has occured: 
> /Users/bartem/sandbox/commons-rng/site-content does not exist.
> [ERROR] around Ant part ...<pathconvert property="dirs" pathsep=" ">... @ 
> 10:44 in /Users/bartem/sandbox/commons-rng/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {quote}
> Looking into *pom.xml* lines: 109-111 it looks like the problem is here
> {code:xml}
> <commons.site.path>rng</commons.site.path>
>     
> <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng</commons.scmPubUrl>
>     
> <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
> {code}
> IMO this is because 
> https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng
>  doesn't exists yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to