I asked a very similar question in SO a few weeks ago: http://stackoverflow.com/questions/4906147
Maybe you will find it useful (the discussion is still open there). — Yegor Bugayenko, PMP®, SCEA On Wed, Apr 6, 2011 at 7:17 PM, Wayne Fay <[email protected]> wrote: > > I have pom that has dependency of python to be installed in order to run > > test phase. I have python in specified version as third party in my nexus > > thirdparty repository. > > How can I specify what to do with the dependency (for this example, > install > > python on machine if not exists) > > Maven has no ability (that I know of) to install an external package > like Python during a build cycle as a result of a particular > dependency occuring in a given project's list of deps. You could > perhaps construct something using the dependency plugin or the exec > plugin to do something along these lines. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
