Hi Andrew, Another option is to use the exec-maven-plugin to launch your java program of choice, then attach to it with jdb afterward using the "-attach" option.
See also: http://stackoverflow.com/questions/2935375/debugging-in-maven Regards, Curtis On Thu, Oct 10, 2013 at 10:21 AM, Russell Gold <r...@gold-family.us> wrote: > The simplest way to do this is actually to run it in your IDE directly. > IntellijIDEA community edition can import your maven project and thus get > all of the dependencies. Then you just run the program in the debugger. I > presume Eclipse can do something similar. > > On Oct 10, 2013, at 10:52 AM, Andrew Pennebaker <apenneba...@42six.com> > wrote: > > > Yes. I'm looking for a task like `mvn jdb:debug <Class>` that starts a > jdb > > session on <Class>.main(). > > > > I can run jdb on individual Java code outside of a Maven structure, but > I'm > > not sure how to inform jdb of Java code in a Maven project, Maven's > > CLASSPATH handling, etc. etc. > > > > > > On Thu, Oct 10, 2013 at 10:46 AM, Benson Margulies < > bimargul...@gmail.com>wrote: > > > >> What would that mean? Do you want to execute the program in the > debugger? > >> > >> On Thu, Oct 10, 2013 at 10:38 AM, Andrew Pennebaker > >> <apenneba...@42six.com> wrote: > >>> I'd like to run jdb over some of my classes in a Maven project. Is > there > >> a > >>> plugin I can drop into my pom.xml? > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >> For additional commands, e-mail: users-h...@maven.apache.org > >> > >> > > ----------------- > Author, Getting Started with Apache Maven < > http://www.packtpub.com/getting-started-with-apache-maven/video> > > Come read my webnovel, Take a Lemon <http://www.takealemon.com>, > and listen to the Misfile radio play < > http://www.fuzzyfacetheater.com/misfile/>! > > > > > > > >