Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MyFaces

...

uses

...

maven

...

to

...

deploy

...

its

...

website.

...

To

...

build

...

and

...

deploy

...

a

...

site

...

for

...

a

...

project

...

just

...

run.

{
Code Block
}
mvn site
mvn site:deploy
{code}

The

...

site

...

is

...

initially

...

deployed

...

to

...

minotaur.apache.org

...

(aka

...

people.apache.org).

...

From

...

there

...

a

...

periodic

...

task

...

transfers

...

it

...

to

...

the

...

main

...

apache

...

site

...

and

...

mirrors,

...

so

...

it

...

can

...

take

...

a

...

few

...

hours

...

for

...

a

...

new

...

site

...

to

...

be

...

visible

...

to

...

the

...

public.

...

If

...

your

...

local

...

username

...

is

...

not

...

the

...

same

...

as

...

your

...

account

...

on

...

minotaur.apache.org,

...

then

...

you

...

can

...

add

...

an

...

entry

...

in

...

your

...

maven

...

settings.xml

...

file

...

to

...

specify

...

logon

...

details.

...

See

...

the

...

release

...

procedures

...

page

...

on

...

this

...

wiki

...

for

...

details.

...

Other

...

alternative

...

is

...

setup

...

your

...

local

...

environment

...

and

...

your

...

apache

...

account

...

so

...

it

...

can

...

log

...

people.apache.org

...

without

...

ask

...

for

...

a

...

manual

...

password.

...

You

...

will

...

also

...

need

...

to

...

be

...

in

...

the

...

"myfaces"

...

unix

...

group

...

in

...

order

...

to

...

be

...

able

...

to

...

write

...

to

...

the

...

necessary

...

directories.

...

Testing

...

Site

...

Modifications

...

Running

...

"mvn

...

clean

...

site"

...

will

...

build

...

the

...

site

...

for

...

the

...

current

...

module

...

and

...

all

...

its

...

submodules.

...

However

...

the

...

generated

...

html

...

pages

...

for

...

each

...

submodule

...

are

...

placed

...

into

...

the

...

target

...

directory

...

for

...

that

...

module.

...

As

...

a

...

result,

...

none

...

of

...

the

...

inter-module

...

links

...

work.

...

To

...

test

...

a

...

multi-module

...

site,

...

use

...

this

...

instead:

Code Block

{{{
  mvn site:stage -DstagingDirectory=/tmp/stage
}}}

which

...

will

...

assemble

...

a

...

complete

...

site

...

from

...

the

...

partial

...

pieces

...

present

...

in

...

the

...

different

...

modules.