Unfortunately, there is zero documentation regarding your questions on
the Maven site. I was able to answer these questions by inspecting the
maven deployment files from projects in the codehaus
(http://codehaus.org). Comments regarding your questions in line.
-james
On Thu, 2004-01-15 at 18:37, Mamata Desai wrote:
> Hi,
>
> I am a newbie to Maven, and also to a lot of its ancestors. But I want
> to use maven to create a website for my java project. I installed maven
> and edited project.xml. Here are a few queries I have... I could not
> find answers to these. If they have been previously discussed, please do
> not bash me, if its possible, please direct me to the answers.
>
> 1. How do I change the default look and feel of the project website? Do
> I have to edit any css etc? Do I need to use any plugins?
I have attached a project.properties file that will change the look and
feel. You can change the properties accordingly.
> 2. project.xml has a "description" element. This is displayed on the
> project main page. Can I have multiple sections in this? What tags can
> be added inside the text for this, that goes into project.xml? Is there
> some other file that can list all this the way I want it?
> 3. Can I change the menus on the left hand side? I saw a few
> maven-powered websites but don't know how to do it.
Place a file called navigation.xml in your <project_root>/xdocs
directory. I have attached a sample navigation.xml file.
What helped me allot was checking out a project that had a similar site
to what I wanted from the codehaus. The maven files from the project
blissed helped greatly. To get the project run the following cvs
commands:
cvs -d:pserver:[EMAIL PROTECTED]:/scm/cvspublic login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/scm/cvspublic co blissed
>
> Thanks and Regards,
> Mamata
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
##test properties
#maven.test.reportsDirectory = test
#maven.test.skip = true
#maven.build.dest = build/java
#maven.build.src = src/java
# ------------------------------------------------------------
# project properties
# ------------------------------------------------------------
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# core
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
maven.compile.debug = on
maven.compile.optimize = on
maven.compile.deprecation = on
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# xdocs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
maven.ui.body.background = #FFFFFF
maven.ui.body.foreground = #1F354D
maven.ui.section.background = #A2B7C5
maven.ui.section.foreground = #FFFFFF
maven.ui.subsection.background = #F2F5F7
maven.ui.subsection.foreground = #1F354D
maven.ui.table.header.background = #E5E3DB
maven.ui.table.header.foreground = #686868
maven.ui.table.row.odd.background = #F5F4F1
maven.ui.table.row.odd.foreground = #686868
maven.ui.table.row.even.background = #F5F4F1
maven.ui.table.row.even.foreground = #686868
maven.ui.banner.background = #FFFFFF
maven.ui.banner.foreground = #FFFFFF
maven.ui.banner.border.top = #A2B7C5
maven.ui.banner.border.bottom = #A2B7C5
maven.ui.source.background = #FFFFFF
maven.ui.source.foreground = #000000
maven.ui.source.border.right = #A2B7C5
maven.ui.source.border.left = #A2B7C5
maven.ui.source.border.top = #A2B7C5
maven.ui.source.border.bottom = #A2B7C5
maven.ui.navcol.background = #F2F5F7
maven.ui.navcol.background.ns4 = #F2F5F7
maven.ui.navcol.foreground = #000000
maven.ui.navcol.foreground.ns4 = #555
maven.ui.navcol.border.top = #F2F5F7
maven.ui.navcol.border.right = #A2B7C5
maven.ui.navcol.border.bottom = #A2B7C5
maven.ui.breadcrumbs.background = #D5E1E9
maven.ui.breadcrumbs.foreground = #000000
maven.ui.breadcrumbs.border.top = #D5E1E9
maven.ui.breadcrumbs.border.bottom = #A2B7C5
maven.ui.href.link = #1F354D
maven.ui.href.link.active = #FF5A00
maven.ui.href.link.selfref = #1F354D
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# checkstyle
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# maven.checkstyle.properties = ${basedir}/project.properties
# checkstyle.lcurly.type = nl
# checkstyle.lcurly.method = nl
# checkstyle.lcurly.other = nl
# checkstyle.rcurly = alone
# checkstyle.paren.pad = ignore
# checkstyle.maxlinelen = 132
# checkstyle.ignore.whitespace = yes
# checkstyle.header.file = LICENSE.txt
# checkstyle.header.ignoreline = 1,2,3,4,5,6
# checkstyle.const.pattern = ^[a-zA-Z][a-zA-Z0-9_]*$
# maven.javadoc.stylesheet = ./xdocs/stylesheets/javadoc-style.css
# maven.javadoc.overview = ${basedir}/src/java/main/org/blissed/overview.html
maven.jarResources.basedir = src/java/main/
maven.xdoc.date = left
maven.compile.optimize = off
maven.compile.debug = on
maven.junit.fork=true
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Security" repository="security" href="http://cvs.perceptive.com/distribution/security">
<title>Security</title>
<body>
<menu name="Security">
<item name="Releases" href="http://cvs.perceptive.com/distribution/security"/>
<item name="CVS Access" href="/cvs.html"/>
</menu>
<menu name="JavaDoc">
<item name="Interface" href="http://cvs.perceptive.com/distribution/security/nightly/spec/interface" />
<item name="Implementation" href="http://cvs.perceptive.com/distribution/security/nightly/spec/implementation" />"
</menu>
</body>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]