If you are an Eclipse user, you may want to try my Maven Development
Tools [1], which lets you debug through mojo and maven core code right
from m2e workspace.
There is no MavenProject#getProjectBuilderConfiguration in any version
of Maven I checked (3.2.1, 3.1.2, 2.0.9), check current master for
example [2]. What version of Maven do you use?
[1] https://github.com/ifedorenko/com.ifedorenko.m2e.mavendev
[2]
https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=maven-core/src/main/java/org/apache/maven/project/MavenProject.java;h=91038b382e336af1399899ee905fae5b87bde586;hb=master
--
Regards,
Igor
On 2014-02-27, 17:04, Jörg Hohwiller wrote:
Hi there,
I am back on Mojo and trying to debug maven.
However, it is simply not working:
C:\consumer-maven-plugin>mvnDebug consumer:consumer
Preparing to Execute Maven in Debug Mode
ERROR: transport error 202: bind failed: Permission denied
["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510) ["debu
gInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
initializedFATAL ERROR
in native method: JDWP No transports initialized,
jvmtiError=JVMTI_ERROR_INTERNA
L(113)
I followed various instructions such as:
http://mojo.codehaus.org/development/process.html
and tried:
MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
Also with higher port values.
Any ideas?
My actual problem I want to trace down is this one:
java.lang.NoSuchMethodError:
org.apache.maven.project.MavenProject.getProjectBuilderConfiguration()Lorg/apache/maven/project/ProjectBuilderConfiguration;
IMHO MavenProject.getProjectBuilderConfiguration() should be a legal
method to call and its in the API.
I tried maven-model in version 2.2.1 as well as with 3.1.1 but nothing
changes.
Thanks
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]