2006-03-31 14:10:20 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
unpackPhase
|
|
|
|
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r $name/* $out
|
|
|
|
|
2009-11-25 08:51:06 +01:00
|
|
|
wrapProgram $out/bin/mvn --set JAVA_HOME "$jdk"
|
2006-04-02 19:12:52 +02:00
|
|
|
|
|
|
|
# Add the maven-axis and JIRA plugin by default when using maven 1.x
|
|
|
|
if [ -e $out/bin/maven ]
|
|
|
|
then
|
|
|
|
export OLD_HOME=$HOME
|
|
|
|
export HOME=.
|
|
|
|
$out/bin/maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-axis-plugin -Dversion=0.7
|
|
|
|
export HOME=OLD_HOME
|
|
|
|
fi
|