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, ant_1_7, mavenDep, plexus_0_16-bootstrap, junit_3_8_1}: stdenv.mkDerivation rec {
|
||||
pname = "plexus-compiler-api";
|
||||
version = "1.0";
|
||||
outJar = "plexus-compiler-api.jar";
|
||||
org = "plexus";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codehaus-plexus";
|
||||
repo = "plexus-compiler";
|
||||
rev = "15018cfcbfe63677eff50cbe54366a08e431766f";
|
||||
hash = "sha256-ua6T54OHbCwNOcldnHBZ/cYogBlKtBNmbGlyIoi3FLw=";
|
||||
};
|
||||
|
||||
patches = [./plexus-compiler-api.patch];
|
||||
|
||||
nativeBuildInputs = [jdk6 ant_1_7
|
||||
(mavenDep plexus_0_16-bootstrap {})
|
||||
(mavenDep junit_3_8_1 {})];
|
||||
|
||||
env = {
|
||||
JAVA_HOME="${jdk6}";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
ant
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r ./target/plexus-compiler-api.jar $out/plexus-compiler-api.jar
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user