| 
     
      
      
      From: Christian S. <chr...@ne...> - 2003-06-09 13:53:43
      
     
   | 
Mike Bowler wrote:
>  > I just downloaded the CVS source and built it using maven. So far so
>  > good. Now I am trying to find a way to also get at the documentation
>  > (assuming it is available).
>  >
>  > I was not able to find anything like a "doc" target callable with
>  > maven (maven.. mystery). Calling the "site" target caused a CVS/SSh
>  > connection with sourceforge to be established under the user mbowler,
>  > whose password I did not have handy..
> 
> "maven site" is the correct command.  The fact that it's hardcoded to 
> use my username is a problem which I'll have to fix.
> 
> It's most likely trying to get to sourceforge to download the cvs logs. 
>  Try building with the -o option - this tells maven that you are offline 
> so it shouldn't attempt to connect to the cvs repository.  If you're 
> going to be regularly running maven "offline" then you can set a 
> property in build.properties to set this.  I think the property is 
> "maven.mode.offline=true" but you'd have to double check that from the 
> maven docs.
> 
> 
Mike,
thanks for the reply. This is what I get when running "maven -o site":
site:
     [echo] Generating the maven-changelog-plugin ...
maven-changelog-plugin:report:
     [echo] The Changelog is available in the online mode only.
     [echo] Generating the maven-changes-plugin ...
BUILD FAILED
null:-1:-1: <null> No goal [maven-changes-plugin:report]
Total time:  9 seconds
I also tried the ant build, but it created documentation with all broken
(empty) html files.
thanks,
Christian
 |