Forum: PogamutUT2004

Standalone Bot

Since the Maven upgrade it seems impossible to create a standalone jar file to launch a bot from. When trying to let someone else run your bot, this is a lot easier than requiring them to install Pogamut and set up your source code, etc.

So, is there anyway to compile these Maven projects so that they can run by just executing a jar file?
Hi!

Just materialize any example PogamutUT2004 archetype and check pom.xml, maven pacakge, check target folder and look for XXX.one-jar.jar that executes the bot completely standalone.

groupId: cz.cuni.amis.pogamut.ut2004
artifactId: pogamut-ut2004-bot-pom
version: 3.3.1-SNAPSHOT

And properly configure main class for one-jar plugin (see example archetype).

Jakub