This is a Maven archetype project for the JGraphT library. Latest
version is 1.2.0.
Install Maven 3 and run the following, providing all necessary information when prompted.
mvn archetype:generate -DarchetypeGroupId=org.jgrapht.archetypes -DarchetypeArtifactId=maven-archetype-jgrapht -DarchetypeVersion=1.2.0A folder named myapp will be created with a maven project ready for coding. By default we add only the main package dependency which is jgrapht-core. If additional functionality is required such as input/output you should edit the generated pom.xml and add additional dependencies such as jgrapht-io, etc.
Run
mvn archetype:generate -DarchetypeGroupId=org.jgrapht.archetypes -DarchetypeArtifactId=maven-archetype-jgrapht -DarchetypeVersion=1.2.0 -DgroupId=org.myorg -DartifactId=myapp -Dversion=0.1.0-SNAPSHOT -Breplacing with your own groupId, artifactId and version.
You can add a new Maven Remote Archetype catalog using archetype-catalog.xml or
you can use the Add Archetype functionality and provide the above version details.
Happy coding!