Hi, Thanks for the feedback. I've made a change which I thought was correct but it appears that it isn't:
- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> <compilerArgument>-g:source,lines,vars</compilerArgument> (Added this line) <source>1.6</source> <target>1.6</target> </configuration> </plugin> Is this correct? I assume not. Many Thanks, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2008 2:40 PM To: Maven Users List Subject: Re: Compiling JAR file with debug info included David schrieb: > Hi, > > I have a Java application and class library that need interactive debugging > enabled. To do that I need to build them with debug information included. > Can someone explain to me how I do that with Maven as they are Maven builds? > See the documentation for the maven-compiler-plugin: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html Defining this plugin in the build section of your pom will override the default settings. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
