Learn how to use Maven in Java. At this project, we will use some dependencies for testing
Maven will build jar
with dependencies. So, we can use this jar
as classpath
when run the Java Class.
For csv usage, Java Class will read data/sample.csv
for CSV Parsing. And will write to data/result.csv
for CSV Writing.
- JRE 1.8
- mvn compile
- mvn package
- mvn install assembly:assembly
java -cp target/learning-maven-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.aqilix.learning.java.JodaTimeDemo
java -cp target/learning-maven-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.aqilix.learning.java.ParseCSV
java -cp target/learning-maven-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.aqilix.learning.java.WriteCSV