Skip to content

Commit 69eb8a2

Browse files
committed
(maint) Remove defunct uberjar settings
The uberjar settings are quite outdated and are unused by FOSS products. Instead of trying to fix them for enterprise consumers now we should do so when this version of JRuby is taken up by our enterprise products and update the dependency handling for uberjars in the light of using clj-parent.
1 parent 4b67f42 commit 69eb8a2

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

project.clj

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,4 @@
3636
;; only project that relies on that right now, it's simpler to just add it here.
3737
:resource-paths ["project.clj"]
3838

39-
;; For the jruby-deps uberjar builds, we want to exclude a few "common"
40-
;; dependencies which we expect to be provided by other jars in the Java
41-
;; classpath. We do this in order to make the dependency resolution
42-
;; predictable regardless of the order in which the jars are referenced on the
43-
;; classpath. Dependencies in the uberjar profile replace those from the base
44-
;; project definition in order to exclude the unwanted dependencies from the
45-
;; jruby-deps uberjar.
46-
:profiles {:uberjar {:dependencies
47-
[[org.jruby/jruby-core ~jruby-version
48-
:exclusions [joda-time]]]}}
49-
50-
:uberjar-name "jruby-9k.jar"
51-
52-
;; NOTE: jruby-stdlib packages some unexpected things inside
53-
;; of its jar. e.g., it puts a pre-built copy of the bouncycastle
54-
;; and snakeyaml jars into its META-INF directory. This is highly
55-
;; undesirable for projects that already have dependencies on different
56-
;; versions of these jars. Items below are excluded from the uberjar.
57-
:uberjar-exclusions [#"META-INF/jruby.home/lib/ruby/stdlib/org/bouncycastle"
58-
#"META-INF/jruby.home/lib/ruby/stdlib/org/yaml/snakeyaml"])
39+
:uberjar-name "jruby-9k.jar")

0 commit comments

Comments
 (0)