An Uber JAR (AKA fat JAR or super JAR) is a JAR file that contains both the package and all its dependencies in one single JAR file. The advantage is that you can distribute an Uber JAR and not care at all whether or not dependencies are installed at the destination, as an Uber JAR actually has no dependencies.
Questions tagged [uberjar]
181 questions
0
votes
1 answer
Leiningen, repl, uberjar: Unable to resolve symbol, No such var
While my lein new app project runs merrily inside the Light Table, lein uberjar won't work. Curiously, it behaves exactly like a classic Pascal compiler: it can't resolve references ahead of definitions. Another curiosity: yesterday it worked. I am…

Alexey Orlov
- 2,412
- 3
- 27
- 46
0
votes
1 answer
Running mvn shade on a pre-existing uber jar
I have a uber jar that's already generated (not via Maven; I just have the jar). I need to use it along with another jar, which has dependency conflicts. I'd like to shade all the libs in the first uber jar, except for a few classes which need to…

SRobertJames
- 8,210
- 14
- 60
- 107
0
votes
2 answers
Embedded Jetty cannot access static web content in jar within Spring Boot uber-jar
I'm running a Spring Boot web app with an underlying Neo4j database. In order to be able to view the Neo4j browser (direct web view onto the db), the Neo4j web server is embedded into the application using the following…

Dave Hallam
- 136
- 8
0
votes
2 answers
How to Get List of Classpath Resources In Nested Jar?
I have a Maven project, and I am packaging it as a single fat jar using the One-Jar Maven plugin. According to this page on the One-Jar site documentation resource loading must be done in a special manner with One-Jar packaged apps, however that…

David Williams
- 8,388
- 23
- 83
- 171
0
votes
1 answer
Users required to install maven to execute uber jars?
I have been told that to create an executable jar that includes other jars automatically is to use maven's uber jars.
Do users have to also install maven to execute uber jars?
user1382306
0
votes
1 answer
Incorporate large number of 3rd party jars into maven
I'm working on a project that has a reliance on a significant number of 3rd party jars; these jars contain both proprietary classes and custom/patched versions of existing libraries. I'm trying to figure out how to tie these jars into the maven…

cyberconte
- 2,371
- 4
- 21
- 27
0
votes
1 answer
Cascalog: start uberjar and main on hadoop
I have compiled an uberjar from a file like:
(defmain HadoopTest (:use 'cascalog.api) (defn bla ("alot of code"))
I run that uberjar on hadoop like:
$ hadoop jar myStandalone.jar clojure.main
and i get a REPL, but nothing from that file is…

Christian Einstein
- 33
- 1
- 6
0
votes
2 answers
Can I specify a JPA compliant persistence.xml file on the java command line?
I've got an UberJar with all my java classes, but want to execute this jar with an external persistence.xml file. Per the specification, Hibernate (or any other JPA provider) looks for the persistence.xml file in any META-INF folder that's on the…

Steve Moyer
- 5,663
- 1
- 24
- 34
0
votes
1 answer
Java Maven project minify the build
I am working on a multi module Maven project. We have created a project which builds an uber jar. The unpacked jar is about 60mb which is a problem for our client.
Are there any tools we can use to remove unused .class files within the dependencies…

Mark
- 1,544
- 1
- 14
- 26
0
votes
3 answers
Maven 3 "uber jar" how to embed a jar within a jar?
This has been killing me all day.
I am working on android / java in eclipse.
This is what I want to do
I want to embed one of my libraries - DatabaseLibrary
within another of my libraries - LogicLibrary
Crucially - without exposing any of the…

Aiden Fry
- 1,672
- 3
- 21
- 45
0
votes
1 answer
How to assembly maven project using jarjar format?
I tried some assembly plugins like maven-assembly-plugin , maven-shading-plugin but none of them support jarjar file format.
So is there a maven plugin to assembly Uber-Jar by jarjar file format?
It's helpful to avoid resources conflicts like…

jackalope
- 1,554
- 3
- 17
- 37
0
votes
1 answer
Create maven uberjar without including an internal pom file
I have a maven build setup but it has been requested that I make one change to the uberjar and that is to not include the pom file, because it messes up my clients subsequent build that uses my uberjar as a dependancy. I know this is not the way to…

Blair Jennings
- 31
- 2
0
votes
1 answer
Jetty uberjar jndi datasource configuration
More specifically i got executable war containing all the dependencies.
Application starts without jndi datasource like a charm runing it with jndi datasource failed though.
I believe there is no place for jetty.xml in such a configuration so…

grigory.t.
- 15
- 4
0
votes
2 answers
Ant: how to create that includes files from ?
Given an Ant path element like the following one:
...
How can I create an…

dokaspar
- 8,186
- 14
- 70
- 98
-1
votes
1 answer
Book a cab on my behalf, the code is not production ready, how to proceed then?
I am trying to do an auto-booking of a cab from my code for uber, only for me.
I have my clientID, client Secret and Access Token. How to use them so that i can fire a request and monitor the status whether has been booked or not? Or if no cabs are…

Santanu
- 893
- 3
- 10
- 24