Ok with this debugging information I was able to debug into the maven
execution and see where the validation really fails. For some reason the
MavenExecutionRequest had its system properties not populated. I looked what
the hudson embedder is doing regarding the system properties and did the
same:

Properties systemProperties = request.getSystemProperties();
systemProperties.putAll(System.getProperties());
systemProperties.putAll(getEnvironment());

not that getEnvironment() is a method i copied from the hudson embedder
which basically wraps every environment variable into a property prefixed by
"env.". 

So whats the real deal? How is one supposed to populate the system
properties of an execution request? Am I missing something? 
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/java-lang-NoClassDefFoundError-Lorg-sonatype-plexus-build-incremental-BuildContext-tp3286295p3297152.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to