Belisarius is a bot that detects vandalism on Stack Overflow.
Clone the repository and build it with Maven:
git clone https://github.com/SOBotics/Belisarius
cd Belisarius
Install the swagger-java-client jar, which is used to communicate with Higgs, and build:
mvn -B install:install-file -Dfile="./lib/swagger-java-client-1.0.0.jar" \
-DgroupId="io.swagger" \
-DartifactId="swagger-java-client" \
-Dversion="1.0.0" \
-Dpackaging="jar" \
-DgeneratePom="true"
mvn clean install
properties/login.properties
file with the information you like.Run the bot with the following command:
java -cp target/belisarius-1.7.1.jar:./lib/* bugs.stackoverflow.belisarius.Application
If you want to changes the log location, then edit src/main/resources/log4j.xml
and change the path in line 16.
However, you should build the project again with mvn install
, so that the changes are applied.