Hi Todd, It's just more software to install and maintain which I'd like to avoid. Our 3 projects have a grand total of 2 dependencies at the moment. I love what Maven gives us in terms of a simplified build/project mgmt approach although I'm not interesting in adding more complexity to the build environment just so that Maven itself can run (i.e. the repo contents are less than 1% of our actual dependencies).
Rob On Fri, Oct 16, 2009 at 11:18 AM, Todd Thiessen <[email protected]> wrote: > Whats wrong with using a repo manager? It simplifies the problem you are > trying to solve. > > --- > Todd Thiessen > > > > -----Original Message----- > > From: Rob Slifka [mailto:[email protected]] > > Sent: Friday, October 16, 2009 2:16 PM > > To: Maven Users List > > Subject: Hosting a local repo w/out a Repo Manager? > > > > Hi all, > > I'm working on wrapping my head around setting up an internal > > "blessed" > > repository and being assured that Maven will fail when a > > dependency is not found there. > > > > (1) Clear my local repo. > > (2) Run Maven through our lifecycle (clean, compile, package, > > test, etc.). > > (3) Take the contents of my now-populated local repo and copy > > them up to a shared location. > > > > Now I'm not sure what to do next. I've tried overriding both > > the central repo and plugin repo with my local repo in our > > POMs, however this consistently seems to ignore plugins that > > are found in my internal repo (i.e. claim they aren't there > > when they are). It also attempts to check for updates to > > plugins that aren't -SNAPSHOT versions and I'm not sure quite why. > > > > Given the trouble I'm having, I'm pretty sure I'm way off the > > reservation here with what and how I'm doing this. Looking > > inside the repo, there are central XML files that Maven is > > probably surprised to find inside the local repo? > > > > I'm not terribly interested in adding another piece of > > software to our build environment, hence my avoidance of a > > Repository Manager. We have a very small number of > > dependencies outside of our project. Maven's own > > dependencies dwarf ours :) > > > > Any tips are much appreciated, thanks! > > > > Rob > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
