Contents

Maven Update

This page hosts information about the next major Maven update (Maven 2.2.1 and Maven 3) in Fedora. If you wish to help out with it, please feel free to contact Deepak or Alexander for pointers.

Maven 2.2.1

The spec file for 2.2.1 will be written from scratch, as the current 2.0.x spec file has gotten convoluted over time, and is no longer maintainable. Another major change for the maven 2.2.1 set will be that plugins will not longer come from the maven2 srpm. Instead, each plugin will have its own rpm.

NOTE: To avoid breaking rawhide, we have a specified target for this task, the build instruction is "make build TARGET=dist-f14-maven221", and scratch build instruction is "koji build --scratch dist-f14-maven221 <src.rpm>".

NOTE: Non core plugins (i.e. not needed to build maven itself) are not listed here but on a different page. See the list here.

Progress

Because maven updates (especially this one) are such a major undertaking, issues need to be tackled in stages. The current plan is as follows:

Item

Owner

Status

Build bootstrap rpm with a single version (wherever possible) of each dependency

Dependency Info

Preliminary build has yielded some data about updates/new packages. This list should not be considered 100% accurate yet as some items that are being considered "OK" due to higher version, might cause errors. And vice-versa, items with lower versions may work perfectly fine.

Items with a strikethrough were needed with upstream build, but are no longer needed.

Jars pulled

Package

Required Version

Version in Rawhide

Status (For now)

asm:asm:3.1
asm:asm-commons:3.1
asm:asm-tree:3.1
asm:asm-util:3.1

objectweb-asm

3.1

3.1

OK

backport-util-concurrent:backport-util-concurrent:3.1

backport-util-concurrent

3.1

3.1

OK

bsh:bsh:1.3.0

bsh

1.3.0

1.3.0

OK

classworlds:classworlds:1.1

classworlds

1.1

1.1

OK

com:jcraft:jsch:0.1.38

jsch

0.1.38

0.1.41

OK

commons-cli:commons-cli:1.2

jakarta-commons-cli

1.2

1.1

OK

commons-codec:commons-codec:1.2

jakarta-commons-codec

1.2

1.4

OK

commons-collections:commons-collections:3.2

jakarta-commons-collections

3.2

3.2.1

OK

commons-httpclient:commons-httpclient:3.1

jakarta-commons-httpclient

3.1

3.1

OK

commons-io:commons-io:1.4

jakarta-commons-io

1.4

1.4

OK

commons-lang:commons-lang:2.3

jakarta-commons-lang

2.3

2.3

OK

commons-logging:commons-logging:1.0.4

jakarta-commons-logging

1.0.4

1.0.4

OK

easymock:easymock:1.2_Java1.3

easymock

1.2

1.2

OK

edu/umd/cs/mtc:multithreadedtc-jdk14:1.01

multithreadedtc

1.01

1.01

OK

jdom:jdom:1.0

jdom

1.0

1.0

OK

junit:junit:3.8.1

junit

3.8.1

3.8.2

OK

nekohtml:nekohtml:1.9.6.2
nekohtml:xercesMinimal:1.9.6.2

nekohtml

1.9.6.2

0.9.5

OK

net/sf/retrotranslator:retrotranslator-runtime:1.2.7

retrotranslator

1.2.7

None

New package? yyang (we should not need this one if multitreadedtc is build without it)

Maven 3

Maven 3 has been packaged. Package name: maven

Ideas/Improvements

Every package installing maven poms/depmaps should have "Provides: groupId:artifactId". Maven could then be updated with another resolver that would ask packagekit for given groupId:artifactId when resolving dependencies during compile/install phase. This should work similar to how bash currently suggest installing package if it fails to find command.