Browse Source

Merge pull request #20444 from NeQuissimus/java_packages

Java packages
nixos-19.03
Daniel Peebles 5 years ago committed by GitHub
parent
commit
1f779398c9
  1. 5
      pkgs/build-support/fetchurl/mirrors.nix
  2. 14
      pkgs/development/java-modules/apache/ant-launcher.nix
  3. 14
      pkgs/development/java-modules/apache/ant.nix
  4. 25
      pkgs/development/java-modules/apache/commons-cli.nix
  5. 14
      pkgs/development/java-modules/apache/commons-io.nix
  6. 36
      pkgs/development/java-modules/apache/commons-lang.nix
  7. 14
      pkgs/development/java-modules/apache/commons-lang3.nix
  8. 14
      pkgs/development/java-modules/apache/commons-logging-api.nix
  9. 14
      pkgs/development/java-modules/apache/xbean-reflect.nix
  10. 14
      pkgs/development/java-modules/beanshell/bsh.nix
  11. 34
      pkgs/development/java-modules/build-maven-package.nix
  12. 25
      pkgs/development/java-modules/classworlds/classworlds.nix
  13. 77
      pkgs/development/java-modules/collections.nix
  14. 15
      pkgs/development/java-modules/eclipse/aether-util.nix
  15. 15
      pkgs/development/java-modules/findbugs/jsr305.nix
  16. 15
      pkgs/development/java-modules/google/collections.nix
  17. 15
      pkgs/development/java-modules/hamcrest/all.nix
  18. 15
      pkgs/development/java-modules/hamcrest/core.nix
  19. 61
      pkgs/development/java-modules/junit/default.nix
  20. 15
      pkgs/development/java-modules/log4j/default.nix
  21. 21
      pkgs/development/java-modules/m2install.nix
  22. 43
      pkgs/development/java-modules/maven-hello/default.nix
  23. 147
      pkgs/development/java-modules/maven-minimal.nix
  24. 14
      pkgs/development/java-modules/maven/archiver.nix
  25. 47
      pkgs/development/java-modules/maven/artifact-manager.nix
  26. 69
      pkgs/development/java-modules/maven/artifact.nix
  27. 36
      pkgs/development/java-modules/maven/common-artifact-filters.nix
  28. 47
      pkgs/development/java-modules/maven/core.nix
  29. 14
      pkgs/development/java-modules/maven/dependency-tree.nix
  30. 36
      pkgs/development/java-modules/maven/doxia-sink-api.nix
  31. 25
      pkgs/development/java-modules/maven/enforcer.nix
  32. 47
      pkgs/development/java-modules/maven/error-diagnostics.nix
  33. 14
      pkgs/development/java-modules/maven/filtering.nix
  34. 58
      pkgs/development/java-modules/maven/model.nix
  35. 47
      pkgs/development/java-modules/maven/monitor.nix
  36. 25
      pkgs/development/java-modules/maven/plugin-annotations.nix
  37. 58
      pkgs/development/java-modules/maven/plugin-api.nix
  38. 47
      pkgs/development/java-modules/maven/plugin-descriptor.nix
  39. 47
      pkgs/development/java-modules/maven/plugin-parameter-documenter.nix
  40. 47
      pkgs/development/java-modules/maven/plugin-registry.nix
  41. 14
      pkgs/development/java-modules/maven/plugin-testing-harness.nix
  42. 47
      pkgs/development/java-modules/maven/profile.nix
  43. 58
      pkgs/development/java-modules/maven/project.nix
  44. 47
      pkgs/development/java-modules/maven/reporting-api.nix
  45. 47
      pkgs/development/java-modules/maven/repository-metadata.nix
  46. 47
      pkgs/development/java-modules/maven/settings.nix
  47. 14
      pkgs/development/java-modules/maven/shared-incremental.nix
  48. 14
      pkgs/development/java-modules/maven/shared-utils.nix
  49. 25
      pkgs/development/java-modules/maven/surefire-api.nix
  50. 25
      pkgs/development/java-modules/maven/surefire-booter.nix
  51. 25
      pkgs/development/java-modules/maven/surefire-common.nix
  52. 14
      pkgs/development/java-modules/maven/surefire-junit4.nix
  53. 36
      pkgs/development/java-modules/maven/toolchain.nix
  54. 120
      pkgs/development/java-modules/mavenPlugins.nix
  55. 15
      pkgs/development/java-modules/mojo/animal-sniffer.nix
  56. 14
      pkgs/development/java-modules/mojo/java-boot-classpath-detector.nix
  57. 15
      pkgs/development/java-modules/ow2/asm-all.nix
  58. 25
      pkgs/development/java-modules/plexus/archiver.nix
  59. 14
      pkgs/development/java-modules/plexus/build-api.nix
  60. 25
      pkgs/development/java-modules/plexus/classworlds.nix
  61. 14
      pkgs/development/java-modules/plexus/compiler-api.nix
  62. 14
      pkgs/development/java-modules/plexus/compiler-javac.nix
  63. 14
      pkgs/development/java-modules/plexus/compiler-manager.nix
  64. 14
      pkgs/development/java-modules/plexus/component-annotations.nix
  65. 36
      pkgs/development/java-modules/plexus/container-default.nix
  66. 14
      pkgs/development/java-modules/plexus/digest.nix
  67. 14
      pkgs/development/java-modules/plexus/i18n.nix
  68. 14
      pkgs/development/java-modules/plexus/interactivity-api.nix
  69. 47
      pkgs/development/java-modules/plexus/interpolation.nix
  70. 14
      pkgs/development/java-modules/plexus/io.nix
  71. 179
      pkgs/development/java-modules/plexus/utils.nix
  72. 851
      pkgs/development/java-modules/poms.nix
  73. 14
      pkgs/development/java-modules/sisu/guice.nix
  74. 14
      pkgs/development/java-modules/sisu/inject-bean.nix
  75. 14
      pkgs/development/java-modules/sisu/inject-plexus.nix
  76. 14
      pkgs/development/java-modules/xerces/impl.nix
  77. 14
      pkgs/development/java-modules/xml-apis/default.nix
  78. 4
      pkgs/top-level/all-packages.nix
  79. 312
      pkgs/top-level/java-packages.nix

5
pkgs/build-support/fetchurl/mirrors.nix

@ -399,4 +399,9 @@ rec {
https://archive.mozilla.org/pub/
];
# Maven Central
maven = [
http://repo1.maven.org/maven2/
http://central.maven.org/maven2/
];
}

14
pkgs/development/java-modules/apache/ant-launcher.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
antLauncher_1_8_2 = map (obj: fetchMaven {
version = "1.8.2";
artifactId = "ant-launcher";
groupId = "org.apache.ant";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3h1xmlamkh39lz3dgpbyxj0mai9a266qmxkcyb7kqpzkl0xxvgyi8i2l4nnn02n4qbxznhmvsba77v52ldh67qmhxk3vw1q3xqnn2xx"; }
{ type = "pom"; sha512 = "3fvz9di9lbfgy5370gwwdp2d380gl42sn44kr97l8i7k0n9crrbjrxs2dpy9cnsnnavvk14nrrkc72n9f1gkg1dvdxqpxlwm0y9lxhy"; }
];
}

14
pkgs/development/java-modules/apache/ant.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
ant_1_8_2 = map (obj: fetchMaven {
version = "1.8.2";
artifactId = "ant";
groupId = "org.apache.ant";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3x9m09i4kn57avkjbz57v1chx0356lp4mz77adslcbmr59gxfs3km1f4dq3lm1nxspldwxqk654yzh5sgrcfz13r1zlg3bvlsjbb1bs"; }
{ type = "pom"; sha512 = "2h8ajn6x40cn8cicx3h167blkv9p6478l610xrp2n1k1zlfnh1rz2kcsi74gy7psb4h98118p3zp90gvw4h8gsphz1n30f3c96qnpiq"; }
];
}

25
pkgs/development/java-modules/apache/commons-cli.nix

@ -0,0 +1,25 @@
{ fetchMaven }:
rec {
commonsCli_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "commons-cli";
groupId = "commons-cli";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1pm5ba95viabcgpjhsqw21iwis9ajn8hwpyc6rzs9frr5k62hs7lj8darxmmp21hf14mxrs37a8swayhagq6i6g8js4nl4r8mmwjlvp"; }
{ type = "jar"; sha512 = "0ybdbpfzadkncwcmnzkscbp2fhmcsqmpy60qppz7s8hs00hgqy64jr4qpdyz5bj0l4bc434vn0pv4gzxzi7y1lhh7b2rk4zv1mgs3ff"; }
];
commonsCli_1_2 = map (obj: fetchMaven {
version = "1.2";
artifactId = "commons-cli";
groupId = "commons-cli";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "3lrjnrkq0vq1mjp1z6zbi6x0x45hj20yvs74aqnpzayd0prwv22hyfyadgrj343is54s6m2p5mx2kpziqz9wcih5hmwg5f80ni8mxp7"; }
{ type = "jar"; sha512 = "2mdzpng0cybpnw5dw1q4dmpn2i89zhg13m8xjv8pdbn5q28zsf8m3m7w0y8irbjyplwrfdrxipkxxvnz5f61bxi4s85hnm0sc84d3qb"; }
];
}

14
pkgs/development/java-modules/apache/commons-io.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
commonsIo_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "commons-io";
groupId = "commons-io";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "30bzhsnn2vhi3wfmkas58spl6sxvl9rvwkzaqf9z1lr3iz4iym6x1xgspgq1dvy7pwr7ajny1dfpj1l6vzh7adqm2b4pidjf2w00fp2"; }
{ type = "jar"; sha512 = "14b2kcjsn12cnrl1qc7v7r48m9vmpw5h9jljhsx58ac8xrlb8g6l71j9lnhp8cf8vc3jwz4drrwn4l9p3r5sk02cparl3h2r0y4cp2c"; }
];
}

36
pkgs/development/java-modules/apache/commons-lang.nix

@ -0,0 +1,36 @@
{ fetchMaven }:
rec {
commonsLang_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "commons-lang";
groupId = "commons-lang";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1hr3q67cn0nk5kn9vdfs8155cw814jf20jk7dsn3cn0a6l2j6dx297z6akz5f62dkkn0nj4pac7z4wvnawisnvzhpg6q6qhwj7wwc8n"; }
{ type = "jar"; sha512 = "2phbi7q2k3v48gyys7s0yw8xaa9kpczwif5jfqgfarzf7il1r0vplpwgwcnlsxpifjjnap7lw0yq38zp0mbajp7h8p5z0qp7gisa4m3"; }
];
commonsLang_2_3 = map (obj: fetchMaven {
version = "2.3";
artifactId = "commons-lang";
groupId = "commons-lang";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "0i94xb3fgq0ig0aids9r1h1kblhlf762gsjxh422ra23saa4474q4iywgfk596bpcflngf2sarq8ch6lw09p0g43779d23b74bd939n"; }
{ type = "jar"; sha512 = "1f30pryvd39m2yazflzy5l1h4l473dj8ccrd9v8z8lb6iassn4xc142f2snkzxlc7ncqsi6fbfd3zfxsy8afivmxmxds6mbsrxayqwk"; }
];
commonsLang_2_6 = map (obj: fetchMaven {
version = "2.6";
artifactId = "commons-lang";
groupId = "commons-lang";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "2b3yp5bawbh9b0gh56g35x03swrjv2c5jpvwjwric7ywadaf4p6cw1kmabldmi0y3rja5cypz7gfdm1pwdrpr9lmi48ijjssimmgsh1"; }
{ type = "jar"; sha512 = "11gnsj6c1rz61j19wnr0j5rbdnl63hq9axwm7wwampmdq70n3m1szbn014phl8y3nccvrq2ifcgwb48q6jwqs50rki4bij196z3snja"; }
];
}

14
pkgs/development/java-modules/apache/commons-lang3.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
commonsLang3_3_1 = map (obj: fetchMaven {
version = "3.1";
artifactId = "commons-lang3";
groupId = "org.apache.commons";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "0msypmqn5q4sxks97zbvi85rq2zclkyz8j09riqw7c95n96nyv7x3pysi83vdgc53d0lhl4apkp7warl52xq1qzdyjxipjdlhqmhdcw"; }
{ type = "jar"; sha512 = "3lw2naanwxjqrwgbg5ij6abzlkch0l6bcx44sl4a59m2r5fi2rvmc07pqai2l9kqwql05fyx9h1md5jjh2wzia15rqnvwssprykjwvi"; }
];
}

14
pkgs/development/java-modules/apache/commons-logging-api.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
commonsLoggingApi_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "commons-logging-api";
groupId = "commons-logging";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "3fp3d08l6m1xmma6pz7hvkvj5isbnyjimgvxf4plrwqmalifw0ywjbal5r5kmmrdlcda7l49mxdsv43ygglm9g22dzkbhdqlhlrn934"; }
{ type = "jar"; sha512 = "316dgnyhwai9n8dqjkp9chkkbhkyli9mfbgsj8ch6cdpmzmcvzirnjj7z1xbxm7v8hlybqhyaf5075pxwz3cg1w5ih3rhwjfi19f8dq"; }
];
}

14
pkgs/development/java-modules/apache/xbean-reflect.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
xbeanReflect_3_4 = map (obj: fetchMaven {
version = "3.4";
artifactId = "xbean-reflect";
groupId = "org.apache.xbean";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1nny6dcwif0kd0kr2l55j2l5rb1aw8l2f2fbhanj6j48zhcz3vv1wx5xi0l6vg4j70y12fxyg1kyn4lq0bx19by19r73k06wlxs001k"; }
{ type = "jar"; sha512 = "3w22jbm4sii16lzkzwi6hv5zbid5jw8dv356q9hr0pnb8d4gm6ypl2pjqj0brzmpq9pydqya14wk798ddjalqjh25rl2ry9qhjx3hlm"; }
];
}

14
pkgs/development/java-modules/beanshell/bsh.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
bsh_2_0_b4 = map (obj: fetchMaven {
version = "2.0b4";
artifactId = "bsh";
groupId = "org.beanshell";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1xgl3zw2gaca7f09224k3bi22dqdcd589c5jqk7p87s6dlbaai8sivklbq225yxmcpmwsi98r0a6xlgxnxnhk3b0qplf1bj4qp17dx9"; }
{ type = "jar"; sha512 = "1idcadxcphpqh2f6qjijd2gdcklcv9qmv1aalh2z5rk5vipqm89hm05lwjapw2gy5x5q1grzxraalnspbhacrrwm15np07580k6vki9"; }
];
}

34
pkgs/development/java-modules/build-maven-package.nix

@ -0,0 +1,34 @@
{ stdenv, maven, pkgs }:
{ mavenDeps, src, name, meta, m2Path, skipTests ? true, quiet ? true, ... }:
with builtins;
with stdenv.lib;
let
mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv maven; };
in stdenv.mkDerivation rec {
inherit mavenDeps src name meta m2Path;
flatDeps = unique (flatten (mavenDeps ++ mavenMinimal.mavenMinimal));
propagatedBuildInput = [ maven ] ++ flatDeps;
find = ''find ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}'';
copy = ''cp -rsfu ${foldl' (x: y: x + " " + y) "" (map (x: x + "/m2/*") flatDeps)} $out/m2'';
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = ''
mkdir -p $out/target
mkdir -p $out/m2/${m2Path}
${optionalString (length flatDeps > 0) find}
${optionalString (length flatDeps > 0) copy}
if [ -f $out/m2/settings.xml ]; then rm $out/m2/settings.xml; fi
echo "<settings><mirrors>\
<mirror><id>tmpm2</id><url>file://$out/m2</url><mirrorOf>*</mirrorOf></mirror></mirrors>\
<localRepository>$out/m2/</localRepository></settings>" >> $out/m2/settings.xml
${maven}/bin/mvn ${optionalString (quiet) "-q"} clean package -Dmaven.test.skip=${if skipTests then "true" else "false"} -Danimal.sniffer.skip=true -gs $out/m2/settings.xml
cp ./target/*.jar $out/m2/${m2Path}
cp -v ./target/*.jar $out/target/
'';
}

25
pkgs/development/java-modules/classworlds/classworlds.nix

@ -0,0 +1,25 @@
{ fetchMaven }:
rec {
classworlds_1_1_alpha2 = map (obj: fetchMaven {
version = "1.1-alpha-2";
artifactId = "classworlds";
groupId = "classworlds";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "027b0s13ck41wg75z7bz1zxazdxp56llxlg4z9kp01wys1sbkng8s0i0mxyvjaq61q5lg2gfrxypnzg7vha23vq57hkdhwyksjdcd5c"; }
{ type = "jar"; sha512 = "36vir8jja85cg7khaf2qjln7m8q5iq0n43vvkxkwwngv67ffpvqqz6j1fscvl16hzb0nf6j9gzkcrgk3mk9jl49vrj3fw7c173m4xzb"; }
];
classworlds_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "classworlds";
groupId = "classworlds";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "202zfp93ly15q5iamjwy2vsrip8i87pmv5pqyxl9v7wvcmd4flyhlhkkx7hw9jy82dbzglrs2jklsm96dy22nv1njm5dw5kbzarhakq"; }
{ type = "jar"; sha512 = "1cs8v7hhbgwfmlx4dm7r78mki5vk0gjn798qy4w1qzkz90hf9yl52srpjair2fg96qsmk22nd73r92vdmjji65l75ji3kfghzx9872x"; }
];
}

77
pkgs/development/java-modules/collections.nix

@ -0,0 +1,77 @@
{ pkgs }:
with pkgs.javaPackages;
rec {
mavenLibs_2_0_1 = [
mavenArtifact_2_0_1
mavenArtifactManager_2_0_1
mavenCore_2_0_1
mavenErrorDiagnostics_2_0_1
mavenModel_2_0_1
mavenMonitor_2_0_1
mavenPluginApi_2_0_1
mavenPluginDescriptor_2_0_1
mavenPluginParameterDocumenter_2_0_1
mavenPluginRegistry_2_0_1
mavenProfile_2_0_1
mavenProject_2_0_1
mavenReportingApi_2_0_1
mavenRepositoryMetadata_2_0_1
mavenSettings_2_0_1
];
mavenLibs_2_0_6 = [
mavenArtifact_2_0_6
mavenArtifactManager_2_0_6
mavenCore_2_0_6
mavenErrorDiagnostics_2_0_6
mavenModel_2_0_6
mavenMonitor_2_0_6
mavenPluginApi_2_0_6
mavenPluginDescriptor_2_0_6
mavenPluginParameterDocumenter_2_0_6
mavenPluginRegistry_2_0_6
mavenProfile_2_0_6
mavenProject_2_0_6
mavenReportingApi_2_0_6
mavenRepositoryMetadata_2_0_6
mavenSettings_2_0_6
];
mavenLibs_2_0_9 = [
mavenArtifact_2_0_9
mavenArtifactManager_2_0_9
mavenCore_2_0_9
mavenErrorDiagnostics_2_0_9
mavenModel_2_0_9
mavenMonitor_2_0_9
mavenPluginApi_2_0_9
mavenPluginDescriptor_2_0_9
mavenPluginParameterDocumenter_2_0_9
mavenPluginRegistry_2_0_9
mavenProfile_2_0_9
mavenProject_2_0_9
mavenReportingApi_2_0_9
mavenRepositoryMetadata_2_0_9
mavenSettings_2_0_9
];
mavenLibs_2_2_1 = [
mavenArtifact_2_2_1
mavenArtifactManager_2_2_1
mavenCore_2_2_1
mavenErrorDiagnostics_2_2_1
mavenModel_2_2_1
mavenMonitor_2_2_1
mavenPluginApi_2_2_1
mavenPluginDescriptor_2_2_1
mavenPluginParameterDocumenter_2_2_1
mavenPluginRegistry_2_2_1
mavenProfile_2_2_1
mavenProject_2_2_1
mavenReportingApi_2_2_1
mavenRepositoryMetadata_2_2_1
mavenSettings_2_2_1
];
}

15
pkgs/development/java-modules/eclipse/aether-util.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
aetherUtil_0_9_0_M2 = map (obj: fetchMaven {
version = "0.9.0.M2";
artifactId = "aether-util";
groupId = "org.eclipse.aether";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "1qh3vzdf33fffsry9256vbaskhp0xsw1d8s7c429a1hiyz8qi9p2sqsh2mqj5vrfj0mxri1nm68pv0nm9fhqzrwfy6f2sihl8rp7df1"; }
{ type = "pom"; sha512 = "2a0z5r5avm7gfkabkha6h1b0gbnma725dqby9wz6lhhkwqhn3zmdr69a0ll6vfh1mv0ir4spcr02hi61xlng4lakdlmwllm0g5ixaiz"; }
];
}

15
pkgs/development/java-modules/findbugs/jsr305.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
findbugsJsr305_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "jsr305";
groupId = "com.google.code.findbugs";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "33flq50603n496c90981a0gsv30pgk6cnf859vdj6c8n4iq973prq847z5q8ld64j3rdmakxy9rsp49w7pddfd0v0i9n97rkr435f5k"; }
{ type = "pom"; sha512 = "2iavm6d9nmy4g2i6y7q4l68bpjpncng1qfhbxdj44l3nqi7ixcjw0y38ymial7g2z0r1kd9qydr5lawjspr0fbzpjkcln2q7gsf0hfw"; }
];
}

15
pkgs/development/java-modules/google/collections.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
googleCollections_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "google-collections";
groupId = "com.google.collections";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3vvgac799ilrmab28ya894jkyq3jj4217ix8mfyxzbkb8v0wy2rpmdbni3irrrdhc9skd0sldlcnfpvs1hjv5v07ajxlm1dbkgvqhap"; }
{ type = "pom"; sha512 = "38x885cglwmx0chqlzhx83jcrqvnwwr9qj6awx3n0xqp175qznjwn0i94rwxhyj00a7xgvvm9jvwkppwfkcdiyxmimb1z8frdhkkh7p"; }
];
}

15
pkgs/development/java-modules/hamcrest/all.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
hamcrestAll_1_3 = map (obj: fetchMaven {
version = "1.3";
artifactId = "hamcrest-all";
groupId = "org.hamcrest";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3pmh19hhwr2vcvj3wqx0m8gipilny4ap9gax1xpks4k5pwykh74w0x9iwpns7cl8r7kqd6rbq4khhc0shcmfh6gydr8ax201wc7lvb8"; }
{ type = "pom"; sha512 = "1w0byl3qy1gq2d8r66fzpffalc7pqm82iz5k3bqcxhclb60ifadmsxi1icqdhfpa29gvr5p1j5723zqpr11dk9w3p16njxc0arqxp2h"; }
];
}

15
pkgs/development/java-modules/hamcrest/core.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
hamcrestCore_1_3 = map (obj: fetchMaven {
version = "1.3";
artifactId = "hamcrest-core";
groupId = "org.hamcrest";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "14vx453pk5shchdn3sz17s5im1cq1vav19rwnybafnsq2blfn3d0xz01cf9h1gnzclivhc4wgf7vvs23wcr7iiy4nksakxcb9rswdz2"; }
{ type = "pom"; sha512 = "3rn4bs9ixdnwg916qdkjjv9m17l0ym7zj6cxaf18304wlbshxcb1fpa11rnll9g76ap0f4z8r70z3snfj6kyf6sw9xf9xpq4n1796rg"; }
];
}

61
pkgs/development/java-modules/junit/default.nix

@ -0,0 +1,61 @@
{ stdenv, pkgs, mavenbuild, fetchMaven }:
with pkgs.javaPackages;
let
poms = import (../poms.nix) { inherit fetchMaven; };
collections = import (../collections.nix) { inherit pkgs; };
in rec {
junitGen = { mavenDeps, sha512, version }: mavenbuild rec {
inherit mavenDeps sha512 version;
name = "junit-${version}";
src = pkgs.fetchFromGitHub {
inherit sha512;
owner = "junit-team";
repo = "junit4";
rev = "r${version}";
};
m2Path = "/junit/junit/${version}";
meta = {
homepage = http://junit.org/junit4/;
description = "Simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks";
license = stdenv.lib.licenses.epl10;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers;
[ nequissimus ];
};
};
junit_3_8_1 = map (obj: fetchMaven {
version = "3.8.1";
artifactId = "junit";
groupId = "junit";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "2b368057s8i61il387fqvznn70r9ndm815r681fn9i5afs1qgkw7i1d6vsn3pv2bbif1kmhb7qzcc574m3xcwc8a2mqw44b4bbxsfyl"; }
{ type = "jar"; sha512 = "25yk0lzwk46r867nhrw4hg7cvz28wb8ln9nw1dqrb6zarifl54p4h1mcz90vmih405bsk96g0qb6hn1h4df0fas3f5kma9vxfjryvwf"; }
];
junit_3_8_2 = map (obj: fetchMaven {
version = "3.8.2";
artifactId = "junit";
groupId = "junit";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "01npyfwl1f44l44x92cvqqcp58sckcjraf78dav6zgag3x6ispd9gz594nhpqckmjw0hlrkbqfxnzdcq1mlsj9rw6zyq4wk5ch8rl5j"; }
{ type = "jar"; sha512 = "2jcih102666lcm7b23rgs5cd59ww49m78c8mja52mrcm25630zw28rjqkj5lsws18k5jf75div9wkd1sxcvwvq5cvvphgyg7550i8r9"; }
];
junit_4_12 = junitGen {
mavenDeps = (with mavenPlugins; [ animalSniffer_1_11 mavenEnforcer_1_3_1 mavenReplacer_1_5_3 mavenSurefire_2_17 ])
++ collections.mavenLibs_2_0_1
++ [ aetherUtil_0_9_0_M2 ant_1_8_2 antLauncher_1_8_2 bsh_2_0_b4 commonsCli_1_2 commonsIo_2_1 commonsLang_2_3 commonsLang_2_6 hamcrestCore_1_3 mavenArtifact_2_0_8 mavenArtifact_3_0_3 mavenCommonArtifactFilters_1_2 mavenCommonArtifactFilters_1_4 mavenDependencyTree_2_1 mavenDoxiaSinkApi_1_0_alpha6 mavenDoxiaSinkApi_1_0_alpha10 mavenEnforcerApi_1_3_1 mavenEnforcerRules_1_3_1 mavenModel_3_0_3 mavenPluginApi_3_0_3 mavenPluginAnnotations_3_2 mavenPluginTestingHarness_1_1 mavenProject_2_0_8 mavenReportingApi_2_2_1 mavenSurefireApi_2_17 mavenSurefireBooter_2_17 mavenSurefireCommon_2_17 mavenToolchain_2_2_1 mojoAnimalSniffer_1_11 mojoJavaBootClasspathDetector_1_11 ow2AsmAll_4_0 plexusArchiver_1_0_alpha7 plexusClassworlds_2_4 plexusI18n_1_0_beta6 plexusUtils_1_0_5 plexusUtils_1_1 plexusUtils_1_4_9 plexusUtils_1_5_6 plexusUtils_2_0_6 sisuGuice_2_9_4 sisuInjectBean_2_1_1 sisuInjectPlexus_2_1_1 xercesImpl_2_8_0 xmlApis_1_3_03 ]
++ (with poms; [ aether_0_9_0_M2 animalSnifferParent_1_11 antParent_1_8_2 apache_1 apache_7 asmParent_4_0 beanshell_2_0_b4 codehausParent_4 commonsParent_11 commonsParent_17 doxia_1_0_alpha6 doxia_1_0_alpha10 enforcer_1_3_1 hamcrestParent_1_3 maven_2_0_1 maven_2_0_8 maven_3_0_3 mavenParent_6 mavenParent_15 mavenPluginTools_3_2 mavenReporting_2_0_1 mavenReporting_2_2_1 mavenSharedComponents_7 mavenSharedComponents_11 mojoParent_32 ow2_1_3 plexus_1_0_12 plexusComponents_1_1_4 plexusComponents_1_1_6 sisuInjectGuiceBean_2_1_1 sisuInject_2_1_1 sisuInjectGuicePlexus_2_1_1 sisuParent_2_1_1 sonatypeForgeParent_7 sonatypeParent_7 surefire_2_17 ]);
sha512 = "0bbldnf37jl855s1pdx2a518ivfifv75189vsbpylnj8530vnf8z6b2dglkcbcjgr22lp1s4m1nnplz5dmka9sr7vj055p88k27kqw9";
version = "4.12";
};
}

15
pkgs/development/java-modules/log4j/default.nix

@ -0,0 +1,15 @@
{ fetchMaven }:
rec {
log4j_1_2_12 = map (obj: fetchMaven {
version = "1.2.12";
artifactId = "log4j";
groupId = "log4j";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "23amz03i51w4vhh2wfq4fppi5qp2rzy0gqz4fdaqg4s3mz0aj86jylp7akj7aprnm28q2y1v4sj0s64qqvakj1vj020hr9y8rrifdga"; }
{ type = "pom"; sha512 = "0n5w0ywp90lllnyyxhaa7py1gapdw85jnnyyk86rm46k132q1lq6j7rh1mvzw1z01lh7bzb800r0rmgcc1mgn3fjgr9hxlr4ssm7gbx"; }
];
}

21
pkgs/development/java-modules/m2install.nix

@ -0,0 +1,21 @@
{ stdenv, fetchurl }:
{ version, artifactId, groupId, sha512, type ? "jar", suffix ? "" }:
let
name = "${artifactId}-${version}";
m2Path = "${builtins.replaceStrings ["."] ["/"] groupId}/${artifactId}/${version}";
m2File = "${name}${suffix}.${type}";
src = fetchurl rec {
inherit sha512;
url = "mirror://maven/${m2Path}/${m2File}";
};
in stdenv.mkDerivation rec {
inherit name m2Path m2File src;
installPhase = ''
mkdir -p $out/m2/$m2Path
cp $src $out/m2/$m2Path/$m2File
'';
phases = "installPhase";
}

43
pkgs/development/java-modules/maven-hello/default.nix

@ -0,0 +1,43 @@
{ stdenv, pkgs, mavenbuild }:
with pkgs.javaPackages;
let
poms = import ../poms.nix { inherit fetchMaven; };
in rec {
mavenHelloRec = { mavenDeps, sha512, version, skipTests ? true, quiet ? true }: mavenbuild rec {
inherit mavenDeps sha512 version skipTests quiet;
name = "maven-hello-${version}";
src = pkgs.fetchFromGitHub {
inherit sha512;
owner = "NeQuissimus";
repo = "maven-hello";
rev = "v${version}";
};
m2Path = "/com/nequissimus/maven-hello/${version}";
meta = {
homepage = http://github.com/NeQuissimus/maven-hello/;
description = "Maven Hello World";
license = stdenv.lib.licenses.unlicense;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers;
[ nequissimus ];
};
};
mavenHello_1_0 = mavenHelloRec {
mavenDeps = [];
sha512 = "3kv5z1i02wfb0l5x3phbsk3qb3wky05sqn4v3y4cx56slqfp9z8j76vnh8v45ydgskwl2vs9xjx6ai8991mzb5ikvl3vdgmrj1j17p2";
version = "1.0";
};
mavenHello_1_1 = mavenHelloRec {
mavenDeps = [ junit_4_12 mavenSurefireJunit4_2_12_4 hamcrestCore_1_3 ] ++ (with poms; [ surefireProviders_2_12_4 ]);
sha512 = "2f13592blvfgwad61174fza99ncb5jlch4sjjindk1pcaixqw26fnjfxb4ck80cknkihvcsylhviyfvhpm1ivvpg0zkicxva37cr4ri";
version = "1.1";
skipTests = false;
quiet = false;
};
}

147
pkgs/development/java-modules/maven-minimal.nix

@ -0,0 +1,147 @@
{ stdenv, pkgs, maven }:
with stdenv.lib;
with pkgs.javaPackages;
let
collections = import ./collections.nix { inherit pkgs; };
fetchMaven = pkgs.callPackage ./m2install.nix { };
plugins = import ./mavenPlugins.nix { inherit stdenv pkgs maven; };
poms = import ./poms.nix { inherit fetchMaven; };
in rec {
# Maven needs all of these to function
mavenMinimal = flatten
collections.mavenLibs_2_0_6
++ collections.mavenLibs_2_0_9
++ collections.mavenLibs_2_2_1
++ [
classworlds_1_1_alpha2
classworlds_1_1
commonsCli_1_0
commonsLang_2_1
commonsLang3_3_1
commonsLoggingApi_1_1
findbugsJsr305_2_0_1
googleCollections_1_0
junit_3_8_1
junit_3_8_2
log4j_1_2_12
mavenArchiver_2_5
mavenCommonArtifactFilters_1_3
mavenDoxiaSinkApi_1_0_alpha7
mavenFiltering_1_1
mavenPluginAnnotations_3_1
mavenSharedIncremental_1_1
mavenSharedUtils_0_1
mavenSurefireApi_2_12_4
mavenSurefireBooter_2_12_4
mavenSurefireCommon_2_12_4
mavenToolchain_1_0
mavenToolchain_2_0_9
plexusArchiver_2_1
plexusBuildApi_0_0_4
plexusClassworlds_2_2_2
plexusCompilerApi_2_2
plexusCompilerJavac_2_2
plexusCompilerManager_2_2
plexusComponentAnnotations_1_5_5
plexusContainerDefault_1_0_alpha9
plexusContainerDefault_1_0_alpha9_stable1
plexusContainerDefault_1_5_5
plexusDigest_1_0
plexusInteractivityApi_1_0_alpha4
plexusInterpolation_1_11
plexusInterpolation_1_12
plexusInterpolation_1_13
plexusInterpolation_1_15
plexusIo_2_0_2
plexusUtils_1_0_4
plexusUtils_1_4_1
plexusUtils_1_4_5
plexusUtils_1_5_1
plexusUtils_1_5_5
plexusUtils_1_5_8
plexusUtils_1_5_15
plexusUtils_2_0_5
plexusUtils_3_0
plexusUtils_3_0_5
plexusUtils_3_0_8
xbeanReflect_3_4
] ++ (with plugins; [
mavenClean_2_5
mavenCompiler_3_1
mavenInstall_2_4
mavenJar_2_4
mavenResources_2_6
mavenSurefire_2_12_4
]) ++ (with poms; [
apache_3
apache_4
apache_5
apache_6
apache_9
apache_10
apache_11
apache_13
backportUtilConcurrent_3_1
commonsParent_22
doxia_1_0_alpha7
googleParent_1
jclOverSlf4j_1_5_6
maven_2_0_6
maven_2_0_9
maven_2_2_1
mavenParent_5
mavenParent_8
mavenParent_11
mavenParent_13
mavenParent_21
mavenParent_22
mavenParent_23
mavenPlugins_22
mavenPlugins_23
mavenPlugins_24
mavenPluginTools_3_1
mavenReporting_2_0_6
mavenReporting_2_0_9
mavenSharedComponents_12
mavenSharedComponents_17
mavenSharedComponents_18
mavenSharedComponents_19
plexus_1_0_4
plexus_1_0_8
plexus_1_0_11
plexus_2_0_2
plexus_2_0_3
plexus_2_0_6
plexus_2_0_7
plexus_3_0_1
plexus_3_1
plexus_3_2
plexus_3_3_1
plexusCipher_1_4
plexusCompiler_2_2
plexusCompilers_2_2
plexusComponents_1_1_7
plexusComponents_1_1_14
plexusComponents_1_1_15
plexusComponents_1_1_19
plexusComponents_1_3_1
plexusContainers_1_0_3
plexusContainers_1_5_5
plexusSecDispatcher_1_3
slf4jApi_1_5_6
slf4jJdk14_1_5_6
slf4jParent_1_5_6
sonatypeForgeParent_3
sonatypeForgeParent_4
sonatypeForgeParent_5
sonatypeForgeParent_10
sonatypeSpiceParent_10
sonatypeSpiceParent_12
sonatypeSpiceParent_16
sonatypeSpiceParent_17
surefire_2_12_4
xbean_3_4
]);
}

14
pkgs/development/java-modules/maven/archiver.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
mavenArchiver_2_5 = map (obj: fetchMaven {
version = "2.5";
artifactId = "maven-archiver";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "0wx6248rn0821nnag659mm1n77r56chgx2lr26x81l7apx4zkc2nidjzy2d73snkir98h9bmcz09wnx21pkrq8mk50x7mjgkc0yziky"; }
{ type = "pom"; sha512 = "1rfnwxnk45084rdc52a17bmg8zfyylq1m38wvp956xy455abjvxpnp7il7xpkq6wv16f3bq5yx35hk1b9nycw19w6123rz4v5cs3b0b"; }
];
}

47
pkgs/development/java-modules/maven/artifact-manager.nix

@ -0,0 +1,47 @@
{ fetchMaven }:
rec {
mavenArtifactManager_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-artifact-manager";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "0xciyvsl2l6fnd5k5dbhz5iih66fgacdagcrflk6cfiiv3qng5zrhx61v9fbjr0fpxbj7rswkczv7vn46359nlkb80513jwhzs8gqwv"; }
{ type = "pom"; sha512 = "1j20ygljm0qa10ryw72j9q4jlwnsjdrcdg08a10ar456zi8gxzszp5cd0xsp0j29q69bp3wck2ggfr028v0zxivxgvakm4fa6l33sya"; }
];
mavenArtifactManager_2_0_6 = map (obj: fetchMaven {
version = "2.0.6";
artifactId = "maven-artifact-manager";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "1alp2iahaaf39yd3xp8817sz93nhz53flkkv5dx87vybsizpykb1g7jn6bnx0cbqqr9k5pi27z8mbkmry05vwqc6jyic1pyvzy1y3vn"; }
{ type = "pom"; sha512 = "3pvj8gpcg57akalj4574k4mzw2skgm0w69bdvh0ivyd8skgdrf5gwxf57hl5rbgsdpr82m2za7yvi63fw82k7v84sib904fs639r3pf"; }
];
mavenArtifactManager_2_0_9 = map (obj: fetchMaven {
version = "2.0.9";
artifactId = "maven-artifact-manager";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "1vvxf2dannx9p2qvlbmrxfni5mc0f3722p3bcdz6bk3z4dhb2hlw2wx17nvirq5r3k43azgp13mg0638saz7v1g23f07n9yzm979f0p"; }
{ type = "pom"; sha512 = "2v7371gsarjb4s2bp5vclqgdg82mh7nzy7af31g9z20q2r6ndw024xa8bpcxp227yv83lpawbhq0ysg0glnw9ql54100h9hbllam0p8"; }
];
mavenArtifactManager_2_2_1 = map (obj: fetchMaven {
version = "2.2.1";
artifactId = "maven-artifact-manager";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "04i9c4k5diyqz8hn20sxvrqkqrxxm7wxqh7xgyk3dm1hwhrqy3h29irvpb335kp8i0sxljz2p2a9cmjpx9wyl0266bj5y313whmfkr5"; }
{ type = "pom"; sha512 = "02ryc46in725q4y11l1kmy6ra01wjnfq5gqwic005wc090l2j39kn5drvn3av6g7413v9x0cksy8qcbagc2jnz6wwxn8z2g5krynw6z"; }
];
}

69
pkgs/development/java-modules/maven/artifact.nix

@ -0,0 +1,69 @@
{ fetchMaven }:
rec {
mavenArtifact_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3xmim81k0p3l7fpgr8xlbj3mcz83d1rw3nwzdlrnwh3nkc5xryxl8fx499351vjlmjs009bhd68a20v59y3flxz8hxiy07cijgcbqnx"; }
{ type = "pom"; sha512 = "30y2mirgqvdm3gdalxkzjljswh9xhygsw6v2jfrd9y61wqng2hzyn7dawkn5q4cyiknmw1b9660pvbnysvh3rbic75lhw5xqqgdjmih"; }
];
mavenArtifact_2_0_6 = map (obj: fetchMaven {
version = "2.0.6";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "3kkv5kf3k5in69aplawkr0cr2cviyjgf8k6r6qvgxk53i3jmh7qylzrwkrd9bxclkjkgyg77cffxm48qhxm9pyqncdbwjldsmmdfb4f"; }
{ type = "pom"; sha512 = "37kvfxcpfajjn9lmvh5kay4y61ri1190hxxgiil8fqfvmvcm02jcqzfi4ry0nzc80g5fsarsd3s2ns2d8l0lnqjp28nn51dixm9a55w"; }
];
mavenArtifact_2_0_8 = map (obj: fetchMaven {
version = "2.0.8";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "0i2xd2fkvp5glb7yx8zhh96px4v2yq0bgxa6xxcy6if0sn8c3vps8jmd1z3ys27jzj1gvwgg4rpa17k0nk1c8szz1v7vwvyhp7s22pi"; }
{ type = "pom"; sha512 = "37563kfswgk9yfzm46vk4nr44rncdd3y705vgg20lj4nsrqn7iwg55fx1a4f039gbaf8dzb6xwp0ypyspsx9q742wkwrsr5q41d99v7"; }
];
mavenArtifact_2_0_9 = map (obj: fetchMaven {
version = "2.0.9";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "17g913m1zbrvarkwvmz5xx9nv7mrk2984rc9pkbc2laid7n1nb226g0262xyhcnc2s57av96337ag6jg2bq9p1kgx7gbd2z6gnvkkia"; }
{ type = "pom"; sha512 = "0g0cbqihzxyaa1b0z9a7qb8lkhcm8bzxi7qnqaab2n2zaaql6jyy7cf4z4yzqw3yfj7ylqvydiwp32j2c7nqacyx0hmcydqkqg46kxv"; }
];
mavenArtifact_2_2_1 = map (obj: fetchMaven {
version = "2.2.1";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "1wfffq39ay1cdzany6x0d6h7icdqrvmj4py35a8i2aw94bc8mf6cam7lf8z7jjckhrnb7yxbqz6pj8sxsgpkwnl2q4flqaczr8nnx4j"; }
{ type = "pom"; sha512 = "099hkdbccd9cf6w64c37z1b2i54h4y0bfx5n56birikgy3s92rrl4x454gvw3wnrpvhkikwvdyw9dv03w40rn50kdwgy0mxc3zgs6l4"; }
];
mavenArtifact_3_0_3 = map (obj: fetchMaven {
version = "3.0.3";
artifactId = "maven-artifact";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "jar"; sha512 = "0f842m7wi9ajvphgshnmsn8dppiwr326yp663gic45xzkpfvka118npl8xxqnr683dipvbnbrddim974qcpz4mgpypir0922803i3qv"; }
{ type = "pom"; sha512 = "3wpambpgm68rap906gdvwlbywgjs57nkc8k05r8rx701800zbpwlrzc9b3ipxgjb7y6f2z1vi14yj9ia12wv7k8jn2aspf31pzp5plq"; }
];
}

36
pkgs/development/java-modules/maven/common-artifact-filters.nix

@ -0,0 +1,36 @@
{ fetchMaven }:
rec {
mavenCommonArtifactFilters_1_2 = map (obj: fetchMaven {
version = "1.2";
artifactId = "maven-common-artifact-filters";
groupId = "org.apache.maven.shared";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "33g4qwxxnwdzx8h5xh5gjx8ijy6cmc5iyv0jgn70hvz1zqnilr49ibzjnichyb3m77zma30zb1njgw7fbnlx177ph5h2w0radkh3m88"; }
{ type = "jar"; sha512 = "1z55x8hrb9g4kk21jsk9n4r26ncgsxinr18nmjgxsrcbaxcjhxbhx3nin24gwvcy6zh2d6gv26dng8i90ccc1qxvpmga2ahk68jfyjk"; }
];
mavenCommonArtifactFilters_1_3 = map (obj: fetchMaven {
version = "1.3";
artifactId = "maven-common-artifact-filters";
groupId = "org.apache.maven.shared";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "0kr47rinzfyir5lfzp74r6dbbrcddrxdyic7yf571jfzzlwappy77bhrdchaz3c5w94pz1vq6is6yy5nfawpgb2zr6jpi5k552cf1fz"; }
{ type = "jar"; sha512 = "060siqwk0mscxznl05lzyp72hqr9jr23l3fa9k1kdyks1hghw76cp01jbfj9ijy81n62vb6am98c1695mzpgf453kw1gxp40mwv0ryh"; }
];
mavenCommonArtifactFilters_1_4 = map (obj: fetchMaven {
version = "1.4";
artifactId = "maven-common-artifact-filters";
groupId = "org.apache.maven.shared";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "21wyk4llwjyanlggy281f9n0sjshjqvd322lbhxmzn42cd9vmj0s6xih82jwqlkcxkypwymyj1gl7van55ibd98p1jjjvr93gs1cn14"; }
{ type = "jar"; sha512 = "1bv4lp1a8sb79almnygiq0pmm0fdhy9pyakp6xhz91b4v1cqg03sb586yc4lg2934yv4jjbybqjbh4l0y3kgnanjbxdxdgxgyf14iif"; }
];
}

47
pkgs/development/java-modules/maven/core.nix

@ -0,0 +1,47 @@
{ fetchMaven }:
rec {
mavenCore_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-core";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1iv0bg9z6zmlihxnynccdq0ivgk0bdi2vk863ii59qqnqp9wqcswx0bc60hyfasjm4d8m30b60www56v6y05mjjbpir4mmrjdbxw9gd"; }
{ type = "jar"; sha512 = "04hrkgcpvxdisdgcp1mslkylm0b461mp42mylwpm6xdi9lcfdbd97k2rybvwgxd0y9r9j72ahm4fsqjb53xlz4737w96cmynpr8mrz4"; }
];
mavenCore_2_0_6 = map (obj: fetchMaven {
version = "2.0.6";
artifactId = "maven-core";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "2q4s5y8bpa73a10r4m9qgzfsczcap147p5gcc9inm5fx9x32sbr7zqw6xj7igsyjb9qsqpp3v727xv3ng57gczdqs1dazljqrgk9jal"; }
{ type = "jar"; sha512 = "2ar2qvhig92gifm4zhd7mzcm0c7cnlyvd3d089a7chlvxhrxyhf08xxpd8sxa525sa413v2d762yx2mbhnkf564i1zw4gg7cdjl5z47"; }
];
mavenCore_2_0_9 = map (obj: fetchMaven {
version = "2.0.9";
artifactId = "maven-core";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "1a17qcd05v08jpd9ah650kbmrdxrxjfl2jgx9fnc89x4ahzmml9fr2qal0pwnn0sw3g3j1cqbry9lwq5hzja6x779s90hqrb72s49l1"; }
{ type = "jar"; sha512 = "0qp0kns07h4j7d67z0j09kjn0hwf6k6iz4vp2pmisx131f98acm516y8ca35ly7pp6zn9mdk3c4nh9c0rd7xnqvi12ijqrfvg01dri2"; }
];
mavenCore_2_2_1 = map (obj: fetchMaven {
version = "2.2.1";
artifactId = "maven-core";
groupId = "org.apache.maven";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "3rph4ghz7y0a8a6g6h7hr470swyj99y70rwm9ccv40qjc6gxjrckgyax0ihz50x4gyihvpbz5nl046r1qdq4r57rwx0x81s4wns0vf2"; }
{ type = "jar"; sha512 = "1dxfcyic0skz4pm4w5pxbvligyl9pif78lk915pdhzia16b54c65ffk832zs7d774ynjfxrgzpbicvldsdb1wmi15vfgxn421vynbjj"; }
];
}

14
pkgs/development/java-modules/maven/dependency-tree.nix

@ -0,0 +1,14 @@
{ fetchMaven }:
rec {
mavenDependencyTree_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "maven-dependency-tree";
groupId = "org.apache.maven.shared";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "29ibiyc1x20yrnxgcpvvf3k0pcjq63l98lakk10gipmx8a7bqs6m7npcqhzq6a3xrrcnz4pp7mj9gkmcs1svhg3qj4778cdax5pfy39"; }
{ type = "jar"; sha512 = "3mr5ph5yngfvqwvrbiwvs66d8gbhpjsp009q5hrarkg53kwlphy6rmvdkfzp4j5rz8dd4cirv7vf6nhhrpdnjy2fc8bhx2s61zissnd"; }
];
}

36
pkgs/development/java-modules/maven/doxia-sink-api.nix

@ -0,0 +1,36 @@
{ fetchMaven }:
rec {
mavenDoxiaSinkApi_1_0_alpha6 = map (obj: fetchMaven {
version = "1.0-alpha-6";
artifactId = "doxia-sink-api";
groupId = "org.apache.maven.doxia";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "156j8ic3m2j23nrh074j567qxcsqi8ahpl97ba68l88cq08al1z7mh72hm8jz24lq04kxkrf3r1icqbpki10jgv7qma0cpz86yw27x2"; }
{ type = "jar"; sha512 = "12yqdygds5w4dx8zxq4ss65a28pqrhavzzmgi3n7473r1k5r3kiw5h5bm71zdhccv5lgb4lb9p9lswa2pjkwriykfm3fj0l3924x6dk"; }
];
mavenDoxiaSinkApi_1_0_alpha7 = map (obj: fetchMaven {
version = "1.0-alpha-7";
artifactId = "doxia-sink-api";
groupId = "org.apache.maven.doxia";
sha512 = obj.sha512;
type = obj.type;
}) [
{ type = "pom"; sha512 = "3lb710zyldqysy19cgsan6mb5yrxx07vphddasq4kv1z9p5l4mpx9jq8fdhcxm4bgrfpdxkrdy2z4h2w8kc3gp2dk5g515x854jhqar"; }
{ type = "jar"; sha512 = "0q2vn7yyl8qvsifb629jh3hmaa5pkj5y22zy7qbj