Discussion:
mvn site build fails in JUL
Gary Gregory
2014-09-29 12:09:48 UTC
Permalink
Is this a real error with 'mvn site' or another problem on Maven 3.2.3 and
Java 8?

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 .................................... SUCCESS [40.947s]
[INFO] Apache Log4j API .................................. SUCCESS [59.183s]
[INFO] Apache Log4j Core ................................. SUCCESS
[1:45.958s]
[INFO] Apache Log4j 1.x Compatibility API ................ SUCCESS [43.457s]
[INFO] Apache Log4j SLF4J Binding ........................ SUCCESS [38.635s]
[INFO] Apache Log4j to SLF4J Adapter ..................... SUCCESS [35.504s]
[INFO] Apache Log4j Commons Logging Bridge ............... SUCCESS [36.223s]
[INFO] Apache Log4j Flume Bridge ......................... SUCCESS
[1:33.864s]
[INFO] Apache Log4j Web .................................. SUCCESS [41.222s]
[INFO] Apache Log4j Tag Library .......................... SUCCESS [47.074s]
[INFO] Apache Log4j JMX GUI .............................. SUCCESS [42.729s]
[INFO] Apache Log4j Samples .............................. SUCCESS [0.210s]
[INFO] Apache Log4j Samples: Flume - Common .............. SUCCESS [0.238s]
[INFO] Apache Log4j Samples: Flume - Remote .............. SUCCESS [3.000s]
[INFO] Apache Log4j Samples: Flume - Embedded ............ SUCCESS [0.270s]
[INFO] Apache Log4j BOM .................................. SUCCESS [0.290s]
[INFO] Apache Log4j NoSQL ................................ SUCCESS [43.876s]
[INFO] Apache Log4J Performance Tests .................... SUCCESS
[1:15.021s]
[INFO] Apache Log4j Streaming Interface .................. SUCCESS [38.188s]
[INFO] Apache Log4j JUL Adaptor .......................... FAILURE [0.294s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12:28.237s
[INFO] Finished at: Mon Sep 29 00:13:38 EDT 2014
[INFO] Final Memory: 102M/841M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
project log4j-jul: Template file
'C:\vcs\git\apache\logging\logging-log4j2\log4j-jul\src\site\site.vm' does
not exist -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :log4j-jul
--
E-Mail: ***@gmail.com | ***@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Matt Sicker
2014-09-29 14:13:39 UTC
Permalink
Looks like we need a site.vm. Also, whenever I build the site, I use Maven
3.0.5.
Post by Gary Gregory
Is this a real error with 'mvn site' or another problem on Maven 3.2.3 and
Java 8?
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] Apache Log4j 2 .................................... SUCCESS [40.947s]
[INFO] Apache Log4j API .................................. SUCCESS [59.183s]
[INFO] Apache Log4j Core ................................. SUCCESS
[1:45.958s]
[INFO] Apache Log4j 1.x Compatibility API ................ SUCCESS [43.457s]
[INFO] Apache Log4j SLF4J Binding ........................ SUCCESS [38.635s]
[INFO] Apache Log4j to SLF4J Adapter ..................... SUCCESS [35.504s]
[INFO] Apache Log4j Commons Logging Bridge ............... SUCCESS [36.223s]
[INFO] Apache Log4j Flume Bridge ......................... SUCCESS
[1:33.864s]
[INFO] Apache Log4j Web .................................. SUCCESS [41.222s]
[INFO] Apache Log4j Tag Library .......................... SUCCESS [47.074s]
[INFO] Apache Log4j JMX GUI .............................. SUCCESS [42.729s]
[INFO] Apache Log4j Samples .............................. SUCCESS [0.210s]
[INFO] Apache Log4j Samples: Flume - Common .............. SUCCESS [0.238s]
[INFO] Apache Log4j Samples: Flume - Remote .............. SUCCESS [3.000s]
[INFO] Apache Log4j Samples: Flume - Embedded ............ SUCCESS [0.270s]
[INFO] Apache Log4j BOM .................................. SUCCESS [0.290s]
[INFO] Apache Log4j NoSQL ................................ SUCCESS [43.876s]
[INFO] Apache Log4J Performance Tests .................... SUCCESS
[1:15.021s]
[INFO] Apache Log4j Streaming Interface .................. SUCCESS [38.188s]
[INFO] Apache Log4j JUL Adaptor .......................... FAILURE [0.294s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12:28.237s
[INFO] Finished at: Mon Sep 29 00:13:38 EDT 2014
[INFO] Final Memory: 102M/841M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
project log4j-jul: Template file
'C:\vcs\git\apache\logging\logging-log4j2\log4j-jul\src\site\site.vm' does
not exist -> [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,
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :log4j-jul
--
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
Matt Sicker <***@gmail.com>
Gary Gregory
2014-09-29 15:37:59 UTC
Permalink
I fixed the POM. There some issues with the site-plugin, I have to use M305
as well when doing anything with the site.

Gary
Post by Matt Sicker
Looks like we need a site.vm. Also, whenever I build the site, I use Maven
3.0.5.
Post by Gary Gregory
Is this a real error with 'mvn site' or another problem on Maven 3.2.3
and Java 8?
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] Apache Log4j 2 .................................... SUCCESS [40.947s]
[INFO] Apache Log4j API .................................. SUCCESS [59.183s]
[INFO] Apache Log4j Core ................................. SUCCESS
[1:45.958s]
[INFO] Apache Log4j 1.x Compatibility API ................ SUCCESS [43.457s]
[INFO] Apache Log4j SLF4J Binding ........................ SUCCESS [38.635s]
[INFO] Apache Log4j to SLF4J Adapter ..................... SUCCESS [35.504s]
[INFO] Apache Log4j Commons Logging Bridge ............... SUCCESS [36.223s]
[INFO] Apache Log4j Flume Bridge ......................... SUCCESS
[1:33.864s]
[INFO] Apache Log4j Web .................................. SUCCESS [41.222s]
[INFO] Apache Log4j Tag Library .......................... SUCCESS [47.074s]
[INFO] Apache Log4j JMX GUI .............................. SUCCESS [42.729s]
[INFO] Apache Log4j Samples .............................. SUCCESS [0.210s]
[INFO] Apache Log4j Samples: Flume - Common .............. SUCCESS [0.238s]
[INFO] Apache Log4j Samples: Flume - Remote .............. SUCCESS [3.000s]
[INFO] Apache Log4j Samples: Flume - Embedded ............ SUCCESS [0.270s]
[INFO] Apache Log4j BOM .................................. SUCCESS [0.290s]
[INFO] Apache Log4j NoSQL ................................ SUCCESS [43.876s]
[INFO] Apache Log4J Performance Tests .................... SUCCESS
[1:15.021s]
[INFO] Apache Log4j Streaming Interface .................. SUCCESS [38.188s]
[INFO] Apache Log4j JUL Adaptor .......................... FAILURE [0.294s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12:28.237s
[INFO] Finished at: Mon Sep 29 00:13:38 EDT 2014
[INFO] Final Memory: 102M/841M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
project log4j-jul: Template file
'C:\vcs\git\apache\logging\logging-log4j2\log4j-jul\src\site\site.vm' does
not exist -> [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,
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :log4j-jul
--
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
--
E-Mail: ***@gmail.com | ***@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Loading...