Have you tried a <package>com.foo.bar</package> tag under <project>? The
javadoc plugin source uses that as the packagenames element of the Ant
javadoc task.

Between that and the build.sourceDirectory element, that's all I can
see... Are your sourceDirectory tags and similar within the <build>
tags?

Nick

> -----Original Message-----
> From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
> Sent: 06 November 2003 17:01
> To: Maven Users List
> Subject: Javadoc: No source files and no packages have been specified.
> 
> 
> I feel kinda stupid, but what am I missing here?
> 
> ----Maven output ----
> 
> C:\Eclipse3.0\workspace\myproject>maven javadoc:generate
>   __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> Attempting to download maven-SNAPSHOT.jar.
> 
> BUILD FAILED
> No source files and no packages have been specified.
> Total time: 5 seconds
> Finished at: Thu Nov 06 11:57:22 EST 2003
> 
> 
> ----project.xml-----
> 
> <?xml version="1.0"?>
> <project>
>      .....
>                                        
> <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
> <sourceDirectory>src/main/java</sourceDirectory>
>           
> <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
>          <aspectSourceDirectory/>
>          <resources>
>              <resource>
>                  <directory>src/main/resources</directory>
>                  <includes>
>                      <include>**/*</include>
>                  </includes>
>              </resource>
>          </resources>
>          <unitTest>
>              <includes>
>                  <include>**/*Test.java</include>
>              </includes>
>              <excludes>
>                  <exclude>**/RepositoryTest.java</exclude>
>              </excludes>
>              <resources>
>                  <resource>
>                      <directory>src/test/resources</directory>
>                      <includes>
>                          <include>**/*</include>
>                      </includes>
>                  </resource>
>              </resources>
>          </unitTest>
>      </build>
> 
>      <reports>
>          <report>maven-jdepend-plugin</report>
>       <report>maven-checkstyle-plugin</report>
>       <report>maven-javadoc-plugin</report>
>      </reports>
> </project>
> 
> 
> -- 
> Mark Diggory
> Software Developer
> Harvard MIT Data Center
> http://osprey.hmdc.harvard.edu
> 
> 
> ---------------------------------------------------------------------
> 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