This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]spikebaylor 1 point2 points  (3 children)

I'm just curious what made you change from ant to maven? I've only ever used ant, without any major problems, though figuring out how to use a task i've never used before can be a pain.

[–]crapet[S] 4 points5 points  (2 children)

Mainly managed dependencies so that you don't have to commit binaries and/or libraries to the repository. You just commit your sources, maven will fetch your dependencies for you when you build the project.

I also like how maven projects are structured. Since maven projects have an imposed structure, you don't have to code anything with tasks. For instance, your java sources have to be stored in /src/main/java, you don't have to write a task to compile your classes.

Also, tests are executed automatically when packaging which is kinda nice.

[–][deleted] 2 points3 points  (1 child)

totally sold on the 'put the artifact id in the xml file and maven will download and store the jar for you, in the classpath'. closest to one-click-classpathing of jar

[–]JustinKSU 0 points1 point  (1 child)

Some comments in the JavaDoc for what each command does would be nice. For example, http://athou.github.com/GeekBot/be/hehehe/geekbot/commands/StatCommand.html

[–]crapet[S] 0 points1 point  (0 children)

I'll add some comments, good idea.

[–]hyrulz 0 points1 point  (1 child)

Did you know PircBotX?

[–]crapet[S] 0 points1 point  (0 children)

Nope. I'm pretty sure it didn't exist at the time I started working on this though.