[
https://issues.apache.org/jira/browse/RNG-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413351#comment-15413351
]
Gilles commented on RNG-1:
--------------------------
Creating the directory should solve the error mentioned in this report, as
shown by the following transcript:
{noformat}
$ ls -l site-content
ls: cannot access 'site-content': No such file or directory
$
$
$ mvn site
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons Rng 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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: 12.553 s
[INFO] Finished at: 2016-08-09T12:16:16+02:00
[INFO] Final Memory: 10M/168M
[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:
/home/gilles/devel/java/apache/commons-rng/trunk/site-content does not exist.
[ERROR] around Ant part ...<pathconvert property="dirs" pathsep=" ">... @ 10:44
in /home/gilles/devel/java/apache/commons-rng/trunk/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
$
$
$ mkdir site-content
... A lot of stuff skipped ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 min
[INFO] Finished at: 2016-08-09T12:18:36+02:00
[INFO] Final Memory: 74M/574M
[INFO] ------------------------------------------------------------------------
$
{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
>
> 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)