On Wed, Aug 25, 2010 at 6:13 PM, sebb <seb...@gmail.com> wrote: > On 25 August 2010 22:23, Rahul Akolkar <rahul.akol...@gmail.com> wrote: >> On Wed, Aug 25, 2010 at 4:51 PM, Jacob Beard <jbea...@cs.mcgill.ca> wrote: >>> Hi, >>> >>> I've completed initial integration of Maven with the Ant build script. >>> Maven's compile phase now builds the combined js file and the single class >>> file. The package phase is then able to successfully create an executable >>> jar. >>> >> <snip/> >> >> Cool. >> >> >>> My next question is, is it important to phase out getDeps.xml, the ant >>> script that downloads required JavaScript and Java libraries for the >>> project, in favor of a Maven solution? >>> >>> Many of the required libraries downloaded in getDeps.xml do not have a maven >>> repository, but at the same time, many do, including commons-cli and xalan. >>> These could perhaps be downloaded by Maven. Is a hybrid solution the best >>> approach? >>> >> <snap/> >> >> I'd say so, there is value to having the Java deps listed in the pom >> rather than elsewhere, so they get taken care of as part of the >> Maven's management of dependencies. The binaries distros in Commons >> don't actually contain dependency jars so there is no need to download >> (beyond being in the m2 local repo) or copy them into distros. >> >> Seems like the JavaScript deps that aren't in the repo will >> necessitate the hybrid approach. One way would be to fetch these >> during another antrun execution tied to one of the earlier phases. > > Maybe also add the dependencies to the POM as "provided"? > <snip/>
If you're talking about the JS deps, no. These aren't on central (and don't have their own repos either). -Rahul --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org