Hi Craig,

"maven savesite" copies the docs into site/docs. I'm not sure what the value of having the intermediate location in target is. Maybe this is just a maven thing, such that all build process goes into target and the copy to site/docs is the equivalent of a dist.

-- Michelle

Craig L Russell wrote:

One more problem. The site used to generate at site/docs/ from source at site/xdocs but with this setup, the site generates into target/docs.

So I can't see the diffs using svn.

Craig

On Mar 29, 2008, at 9:38 AM, Craig L Russell wrote:

Ok, I set my MAVEN_HOME to maven 1.0.2 and maven generated the site for me.

Craig

On Mar 29, 2008, at 12:54 AM, Andy Jefferson wrote:

maven-xdoc-plugin is *supposed* to allow overriding the default stylesheet
via the property "maven.xdoc.jsl" (not that they can be bothered to
document it)


and actually i did find a doc for Maven 1.1 for this
http://maven.apache.org/maven-1.x/plugins/xdoc/properties.html

and it says
"The JSL stylesheet used to convert xdocs to HTML. To override, specify as a
file: URL.".

so I followed its instructions and set it to
file:${basedir}/xdocs/site.jsl

and what do I get ?

Unable to obtain goal [site]
Unions are only allowed over node-sets


Huh ?


Just stick to Maven 1.0.2 for site generation ;-)

--
Andy  (Java Persistent Objects - http://www.jpox.org)


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Reply via email to