Versions Compared

Key

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

...

Deploying

...

snapshots

...

To

...

deploy

...

a

...

snapshot

...

(Apache

...

committers

...

only),

...

run

{
Code Block
}
mvn -Pdeploy deploy
{code}

That

...

will

...

deploy

...

the

...

latest

...

snapshot

...

along

...

with

...

the

...

javadoc

...

and

...

source

...

jar

...

bundles

...

to

...

apaches

...

snapshot

...

repository.

...

After

...

deploying

...

the

...

snapshot,

...

you

...

need

...

to

...

login

...

to

...

people.apache.org

...

and

...

fix

...

the

...

permissions.

...

cd

...

to

...

/www/people.apache.org/repo/m2-snapshot-repository

...

and

...

run

...

the

...

fix-permissions.sh

...

script.

...

You

...

can

...

speed

...

up

...

the

...

process

...

by

...

doing

...

a

...

couple

...

things:

...

  1. Run

...

  1. with

...

  1. extra

...

  1. flags

...

  1. to

...

  1. skip

...

  1. the

...

  1. code

...

  1. checks

...

  1. and

...

  1. running

...

  1. of

...

  1. the

...

  1. tests

...

  1. Code Block

...

  1. 
    mvn -Pdeploy,nochecks deploy -Dmaven.test.skip.exec=true
    

...

  1. HIGHLY RECCOMMENDED:

...

  1. use

...

  1. a

...

  1. "Master

...

  1. Mode"

...

  1. ssh

...

  1. connection

...

  1. to

...

  1. people.apache.org

...

  1. for

...

  1. the

...

  1. scp

...

  1. commands

...

  1. to

...

  1. use.

...

  1. This

...

  1. requires

...

  1. a

...

  1. fairly

...

  1. recent

...

  1. version

...

  1. of

...

  1. ssh.

...

  1. Basically,

...

  1. in

...

  1. your

...

  1. /etc/ssh/ssh_config,

...

  1. make

...

  1. sure

...

  1. you

...

  1. have

...

  1. "ControlPath

...

  1. /tmp/%h-%p-%r"

...

  1. set.

...

  1. Then,

...

  1. in

...

  1. one

...

  1. window,

...

  1. run

...

  1. "ssh

...

  1. -Mv

...

  1. people.apache.org".

...

  1. Then

...

  1. run

...

  1. the

...

  1. deploy

...

  1. in

...

  1. another.

...

  1. The

...

  1. -v

...

  1. on

...

  1. the

...

  1. ssh

...

  1. connection

...

  1. will

...

  1. print

...

  1. things

...

  1. for

...

  1. each

...

  1. connection

...

  1. so

...

  1. you'll

...

  1. know

...

  1. it

...

  1. working.

...

  1. This

...

  1. is

...

  1. MUCH

...

  1. faster

...

  1. as

...

  1. SCP

...

  1. doesn't

...

  1. need

...

  1. to

...

  1. negotiate

...

  1. encryption

...

  1. stuff

...

  1. for

...

  1. every

...

  1. single

...

  1. file,

...

  1. doesn't

...

  1. need

...

  1. to

...

  1. open

...

  1. up

...

  1. lots

...

  1. of

...

  1. connections,

...

  1. etc....

...

Maintaining a fixes branch

dkulp: I'm

...

adding

...

this

...

section

...

to

...

document

...

what

...

worked

...

for

...

ME

...

when

...

maintaining

...

the

...

2.0.x-fixes

...

branch

...

for

...

the

...

2.0.x

...

releases.

...

Each

...

Release

...

Manager

...

may

...

have

...

their

...

own

...

style

...

or

...

tools

...

or

...

whatever.

...

This

...

is

...

not

...

a

...

"set

...

in

...

stone"

...

type

...

thing.

...

Basically,

...

almost

...

all

...

developement

...

and

...

fixes

...

and

...

such

...

are

...

usually

...

done

...

by

...

the

...

various

...

developers

...

right

...

on

...

trunk.

...

Thus,

...

the

...

main

...

job

...

of

...

the

...

fixes

...

branch

...

maintainer

...

is

...

to

...

triage

...

the

...

commits

...

on

...

trunk

...

and

...

merge

...

pure

...

fixes

...

to

...

the

...

fixes

...

branch,

...

resolve

...

conflicts,

...

run

...

the

...

tests,

...

and

...

periodically

...

deploy

...

snapshots.

...

For

...

the

...

most

...

part,

...

when

...

things

...

go

...

well,

...

it

...

doesn't

...

take

...

too

...

much

...

time

...

or

...

effort.

...

An

...

hour

...

or

...

two

...

every

...

couple

...

days

...

is

...

about

...

it.

...

In

...

trunk/bin,

...

there

...

is

...

a

...

DoMerges.java

...

program

...

that

...

wraps

...

svnmerge.py

...

to

...

assist

...

in

...

the

...

merging.

...

If

...

the

...

branch

...

is

...

setup

...

with

...

snvmerge.py,

...

if

...

you

...

run

...

it

...

from

...

you

...

checkout

...

directory,

...

it

...

will

...

prompt

...

for

...

every

...

commit

...

on

...

trunk

...

to

...

see

...

if

...

you

...

want

...

to

...

"Merge"

...

it,

...

"Block"

...

it,

...

or

...

"Ignore"

...

it.

...

It

...

displays

...

the

...

commit

...

log

...

first

...

so

...

you

...

can

...

see

...

what

...

was

...

involved.

...

You

...

can

...

also

...

check

...

the

...

cxf-commits

...

archive

...

to

...

see

...

the

...

full

...

details

...

of

...

the

...

commit

...

to

...

help

...

decide

...

what

...

action

...

to

...

take.

...

If

...

you

...

select

...

"Merge",

...

it

...

will

...

merge

...

the

...

change

...

and

...

then

...

prompt

...

before

...

committing.

...

That

...

will

...

allow

...

you

...

to

...

look

...

at

...

the

...

merge

...

and

...

resolve

...

any

...

conflicts.

...

(or

...

even

...

revert

...

it

...

if

...

you

...

didn't

...

mean

...

to

...

hit

...

Merge)

...

Performing a release

For the most part, we now follow the same instructions that the maven team uses.
http://maven.apache.org/developers/release/releasing.html

...

Basically,

...

setup

...

your

...

settings.xml

...

file

...

as

...

they

...

described

...

except

...

for

...

your

...

gpg

...

key.

...

The

...

version

...

of

...

the

...

gpg

...

plugin

...

we

...

use

...

will

...

ask

...

for

...

it.

...

The

...

deploy.altRepository

...

should

...

be

...

set

...

to

...

something

...

similar

...

to:

{
Code Block
}
dkulp::default::scp://people.apache.org/home/dkulp/public_html/maven_staging
{code}

After

...

that

...

is

...

setup,

...

you

...

should

...

just

...

need

...

to

...

run

{
Code Block
}
mvn release:prepare -Peverything
mvn release:perform
{code}

That

...

will

...

tag

...

the

...

release,

...

update

...

the

...

poms,

...

etc...

...

Then

...

build

...

it

...

(off

...

the

...

tag)

...

and

...

deploy

...

everything

...

(including

...

source

...

jars

...

and

...

javadoc

...

jars)

...

to

...

the

...

deploy.altRepository

...

location

...

and

...

gpg

...

signs

...

everything.

...

Once

...

there,

...

call

...

the

...

vote(s)

...

based

...

on

...

that.

...

After

...

the

...

vote

...

passes,

...

you'll

...

need

...

to

...

"merge"

...

that

...

staging

...

location

...

to

...

the

...

main

...

location.

...

The

...

maven

...

"stage"

...

plugin

...

is

...

used

...

to

...

do

...

this.

...

Just

...

run:

{
Code Block
}
mvn stage:copy \
   -Dsource="http://people.apache.org/~dkulp/stage_cxf/2.1/maven" \
   -Dtarget="scp://people.apache.org/www/people.apache.org/repo/m2-ibilio-rsync-repository" \
   -Dversion=2.1
{code}

One

...

note:

...

according

...

to

...

the

...

Maven

...

folks,

...

the

...

stage:copy

...

stuff

...

apparently

...

doesn't

...

work

...

on

...

Windows.

...

Don't

...

bother

...

trying.

...

Use

...

Linux

...

or

...

OSX.

...

Also,

...

don't

...

forget

...

to

...

copy

...

the

...

actual

...

distributions

...

to

...

people.apache.org:/www/www.apache.org/dist/cxf.

...

Unpack

...

the

...

javadocs.

...

Create

...

a

...

new

...

directory

...

in

...

/www/cxf.apache.org/javadoc

...

to

...

match

...

the

...

version

...

number

...

and

...

then

...

unpack

...

the

...

cxf-bundle/

...

$version/*-javadoc.jar

...

from

...

the

...

maven

...

repo

...

into

...

that

...

new

...

directory.

...

Update

...

the

...

Navigation

...

page

...

in

...

confluence

...

to

...

point

...

to

...

the

...

new

...

javadoc

...

dir.

...

Finally,

...

update

...

the

...

download

...

pages.

...