I am trying to debug a problem the following problem that I am seeing with webstart-maven-plugin:

    http://jira.codehaus.org/browse/MWEBSTART-138 (still open)
    http://jira.codehaus.org/browse/MWEBSTART-64 (closed as fixed)

I have checked out the latest trunk source from svn for webstart-maven-plugin and installed it in my local repo.

I run mvn on my project that uses the webstart-maven-plugin using the following command to allow attaching via a remote debugger (NetBeans 6.9 in my case):

env MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" mvn install

maven block and wait for debugger to connect to port 8000.

I open the webstart-maven-plugin project in Netbeans and set breakpoints in various places.

I then attach the debugger to port 8000 and maven continues as expected (all good so far).

However, it never hits the breakpoints I set even though it should.

So I thought perhaps I am running a different version of the plugin that what I have open with breakpoints. So I use pluginManagement as follows to fix the version I wish to use to the one I have built and isntalled:

<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo.webstart</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>

I repeat my steps and still no joy. What could be the problem?

Also, how does one turn on logging for a plugin or all plugin?

TIA for your help.

--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to