diff --git a/Readme.md b/Readme.md index 8e37d0a..954b343 100644 --- a/Readme.md +++ b/Readme.md @@ -39,10 +39,15 @@ This is a Java application for exporting data from a MySQL database to various f ```bash mvn clean install -3. Run the application: +3. Run using jar: ```bash java -jar out/DbExporter.jar +

OR

+ +4. Run using java mainClass: + ```bash + mvn compile exec:java ## Usage diff --git a/pom.xml b/pom.xml index 9a19fb3..42e0927 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,7 @@ - + org.apache.maven.plugins maven-compiler-plugin @@ -91,6 +91,17 @@ + + + org.codehaus.mojo + exec-maven-plugin + 3.1.1 + + org.nmpl.App + + + +