commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS] Build problem
Date Wed, 20 Oct 2010 05:10:18 GMT

On Oct 19, 2010, at 9:44 PM, Ralph Goers wrote:

> 
> On Oct 19, 2010, at 8:53 PM, Gary Gregory wrote:
> 
>>> -----Original Message-----
>>> From: sebb [mailto:sebbaz@gmail.com]
>>> Sent: Tuesday, October 19, 2010 04:11
>>> To: Commons Developers List
>>> Subject: Re: [VFS] Build problem
>>> 
>>> Mvn site works OK for me with Maven 2.2.1, but you may need to run mvn
>>> install once first.
>> 
>> That did it. I just ran "mvn site" after confirming that "mvn install" worked.
>> 
>> Now "mvn clean site" works.
>> 
>> Go figure. Sigh, shakes head at Maven...
>> 
>> Gary
>> 
> 
> Wow. It really has been a while since I last did this. I now remember that I did get
mvn site to work as I cleaned up a lot of the check style errors. 
> 
> mvn site won't actually generate a web site that you can view. All the "real" content
is in the subprojects. See the note on site:site at http://maven.apache.org/plugins/maven-site-plugin/.
 If you click on the "core" link it will be broken.  I could swear I had mvn site:stage or
mvn site:stage-deploy working but they are also generating bad links to the subprojects for
me.
> 

mvn site:stage -P site

generates a usable web site in ${user.home}/vfssite/tmp

The main difference is that it uses version 2.2-SNAPSHOT of the site plugin. The default is
2.0.1 which has issues generating urls on Unix systems. The bugs are reported to be fixed
in 2.1 so that version may work as well, but I somehow think I would have used that instead
of a snapshot if it had worked.

Ralph


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message