Brett, please see my comments below.

Brett Porter wrote:
Adrian, I have gotten an identical mail from you 3 times in a row
without any extra information. Is something wrong, or are you
reposting identical messages?

...yes, sometimes I feel neglected ;-)

As my last mail on the topic said, I recall this happening previously
but you were unable to find it in the archives.

That's right!

I'll have a closer
look, but I don't think it can be investigated without being able to
reproduce it with a small test case.


I am ready! Just let me know what you need.
(software versions, directory layout, project.xml, project.properties, build.properties, etc.)

- Brett

A similar thing happens with the cruisecontrol plugin - that was the subject of the previous post.
The cruisecontrol plugin is just a fancy feature.
But the javadoc and jxr plugins are a must have, and this behavior is really annoying.

Adrian.


On 6/5/05, Adrian Herscu <[EMAIL PROTECTED]> wrote:

I have created an empty E:\stylesheet.css file and copied the
D:\Documents and
Settings\Administrator\.maven\cache\maven-jxr-plugin-1.4.2\plugin-resources\templates
into E:\
and now the build succeeds and the reports are generated as expected.

It seems that the plugin.resources property is initialized to an empty
string - any suggestions?

Thanks for your time,
Adrian.

Adrian Herscu wrote:

Hi all,

maven-javadoc-plugin-1.7 and maven-jxr-plugin-1.4.2 cannot find the
their "stylesheet.css".
Here is the output:

E:\Documents\bmf1972\CC_WORK\checkout\test>maven -e site
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

site:
xdoc:register-reports:
maven-jdepend-plugin:register:

maven-checkstyle-plugin:register:

maven-changes-plugin:register:

maven-changelog-plugin:register:

maven-developer-activity-plugin:register:

maven-file-activity-plugin:register:

maven-license-plugin:register:

xdoc:init:

maven-javadoc-plugin:register:
   [mkdir] Created dir:
E:\Documents\bmf1972\CC_WORK\checkout\test\target\javad
oc\src

maven-jxr-plugin:register:

maven-junit-report-plugin:register:

maven-linkcheck-plugin:register:

maven-tasklist-plugin:register:


site:run-reports:
   [echo] Generating the Metrics...
maven-jdepend-plugin:report:
java:prepare-filesystem:

java:compile:
   [echo] Compiling to
E:\Documents\bmf1972\CC_WORK\checkout\test/target/classe
s
   [echo]
==========================================================

 NOTE: Targetting JVM 1.4, classes
 will not run on earlier JVMs

==========================================================



   [echo] Generating the Checkstyle...
checkstyle:init:

checkstyle:report:
   [echo]
     =================================================================
     =                          W A R N I N G                        =
     =================================================================
     =  Your project doesn't contain a header file specified as:     =
     =  E:\Documents\bmf1972\CC_WORK\checkout\test/LICENSE.txt
     =  Checkstyle needs it to check the existence of the License in =
     =  your source files. If it can't find this file, it throws an  =
     =  error.                                                       =
     =  A temporary solution is to create an empty LICENSE.txt file. =
     =  Though, we recommend that you edit this License.             =
     =================================================================

checkstyle:run:
   [echo] Using file:D:/Documents and
Settings/bmf1972/.maven/cache/maven-check
style-plugin-2.5/plugin-resources/sun_checks.xml for checkstyle ...


   [echo] Generating the Change Log...
maven-changelog-plugin:report:
   [echo] Generating the changelog report
SCM Working Directory: E:\Documents\bmf1972\CC_WORK\checkout\test
SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -r{2005-05-25}:{2005-04-24}
ChangeLog found: 6 entries

   [echo] Generating the Developer Activity...
maven-developer-activity-plugin:report:
   [echo] Generating the developer activity report

   [echo] Generating the File Activity...
maven-file-activity-plugin:report:
   [echo] Generating the file activity report

   [echo] Generating the Project License...
maven-license-plugin:report:
xdoc:init:

license:transfer:
   [echo]

======================================================================
     =                             W A R N I N G     =

======================================================================
     =  Your project doesn't contain a header file specified as:     =
     =  E:\Documents\bmf1972\CC_WORK\checkout\test/LICENSE.txt
     =  The License Report Plugin needs it to display the license     =
     =  for the project.     =
     =  If it can't find this file, it creates a page mentioning that
   =
     =  no license file has been given to Maven.     =

======================================================================


license:


   [echo] Generating the JavaDocs...
xdoc:init:

maven-javadoc-plugin:report:
   [javadoc] Generating Javadoc
   [javadoc] Javadoc execution
   [javadoc] Loading source files for package com.acme.apps...
   [javadoc] Constructing Javadoc information...
   [javadoc] Standard Doclet version 1.4.2_06
   [javadoc] Generating
E:\Documents\bmf1972\CC_WORK\checkout\test\target\docs\
apidocs\constant-values.html...
   [javadoc] Copying file E:\stylesheet.css to file
E:\Documents\bmf1972\CC_WOR
K\checkout\test\target\docs\apidocs\tylesheet.css...
   [javadoc] javadoc: java.io.FileNotFoundException: E:\stylesheet.css
(The sys
tem cannot find the file specified) encountered while
   [javadoc] 1 error
   [javadoc] performing copy.
   [delete] Deleting directory
E:\Documents\bmf1972\CC_WORK\checkout\test\targe
t\javadoc\src

   [echo] Generating the Source Xref...
maven-jxr-plugin:report:
   [echo]

BUILD FAILED
Warning: Could not find file E:\stylesheet.css to copy.
       at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:347)
       at org.apache.tools.ant.Task.perform(Task.java:341)
       at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
       at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
       at com.werken.werkz.Goal.fire(Goal.java:639)
       at com.werken.werkz.Goal.attain(Goal.java:575)
       at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
       at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
       at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
       at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:1
50)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
       at com.werken.werkz.Goal.fire(Goal.java:639)
       at com.werken.werkz.Goal.attain(Goal.java:575)
       at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
       at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
       at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
       at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
       at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
       at com.werken.werkz.Goal.fire(Goal.java:639)
       at com.werken.werkz.Goal.attain(Goal.java:575)
       at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
       at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
       at org.apache.maven.cli.App.doMain(App.java:488)
       at org.apache.maven.cli.App.main(App.java:1239)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at com.werken.forehead.Forehead.run(Forehead.java:551)
       at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... D:\Documents and
Settings\bmf1972\.maven\cache\maven-jxr-plugin-1.4.2
\plugin.jelly
Element... ant:copy
Line...... 94
Column.... 55
Warning: Could not find file E:\stylesheet.css to copy.
Total time: 55 seconds
Finished at: Tue May 24 21:14:50 GMT+02:00 2005

Adrian.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to