Skip to content

Price board that displays products sold by various companies and all of their prices.

License

Notifications You must be signed in to change notification settings

tashaylee/priceboard

Repository files navigation

About Pracker

Pracker is a price tracking board that displays multiple companies' prices for any product. The client(ideally a company) creates an entry on the board containing information about themselves, along with Product information. Pracker also allows companies to easily restore the previous price point of their product.

--

UML Diagram

PriceTracker UML

--

Project Template

This is a Java Maven Project Template

How to compile the project

We use Apache Maven to compile and run this project.

You need to install Apache Maven (https://maven.apache.org/) on your system.

Type on the command line:

mvn clean compile

How to create a binary runnable package

mvn clean compile assembly:single

How to run

mvn -q clean compile exec:java -Dexec.executable="edu.bu.met.cs665.Main" -Dlog4j.configuration="file:log4j.properties"

We recommand the above command for running the Main Java executable.

Run all the unit test classes.

mvn clean compile test checkstyle:check  spotbugs:check

Using Spotbugs to find bugs in your project

To see bug detail using the Findbugs GUI, use the following command "mvn findbugs:gui"

Or you can create a XML report by using

mvn spotbugs:gui 

or

mvn spotbugs:spotbugs
mvn spotbugs:check 

check goal runs analysis like spotbugs goal, and make the build failed if it found any bugs.

For more info see https://spotbugs.readthedocs.io/en/latest/maven.html

SpotBugs https://spotbugs.github.io/ is the spiritual successor of FindBugs.

Run Checkstyle

CheckStyle code styling configuration files are in config/ directory. Maven checkstyle plugin is set to use google code style. You can change it to other styles like sun checkstyle.

To analyze this example using CheckStyle run

mvn checkstyle:check

This will generate a report in XML format

target/checkstyle-checker.xml
target/checkstyle-result.xml

and the following command will generate a report in HTML format that you can open it using a Web browser.

mvn checkstyle:checkstyle
target/site/checkstyle.html

About

Price board that displays products sold by various companies and all of their prices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published