diff options
author | Tim Steinbach <tim@nequissimus.com> | 2016-10-31 13:10:26 -0400 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2016-11-14 15:19:33 -0500 |
commit | 8500c2491110031e5582b014691a57b27bc6722a (patch) | |
tree | a828513d77a1913eeafd5ded0a6f3bb01fe023d9 /pkgs | |
parent | f23c44516cfa19fe19cf9764b47d9a520a73853a (diff) |
Finish maven-hello / framework
Diffstat (limited to 'pkgs')
44 files changed, 789 insertions, 184 deletions
diff --git a/pkgs/development/java-modules/apache/commons-lang.nix b/pkgs/development/java-modules/apache/commons-lang.nix index eb60d19e8183..8987823e4705 100644 --- a/pkgs/development/java-modules/apache/commons-lang.nix +++ b/pkgs/development/java-modules/apache/commons-lang.nix @@ -1,6 +1,17 @@ { fetchMaven }: rec { + commonsLang_2_1 = map (obj: fetchMaven { + version = "2.1"; + baseName = "commons-lang"; + package = "/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"; baseName = "commons-lang"; diff --git a/pkgs/development/java-modules/apache/commons-lang3.nix b/pkgs/development/java-modules/apache/commons-lang3.nix new file mode 100644 index 000000000000..8b5498f362d4 --- /dev/null +++ b/pkgs/development/java-modules/apache/commons-lang3.nix @@ -0,0 +1,14 @@ +{ fetchMaven }: + +rec { + commonsLang3_3_1 = map (obj: fetchMaven { + version = "3.1"; + baseName = "commons-lang3"; + package = "/org/apache/commons"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "pom"; sha512 = "0msypmqn5q4sxks97zbvi85rq2zclkyz8j09riqw7c95n96nyv7x3pysi83vdgc53d0lhl4apkp7warl52xq1qzdyjxipjdlhqmhdcw"; } + { type = "jar"; sha512 = "3lw2naanwxjqrwgbg5ij6abzlkch0l6bcx44sl4a59m2r5fi2rvmc07pqai2l9kqwql05fyx9h1md5jjh2wzia15rqnvwssprykjwvi"; } + ]; +} diff --git a/pkgs/development/java-modules/apache/commons-logging-api.nix b/pkgs/development/java-modules/apache/commons-logging-api.nix new file mode 100644 index 000000000000..9aae04e42064 --- /dev/null +++ b/pkgs/development/java-modules/apache/commons-logging-api.nix @@ -0,0 +1,14 @@ +{ fetchMaven }: + +rec { + commonsLoggingApi_1_1 = map (obj: fetchMaven { + version = "1.1"; + baseName = "commons-logging-api"; + package = "/commons-logging"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "pom"; sha512 = "3fp3d08l6m1xmma6pz7hvkvj5isbnyjimgvxf4plrwqmalifw0ywjbal5r5kmmrdlcda7l49mxdsv43ygglm9g22dzkbhdqlhlrn934"; } + { type = "jar"; sha512 = "316dgnyhwai9n8dqjkp9chkkbhkyli9mfbgsj8ch6cdpmzmcvzirnjj7z1xbxm7v8hlybqhyaf5075pxwz3cg1w5ih3rhwjfi19f8dq"; } + ]; +} diff --git a/pkgs/development/java-modules/apache/xbean-reflect.nix b/pkgs/development/java-modules/apache/xbean-reflect.nix new file mode 100644 index 000000000000..c1e9916443c9 --- /dev/null +++ b/pkgs/development/java-modules/apache/xbean-reflect.nix @@ -0,0 +1,14 @@ +{ fetchMaven }: + +rec { + xbeanReflect_3_4 = map (obj: fetchMaven { + version = "3.4"; + baseName = "xbean-reflect"; + package = "/org/apache/xbean"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "pom"; sha512 = "1nny6dcwif0kd0kr2l55j2l5rb1aw8l2f2fbhanj6j48zhcz3vv1wx5xi0l6vg4j70y12fxyg1kyn4lq0bx19by19r73k06wlxs001k"; } + { type = "jar"; sha512 = "3w22jbm4sii16lzkzwi6hv5zbid5jw8dv356q9hr0pnb8d4gm6ypl2pjqj0brzmpq9pydqya14wk798ddjalqjh25rl2ry9qhjx3hlm"; } + ]; +} diff --git a/pkgs/development/java-modules/build-maven-package.nix b/pkgs/development/java-modules/build-maven-package.nix index 9449e3e17b15..a056953f9ab3 100644 --- a/pkgs/development/java-modules/build-maven-package.nix +++ b/pkgs/development/java-modules/build-maven-package.nix @@ -1,11 +1,11 @@ -{ stdenv, maven, lib, pkgs }: +{ stdenv, maven, pkgs }: { mavenDeps, src, name, meta, m2Path, ... }: with builtins; -with lib; +with stdenv.lib; let - mavenMinimal = import ./maven-minimal.nix { inherit pkgs lib stdenv maven; }; + mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv maven; }; in stdenv.mkDerivation rec { inherit mavenDeps src name meta m2Path; @@ -16,7 +16,10 @@ in stdenv.mkDerivation rec { 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 -rs ${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} @@ -24,5 +27,6 @@ in stdenv.mkDerivation rec { <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 clean install -Dmaven.test.skip=true -gs $out/m2/settings.xml + cp -v ./target/*.jar $out/target/ ''; } diff --git a/pkgs/development/java-modules/classworlds/classworlds.nix b/pkgs/development/java-modules/classworlds/classworlds.nix index a177927d3d68..3a85cc4363ef 100644 --- a/pkgs/development/java-modules/classworlds/classworlds.nix +++ b/pkgs/development/java-modules/classworlds/classworlds.nix @@ -1,6 +1,17 @@ { fetchMaven }: rec { + classworlds_1_1_alpha2 = map (obj: fetchMaven { + version = "1.1-alpha-2"; + baseName = "classworlds"; + package = "/classworlds"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "pom"; sha512 = "027b0s13ck41wg75z7bz1zxazdxp56llxlg4z9kp01wys1sbkng8s0i0mxyvjaq61q5lg2gfrxypnzg7vha23vq57hkdhwyksjdcd5c"; } + { type = "jar"; sha512 = "36vir8jja85cg7khaf2qjln7m8q5iq0n43vvkxkwwngv67ffpvqqz6j1fscvl16hzb0nf6j9gzkcrgk3mk9jl49vrj3fw7c173m4xzb"; } + ]; + classworlds_1_1 = map (obj: fetchMaven { version = "1.1"; baseName = "classworlds"; diff --git a/pkgs/development/java-modules/google/collections.nix b/pkgs/development/java-modules/google/collections.nix new file mode 100644 index 000000000000..9898ddeaf31e --- /dev/null +++ b/pkgs/development/java-modules/google/collections.nix @@ -0,0 +1,15 @@ +{ fetchMaven }: + +rec { + googleCollections_1_0 = map (obj: fetchMaven { + version = "1.0"; + baseName = "google-collections"; + package = "/com/google/collections"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "jar"; sha512 = "3vvgac799ilrmab28ya894jkyq3jj4217ix8mfyxzbkb8v0wy2rpmdbni3irrrdhc9skd0sldlcnfpvs1hjv5v07ajxlm1dbkgvqhap"; } + { type = "pom"; sha512 = "38x885cglwmx0chqlzhx83jcrqvnwwr9qj6awx3n0xqp175qznjwn0i94rwxhyj00a7xgvvm9jvwkppwfkcdiyxmimb1z8frdhkkh7p"; } + ]; +} + diff --git a/pkgs/development/java-modules/hamcrest/core.nix b/pkgs/development/java-modules/hamcrest/core.nix index 1414dc1fe6bb..104331f6f138 100644 --- a/pkgs/development/java-modules/hamcrest/core.nix +++ b/pkgs/development/java-modules/hamcrest/core.nix @@ -1,7 +1,6 @@ { fetchMaven }: rec { - # Ant build, just fetch the binary hamcrestCore_1_3 = map (obj: fetchMaven { version = "1.3"; baseName = "hamcrest-core"; diff --git a/pkgs/development/java-modules/junit/default.nix b/pkgs/development/java-modules/junit/default.nix index ebb614bb703e..8304b1a8a01b 100644 --- a/pkgs/development/java-modules/junit/default.nix +++ b/pkgs/development/java-modules/junit/default.nix @@ -36,6 +36,17 @@ rec { { type = "jar"; sha512 = "25yk0lzwk46r867nhrw4hg7cvz28wb8ln9nw1dqrb6zarifl54p4h1mcz90vmih405bsk96g0qb6hn1h4df0fas3f5kma9vxfjryvwf"; } ]; + junit_3_8_2 = map (obj: fetchMaven { + version = "3.8.2"; + baseName = "junit"; + package = "/junit"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "pom"; sha512 = "01npyfwl1f44l44x92cvqqcp58sckcjraf78dav6zgag3x6ispd9gz594nhpqckmjw0hlrkbqfxnzdcq1mlsj9rw6zyq4wk5ch8rl5j"; } + { type = "jar"; sha512 = "2jcih102666lcm7b23rgs5cd59ww49m78c8mja52mrcm25630zw28rjqkj5lsws18k5jf75div9wkd1sxcvwvq5cvvphgyg7550i8r9"; } + ]; + junit_4_12 = junitGen { mavenDeps = [ mavenPlugins.animalSniffer_1_11 hamcrestCore_1_3 plexusUtils_1_1 ]; sha512 = "0bbldnf37jl855s1pdx2a518ivfifv75189vsbpylnj8530vnf8z6b2dglkcbcjgr22lp1s4m1nnplz5dmka9sr7vj055p88k27kqw9"; diff --git a/pkgs/development/java-modules/log4j/default.nix b/pkgs/development/java-modules/log4j/default.nix new file mode 100644 index 000000000000..65aaa41adb14 --- /dev/null +++ b/pkgs/development/java-modules/log4j/default.nix @@ -0,0 +1,15 @@ +{ fetchMaven }: + +rec { + log4j_1_2_12 = map (obj: fetchMaven { + version = "1.2.12"; + baseName = "log4j"; + package = "/log4j"; + sha512 = obj.sha512; + type = obj.type; + }) [ + { type = "jar"; sha512 = "23amz03i51w4vhh2wfq4fppi5qp2rzy0gqz4fdaqg4s3mz0aj86jylp7akj7aprnm28q2y1v4sj0s64qqvakj1vj020hr9y8rrifdga"; } + { type = "pom"; sha512 = "0n5w0ywp90lllnyyxhaa7py1gapdw85jnnyyk86rm46k132q1lq6j7rh1mvzw1z01lh7bzb800r0rmgcc1mgn3fjgr9hxlr4ssm7gbx"; } + ]; +} + diff --git a/pkgs/development/java-modules/maven-minimal.nix b/pkgs/development/java-modules/maven-minimal.nix index e97a97b69ea6..359060c8dae2 100644 --- a/pkgs/development/java-modules/maven-minimal.nix +++ b/pkgs/development/java-modules/maven-minimal.nix @@ -1,138 +1,187 @@ -{ stdenv, pkgs, lib, maven }: +{ stdenv, pkgs, maven }: +with stdenv.lib; with pkgs.javaPackages; let fetchMaven = pkgs.callPackage ./m2install.nix { }; poms = import ./poms.nix { inherit fetchMaven; }; - plugins = import ./mavenPlugins.nix { inherit stdenv lib pkgs maven; }; + plugins = import ./mavenPlugins.nix { inherit stdenv pkgs maven; }; in rec { -# "Minimal" - mavenMinimal = lib.flatten - (with plugins; [ - classworlds_1_1 - commonsCli_1_0 - findbugsJsr305_2_0_1 - junit_3_8_1 - mavenArchiver_2_5 - mavenArtifact_2_0_6 - mavenArtifact_2_0_9 - mavenArtifactManager_2_0_6 - mavenArtifactManager_2_0_9 - mavenArtifactManager_2_2_1 - mavenClean_2_5 - mavenCompiler_3_1 - mavenCore_2_0_6 - mavenCore_2_0_9 - mavenCore_2_2_1 - mavenDoxiaSinkApi_1_0_alpha7 - mavenErrorDiagnostics_2_0_6 - mavenErrorDiagnostics_2_0_9 - mavenErrorDiagnostics_2_2_1 - mavenFiltering_1_1 - mavenInstall_2_4 - mavenJar_2_4 - mavenModel_2_0_6 - mavenModel_2_0_9 - mavenModel_2_2_1 - mavenMonitor_2_0_6 - mavenMonitor_2_0_9 - mavenMonitor_2_2_1 - mavenPluginDescriptor_2_0_6 - mavenPluginDescriptor_2_0_9 - mavenPluginDescriptor_2_2_1 - mavenPluginParameterDocumenter_2_0_6 - mavenPluginParameterDocumenter_2_0_9 - mavenPluginParameterDocumenter_2_2_1 - mavenProfile_2_0_6 - mavenProfile_2_0_9 - mavenProfile_2_2_1 - mavenProject_2_0_6 - mavenProject_2_0_9 - mavenPluginAnnotations_3_1 - mavenPluginApi_2_0_6 - mavenPluginApi_2_0_9 - mavenPluginApi_2_2_1 - mavenPluginRegistry_2_0_6 - mavenPluginRegistry_2_0_9 - mavenPluginRegistry_2_2_1 - mavenReportingApi_2_0_6 - mavenReportingApi_2_0_9 - mavenRepositoryMetadata_2_0_6 - mavenRepositoryMetadata_2_0_9 - mavenRepositoryMetadata_2_2_1 - mavenResources_2_6 - mavenSettings_2_0_6 - mavenSettings_2_0_9 - mavenSettings_2_2_1 - mavenSharedIncremental_1_1 - mavenSharedUtils_0_1 - mavenSurefire_2_12_4 - mavenSurefireApi_2_12_4 - mavenSurefireBooter_2_12_4 - mavenSurefireCommon_2_12_4 - mavenToolchain_1_0 - mavenToolchain_2_0_9 - plexusBuildApi_0_0_4 - plexusCompilerApi_2_2 - plexusContainerDefault_1_0_alpha9_stable1 - plexusInteractivityApi_1_0_alpha4 - plexusInterpolation_1_13 - plexusUtils_1_5_1 - plexusUtils_2_0_5 - plexusUtils_3_0 - ]) - ++ - (with - poms; + # Maven needs all of these to function + mavenMinimal = flatten [ - apache_3 - apache_4 - apache_5 - apache_6 - apache_9 - apache_10 - apache_11 - apache_13 - doxia_1_0_alpha7 - 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_11 - plexus_2_0_3 - plexus_2_0_6 - plexus_2_0_7 - plexus_3_3_1 - plexusCompiler_2_2 - plexusComponents_1_1_15 - plexusComponents_1_3_1 - plexusComponentAnnotations_1_5_5 - plexusContainers_1_0_3 - plexusContainers_1_5_5 - sonatypeForgeParent_3 - sonatypeForgeParent_5 - sonatypeForgeParent_10 - sonatypeSpiceParent_10 - sonatypeSpiceParent_16 - sonatypeSpiceParent_17 - surefire_2_12_4 + 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 + mavenArtifact_2_0_6 + mavenArtifact_2_0_9 + mavenArtifact_2_2_1 + mavenArtifactManager_2_0_6 + mavenArtifactManager_2_0_9 + mavenArtifactManager_2_2_1 + mavenCommonArtifactFilters_1_3 + mavenCore_2_0_6 + mavenCore_2_0_9 + mavenCore_2_2_1 + mavenDoxiaSinkApi_1_0_alpha7 + mavenErrorDiagnostics_2_0_6 + mavenErrorDiagnostics_2_0_9 + mavenErrorDiagnostics_2_2_1 + mavenFiltering_1_1 + mavenModel_2_0_6 + mavenModel_2_0_9 + mavenModel_2_2_1 + mavenMonitor_2_0_6 + mavenMonitor_2_0_9 + mavenMonitor_2_2_1 + mavenPluginDescriptor_2_0_6 + mavenPluginDescriptor_2_0_9 + mavenPluginDescriptor_2_2_1 + mavenPluginParameterDocumenter_2_0_6 + mavenPluginParameterDocumenter_2_0_9 + mavenPluginParameterDocumenter_2_2_1 + mavenProfile_2_0_6 + mavenProfile_2_0_9 + mavenProfile_2_2_1 + mavenProject_2_0_6 + mavenProject_2_0_9 + mavenProject_2_2_1 + mavenPluginAnnotations_3_1 + mavenPluginApi_2_0_6 + mavenPluginApi_2_0_9 + mavenPluginApi_2_2_1 + mavenPluginRegistry_2_0_6 + mavenPluginRegistry_2_0_9 + mavenPluginRegistry_2_2_1 + mavenReportingApi_2_0_6 + mavenReportingApi_2_0_9 + mavenRepositoryMetadata_2_0_6 + mavenRepositoryMetadata_2_0_9 + mavenRepositoryMetadata_2_2_1 + mavenSettings_2_0_6 + mavenSettings_2_0_9 + mavenSettings_2_2_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 ]); } diff --git a/pkgs/development/java-modules/maven/archiver.nix b/pkgs/development/java-modules/maven/archiver.nix index 790e7894bff1..ecab1f1e99ce 100644 --- a/pkgs/development/java-modules/maven/archiver.nix +++ b/pkgs/development/java-modules/maven/archiver.nix @@ -8,7 +8,7 @@ rec { sha512 = obj.sha512; type = obj.type; }) [ - { type = "jar"; sha512 = "3kkv5kf3k5in69aplawkr0cr2cviyjgf8k6r6qvgxk53i3jmh7qylzrwkrd9bxclkjkgyg77cffxm48qhxm9pyqncdbwjldsmmdfb4f"; } - { type = "pom"; sha512 = "37kvfxcpfajjn9lmvh5kay4y61ri1190hxxgiil8fqfvmvcm02jcqzfi4ry0nzc80g5fsarsd3s2ns2d8l0lnqjp28nn51dixm9a55w"; } + { type = "jar"; sha512 = "0wx6248rn0821nnag659mm1n77r56chgx2lr26x81l7apx4zkc2nidjzy2d73snkir98h9bmcz09wnx21pkrq8mk50x7mjgkc0yziky"; } + { type = "pom"; sha512 = "1rfnwxnk45084rdc52a17bmg8zfyylq1m38wvp956xy455abjvxpnp7il7xpkq6wv16f3bq5yx35hk1b9nycw19w6123rz4v5cs3b0b"; } ]; } diff --git a/pkgs/development/java-modules/maven/artifact-manager.nix b/pkgs/development/java-modules/maven/artifact-manager.nix index 7f0a9226e877..031bd37eb6fa 100644 --- a/pkgs/development/java-modules/maven/artifact-manager.nix +++ b/pkgs/development/java-modules/maven/artifact-manager.nix @@ -30,7 +30,7 @@ rec { sha512 = obj.sha512; type = obj.type; }) [ - { type = "jar"; sha512 = "1vvxf2dannx9p2qvlbmrxfni5mc0f3722p3bcdz6bk3z4dhb2hlw2wx17nvirq5r3k43azgp13mg0638saz7v1g23f07n9yzm979f0p"; } - { type = "pom"; sha512 = "2v7371gsarjb4s2bp5vclqgdg82mh7nzy7af31g9z20q2r6ndw024xa8bpcxp227yv83lpawbhq0ysg0glnw9ql54100h9hbllam0p8"; } + { type = "jar"; sha512 = "04i9c4k5diyqz8hn20sxvrqkqrxxm7wxqh7xgyk3dm1hwhrqy3h29irvpb335kp8i0sxljz2p2a9cmjpx9wyl0266bj5y313whmfkr5"; } + { type = "pom"; sha512 = "02ryc46in725q4y11l1kmy6ra01wjnfq5gqwic005wc090l2j39kn5drvn3av6g7413v9x0cksy8qcbagc2jnz6wwxn8z2g5krynw6z"; } ]; } diff --git a/pkgs/development/java-modules/maven/artifact.nix b/pkgs/development/java-modules/maven/artifact.nix index 12876f53d5ae..1cbb347baf4e 100644 --- a/pkgs/development/java-modules/maven/artifact.nix +++ b/pkgs/development/java-modules/maven/artifact.nix @@ -23,6 +23,17 @@ rec { { type = "pom"; sha512 = "0g0cbqihzxyaa1b0z9a7qb8lkhcm8bzxi7qnqaab2n2zaaql6jyy7cf4z4yzqw3yfj7ylqvydiwp32j2c7nqacyx0hmcydqkqg46kxv"; } ]; + mavenArtifact_2_2_1 = map (obj: fetchMaven { + version = "2.2.1"; + baseName |