You are not logged in.

#1 2015-08-17 23:50:24

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

[SOLVED] Best practices for maven projects?

Does anybody have any insights to share how to best package Java projects that use maven (mvn) to build?

Maven has this habit of reading and writing lots of files in $HOME/.m2, which makes the build a little less predictable than I'd like. But if I create a project-local version of that directory hierarchy, this would cause a lot of overhead, so I was wondering what people are doing.

Thanks.

Last edited by jernst (2015-08-28 21:42:53)

Offline

#2 2015-08-28 21:42:08

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: [SOLVED] Best practices for maven projects?

For now, I am creating a local repository (i.e. not ~/.m2 but something that's specific to the build) which gets cleaned frequently.

If it turns out that I need to re-download too many maven modules on a regular basis, I'll probably set up a local proxy.

Offline

Board footer

Powered by FluxBB