3

I want to build the LanguageTool Java project from source. This page gives basic instructions for obtaining the "Maven artifact" with all the sources:

http://languagetool.org/java-api/

I'm an expert Java developer but I've never used Maven before. Can someone please tell me how to get the LanguageTool project and all source code into Eclipse so I can modify and build it?

Thanks in advance...

Chris Gerken
  • 16,221
  • 6
  • 44
  • 59
Barry Fruitman
  • 12,316
  • 13
  • 72
  • 135

2 Answers2

3

At the bottom of the page you linked (Language Tool) is another link to the svn repository. That's where you'll get the source code and instructions on how to build the tool yourself.

In general, open source projects will highlight the maven artifact as it allows others to use their code in the easiest way possible. Only a few folks like to build the code themselves so the links to the source repositories are often less conspicuous.

Chris Gerken
  • 16,221
  • 6
  • 44
  • 59
  • Also, you can look at their pom (http://mirrors.ibiblio.org/maven2/org/languagetool/languagetool/1.9/) which contains the same information. Maven source download is designed to debug/trace - not modify the project. – ptyx Feb 05 '13 at 19:28
  • @ptyx, your link appears to be broken. It looks like there's no longer anything in the maven2 directory. – dgoverde Feb 13 '16 at 05:14
  • @dgoverde indeed - you can still find it on http://mvnrepository.com/artifact/org.languagetool/languagetool/2.0.1 or other google links – ptyx Feb 16 '16 at 16:46
0

There is no automated way to do this.

Best is to start a basic maven project (manually or through a Maven Archetype, import the sources in the Standard Directory Layout, and start adding dependencies to the pom.xml in order to get it to compile.

Libraries like commons,lucene,... are pretty easy to find in the various maven repositories).

Other libs you will probably have to install yourself in your local repository or remote repository.

There's a maven plugin for eclipse if that is your preferred IDE.

ddewaele
  • 22,363
  • 10
  • 69
  • 82