more maven work
This commit is contained in:
1 parent
8292f027a9
commit
cea6bb299a
40 files changed
+836
-122
No files matched your search
@@ -0,0 +1,32 @@
|
||||
{stdenv, fetchFromGitHub, jdk6, maven_2_alpha_3, plexus-pom}: stdenv.mkDerivation rec {
|
||||
pname = "plexus-container-default";
|
||||
version = "1.0-alpha-8";
|
||||
outJar = "dwawda";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codehaus-plexus";
|
||||
repo = "plexus-pom";
|
||||
rev = "f29e398e3f3c7012c78d25c7db7fcc94048b580d";
|
||||
hash = "sha256-JTZ516eTqw6QEkGuguKwJu5ftfbktqjl+d5zBVLhPXk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [jdk6 maven_2_alpha_3];
|
||||
|
||||
env = {
|
||||
JAVA_HOME="${jdk6}";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
#ln -s $ {plexus-pom}/pom.xml /build/.maven/repository/org.codehaus.plexus/poms/plexus-1.0.4.pom
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
cd plexus-containers/plexus-container-default
|
||||
m2
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r ./dist/* $out/
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user