Shouldn't this:
<sourceDirectory>src/</sourceDirectory>
be
<sourceDirectory>src/java</sourceDirectory>
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers
Paul Spencer <[EMAIL PROTECTED]> wrote on 19/11/2002 03:09:54 PM:
> 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:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
>
> ForwardSourceID:NT0008FCC2
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>