[
https://issues.apache.org/jira/browse/RNG-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417026#comment-15417026
]
Artem Barger commented on RNG-1:
--------------------------------
Tried different, still the only way for me to run {{mvn clean site}} is w/
following change
{noformat}
>From 8b43529e48d4240c6d096459721f3a7ce12062c5 Mon Sep 17 00:00:00 2001
From: Artem Barger <[email protected]>
Date: Thu, 11 Aug 2016 14:03:37 +0300
Subject: [PATCH] Make mvn clean site command not to fail
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index f38df15..e584664 100644
--- a/pom.xml
+++ b/pom.xml
@@ -387,7 +387,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-header '<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
+ <additionalparam>-Xdoclint:none -header '<script
type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
</configuration>
</plugin>
</plugins>
--
2.8.2
{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)