On Sep 20, 2010, at 2:26 PM, Jon Paynter wrote: > Thanks for the reply -- > > My local repo is empty -- this case by design. when building a clean (or > new) version, the assembly should take the file thats recently changed, and > not an older version sitting in the repository.
Well, this is probably your problem. Every artifact that is built should end up in your local repo. When you're doing a multi-module build (i.e. running 'mvn clean install' from the aggregating pom directory), the projects will be processed in the correct order based on their dependencies, so the latest files will always be used. If this is not the case, then it's likely you have a wrong configuration. > I put the revelant (I think) files here: > http://gist.github.com/588355 > > If that doesnt work, let me know and i'll just post them in this email > thread. It worked. At first glance, it looks reasonably ok. > The end goal is to somewhat duplicate our existing ant build where all > revalant files are copied to a folder named Release/${envType}/ and the > appropiate structure created. > The assembly xml file I posted puts all the files for a single OC4J > component into the proper directories, so that part works okay. > > And again -- if theres a better way to accomplish what im trying to do, let > me know. Im very new to maven. > > Thanks, > Jon. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
