This program prints the receipt according to the shopping cart record. The sales tax also included in the receipt based on different locations and product categories.
1. Import this maven project to your ide2. Run Main.java under "src\main\java".
3. Input the transaction file name e.g. transaction_1 1. cd to the project directory
2. Run below commands:
mvn compile
mvn exec:java -D"exec.mainClass"="Main"
3. Input the transaction file name e.g. transaction_1
1. Create an Execl file(.xslx)2. Record the transaction info (location, product name, price, quantity)
3. Store the file under directory "/src/main/java/transaction/" 1. Go to directory "/src/main/java/config/"
2. Open tax.json and modify 1. Go to directory "/src/main/java/config/"
2. Open categories.json and modify 1. Go to the home directory of this project
2. run
mvn test
3. Open the index.html under ./target/site/jacoco