Howdy! Has anyone used `maven` to manage Java depe...
# cfml-general
l
Howdy! Has anyone used
maven
to manage Java dependencies for use in a CFML project?
t
kinda? i package all my Java dependencies into an uberjar and use maven to build/manage that.
👍🏾 1
d
@Tim is that done all in commandline
t
again, kinda. Our build process is a bit funky, because our git repo structure is a bit funky. So we have an ant build that basically copies a bunch of folders of CF files around into a deployable website structure. That mainly uses just vanilla ant tasks. That same ant script calls maven (via the exec task) to build the aforementioned uber jar, and then calls robocopy (again via exec) to move the whole shebang to our servers. and the exec task is really just a call to cmd, basically, so that's the "more or less in commandline" part.
d
I have a simple deploy process. if I can just commit an uberjar to my repo I'd be good.
l
@Tim thanks for the rundown. I was thinking of doing something kind of like that. I’m hesitant to add another build tool and another list of dependencies to update to the project, but it’s really good to know that it’s been done before.
d
I use Gradle to package dependencies into an uberjar.