You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <bm...@axentra.net> on 2005/05/24 21:19:14 UTC
javadoc and jxr generation
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Adrian Herscu <bm...@axentra.net>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Brett Porter <br...@gmail.com>.
Well, that explains a lot :)
You can't use commons-jelly-1.0 with Maven 1.0.2. They aren't
internally compatible. If you need the newer Jelly, try Maven
1.1-beta-1.
Cheers,
Brett
On 7/2/05, Adrian Herscu <bm...@axentra.net> wrote:
> Brett,
>
> I think that I have found the problem and I can reproduce it.
>
> 1) Download the commons-jelly.1.0.jar from here:
> http://archive.apache.org/dist/java-repository/commons-jelly/jars/commons-jelly-1.0.jar
>
> 2) Copy it into %MAVEN_HOME%/lib
>
> 3) Run the site goal
>
> And you should get this:
>
> 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\My
> Projects\test\target\docs\apido
> cs\constant-values.html...
> [javadoc] Copying file E:\stylesheet.css to file
> E:\Documents\bmf1972\My Pro
> jects\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\My
> Projects\test\target\jav
> adoc\src
>
> [echo] Generating the Source Xref...
> maven-jxr-plugin:report:
> [echo]
>
> BUILD FAILED
> File...... D:\Documents and
> Settings\Administrator\.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.
>
> 4) Rename the commons-jelly.1.0.jar to commons-jelly.1.0.jar.x and rerun
> the site goal - this time it should not fail.
>
> Adrian.
>
> P.S. I really need to write a validating plugin which needs the
> org.apache.commons.jelly.util.ClassLoaderUtils class from the
> commons-jelly-1.0.jar.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Adrian Herscu <bm...@axentra.net>.
Brett,
I think that I have found the problem and I can reproduce it.
1) Download the commons-jelly.1.0.jar from here:
http://archive.apache.org/dist/java-repository/commons-jelly/jars/commons-jelly-1.0.jar
2) Copy it into %MAVEN_HOME%/lib
3) Run the site goal
And you should get this:
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\My
Projects\test\target\docs\apido
cs\constant-values.html...
[javadoc] Copying file E:\stylesheet.css to file
E:\Documents\bmf1972\My Pro
jects\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\My
Projects\test\target\jav
adoc\src
[echo] Generating the Source Xref...
maven-jxr-plugin:report:
[echo]
BUILD FAILED
File...... D:\Documents and
Settings\Administrator\.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.
4) Rename the commons-jelly.1.0.jar to commons-jelly.1.0.jar.x and rerun
the site goal - this time it should not fail.
Adrian.
P.S. I really need to write a validating plugin which needs the
org.apache.commons.jelly.util.ClassLoaderUtils class from the
commons-jelly-1.0.jar.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Adrian Herscu <bm...@axentra.net>.
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 <bm...@axentra.net> 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: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Brett Porter <br...@gmail.com>.
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?
As my last mail on the topic said, I recall this happening previously
but you were unable to find it in the archives. 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.
- Brett
On 6/5/05, Adrian Herscu <bm...@axentra.net> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Adrian Herscu <bm...@axentra.net>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc and jxr generation
Posted by Adrian Herscu <bm...@axentra.net>.
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 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org