IBM / AMLSim

The AMLSim project is intended to provide a multi-agent based simulator that generates synthetic banking transaction data together with a set of known money laundering patterns - mainly for the purpose of testing machine learning models and graph algorithms. We welcome you to enhance this effort since the data set related to money laundering is critical to advance detection capabilities of money laundering activities.
Apache License 2.0
263 stars 82 forks source link

Add Maven to the project #50

Closed nelsonjd closed 3 years ago

nelsonjd commented 3 years ago

I'm currently working on adding Maven to this project. The old scheme will still work for those that don't want to install maven. They will just have to go out and find all the jars.

The best way to install maven on Mac is

brew install maven

I'm thinking adding Maven is good because it's much easier to manage dependencies this way. If custom jars are still needed you can install them to your local repository.

I only needed to install 2 jars to my local repository. The other ones were easily found on the maven remote repostitories

mvn install:install-file \
-Dfile=jars/mason.18.jar \
-DgroupId=mason \
-DartifactId=mason \
-Dversion=18 \
-Dpackaging=jar \
-DgeneratePom=true
mvn install:install-file \
-Dfile=jars/paysim.jar \
-DgroupId=paysim \
-DartifactId=paysim \
-Dversion=1.0.0 \
-Dpackaging=jar \
-DgeneratePom=true

The build and run scripts work exactly the same as before. The only change is I'm getting rid of bin/ directory and now we are using target/classes/ directory as the bin directory. So I will update the README. We will need to update the wiki. @hkanezashi