I've defined a pom (attached) project "distribution-management" which contains the proper incantations to cause mvn deploy to upload things to the nexus repo on luzifer. Every "work" project has this as a direct or indirect parent.
I write java programs in my free time too and I'd like to be able to use maven there as well. I don't want to be forced to move my "work" stuff to a separate user on my notebook. I'd rather avoid having two .m2 directories and performing a renaming dance everytime I want to switch between building "for work" and building "for home".
I hit upon the idea of setting up a local nexus on my notebook for home. So now nexus is running there. Let's call that one localhost.
What I think I need is some combination of profile-magic-pixie-dust in settings.xml and a an analog to distribution-management for home which I'll use as an ancestor for my "home" projects.
The difficulty is that I don't *really* understand what I'm doing well enough to accomplish this without a lot of unproductive flailing. Surely someone else must be in a similar situation. Anyone care to donate a little clue?
(I'm not married to the idea of having a nexus at home. I could work must from the .m2. Still it would be nice to be able to trash my .m2/ repository and have it repopulate from my at-home nexus witout taxing my internet bill.)
// Ben
settings.xml.gz
Description: GNU Zip compressed data
distribution-management-pom.xml.gz
Description: GNU Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
