put it in a separate module On 18 February 2012 15:14, jgruber <john.t.gru...@gmail.com> wrote: > Hello all.. still learning maven. I have a project where I need to compile a > class and then run its main method to acquire some of the needed files for > the compile phase. The files I need to acquire require a bit of massaging of > a HTTP conversation to work, so that part is proprietary to my class for > now. > > Originally I had a shell script which would run both the compile step and > the mvn commands, but exec:exec will not work inside of eclipse (the target > for this project) when importing my maven project. > > What the best way to have maven compile a java class from the src tree, have > it in its path, and exec:java before the compile phase? > > Thanks for the advice. > > -- > View this message in context: > http://maven.40175.n5.nabble.com/compile-and-run-a-class-before-the-comiple-phase-tp5495402p5495402.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org