I am fairly new to the Java build process. Whenever I want to create a new project, I currently create a pom.xml
file and the following directories:
src/main/java
src/test/java
target/classes
Then creating a .classpath
file with the following:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java" />
<classpathentry kind="src" output="target/test-classes" path="src/test/java" />
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7" />
<classpathentry kind="output" path="target/classes" />
</classpath>
Is there a quicker/easier way to do this? I am using Eclipse as my IDE (if it matters)