||2 years ago|
|src/main||2 years ago|
|.gitignore||3 years ago|
|.travis.yml||3 years ago|
|README.md||2 years ago|
|pom.xml||3 years ago|
The goal of this example project is to find usage of test annotations in the test files and print out the names of the annotated functions.
JavaParser and Maven sample
A fully working sample Maven project that parses and generates code with JavaParser
This is targeted at people without Maven experience.
To build it, you will need to download and unpack the latest (or recent) version of Maven (https://maven.apache.org/download.cgi)
and put the
mvn command on your path.
Then, you will need to install a Java 1.8 (or higher) JDK (not JRE!), and make sure you can run
java from the command line.
Now you can run
mvn clean install and Maven will compile your project,
an put the results it in two jar files in the
If you like to run from the command line,
java -jar target/javaparser-maven-sample-1.0-SNAPSHOT-shaded.jar.
The Maven dependencies may lag behind the official releases a bit.
If you notice some problems with this setup, please open an issue.