You use maven-assembly-plugin's jar-with-dependencies to build a single
jar with all its dependencies
http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
@tommychheng
On 10/19/10 6:53 AM, Matt Mitchell wrote:
Hey thanks Tommy. To be more
Hey thanks Tommy. To be more specific, I'm trying to use SolrJ in a
clojure project. When I try to use SolrJ using what you showed me, I
get errors saying lucene classes can't be found etc.. Is there a way
to build everything SolrJ (snapshot-4.0) needs into one jar?
Matt
On Mon, Oct 18, 2010 at 1
Once you built the solr 4.0 jar, you can use mvn's install command
like this:
mvn install:install-file -DgroupId=org.apache -DartifactId=solr
-Dpackaging=jar -Dversion=4.0-SNAPSHOT -Dfile=solr-4.0-SNAPSHOT.jar
-DgeneratePom=true
@tommychheng
On 10/18/10 7:28 PM, Matt Mitchell wrote:
I'd
I'd like to get solr snapshot-4.0 pushed into my local maven repo. Is
this possible to do? If so, could someone give me a tip or two on
getting started?
Thanks,
Matt