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,33 @@
|
||||
{stdenv, fetchFromGitHub, jdk6, maven_2-boostrap-3, mavenDep, plexus-components-pom, plexus-compiler-pom}: stdenv.mkDerivation rec {
|
||||
pname = "plexus-compiler-api";
|
||||
version = "1.2-SNAPSHOT";
|
||||
outJar = "plexus-compiler-api-1.2-SNAPSHOT.jar";
|
||||
outPom = "pom.xml";
|
||||
org = "plexus";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codehaus-plexus";
|
||||
repo = "plexus-pom";
|
||||
rev = "8e56595aa5c89ba6fc76bac2bd8426333e2495bb";
|
||||
hash = "sha256-C84gYXqfE+7aofPIALChnbOSB39ZRrg0ZoHgQ5B2ATg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [jdk6 maven_2-boostrap-3
|
||||
(mavenDep plexus-components-pom {})
|
||||
(mavenDep plexus-compiler-pom {})];
|
||||
|
||||
env = {
|
||||
JAVA_HOME="${jdk6}";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
cd plexus-components/plexus-compiler/plexus-compiler-api
|
||||
m2 jar:jar
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp ./target/plexus-compiler-api-1.2-SNAPSHOT.jar $out/plexus-compiler-api-1.2-SNAPSHOT.jar
|
||||
cp ./pom.xml $out/pom.xml
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user