Create jar file from github project

I want a jar file for the project https://github.com/klout/brickhouse , but I do not see any link on the site that gives me a jar file, there is a link in the right menu for downloading the zip file.

I found a similar question http://stackoverflow.com/questions/8300813/how-to-create-single-jar-file-from-github-tree , but I have dependencies in pom.xml, I use eclipse and win- 7, one of the ways I can imagine is to create a new project in eclipse, add all the java package and files, get all the dependency jar files from pom.xml, load them and add to the classpath, but this will be a lengthy process Any help would be greatly appreciated.

+6
source share
2 answers

A little late in response, but Brickhouse has a separate download page on the wiki

https://github.com/klout/brickhouse/wiki/Downloads

In addition, if you are using maven or ivy, it should be available in a public sonata repo. http://central.maven.org/maven2/com/klout/brickhouse/

If you use maven to build the jar assembly, add the following lines to your pom.xml

  <dependency> <groupId>com.klout</groupId> <artifactId>brickhouse</artifactId> <version>0.5.5</version> </dependency> 
+1
source

Here is the Getting Started in the README project, which shows the steps that must be completed to do this. I just tried them and they work great:

 $ git clone http://github.com/klout/brickhouse $ cd brickhouse $ mvn package $ cd target $ dir 

What is it! Of course you must have Maven.

+8
source

Source: https://habr.com/ru/post/958716/


All Articles