My project is composed of source from many different languages, primarly Java and C. My source directly structure matches the the documentation, see http://jakarta.apache.org/turbine/maven/reference/dirlayout.html, i.e. src/c and src/java. The java source is being compiled as expected, but the javadocs are not being created. I receive the following error message from the command "maven site"
javadoc:generate:
[mkdir] Created dir: C:\develop\maven_test\target\docs\apidocs

[ERROR] BUILD FAILED
[ERROR] File...... c:\apache\maven-1.0-beta-7\plugins\maven-javadoc-plugin-1.0\plugin.jelly
[ERROR] Element... javadoc
[ERROR] Line...... 60
[ERROR] Column.... 52
[ERROR] No source files and no packages have been specified.

In project.xml I have the following entries:
<package>com.foo</package>
<sourceDirectory>src/</sourceDirectory>

The file HelloWorld.java exists in src/java/com/foo.
The command "maven" creates the file target/classes/com/foo/HelloWorld.class

I am using maven-1.0-beta-7

Paul Spencer



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

Reply via email to