How do I create a Maven project from source?

I want to build a LanguageTool Java project from source. This page provides basic instructions for getting the "Maven artifact" from all sources:

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

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

Thanks in advance...

+3


source to share


2 answers


At the bottom of the page you linked ( Language Tool ) is another link to the svn repository. This is where you 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 simplest way possible. Few people enjoy writing the code itself, so links to the original repos are often less visible.

+3


source


There is no automated way to do this.

Your best bet is to start a basic maven project (either manually or via Maven Archetype , import sources into the Standard Catalog Layout and start adding dependencies to the pom.xml to get it to compile.

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



In other libraries, you probably have to install yourself in a local repository or a remote repository .

There's a maven plugin for eclipse if that's your preferred development environment.

0


source







All Articles