maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@takari.io>
Subject Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest
Date Fri, 13 Nov 2015 23:04:01 GMT
You are missing the dependencies which contain the necessary classes. I made a PR for you.
The project test now executes. 

FYI, I use this all the time now for plugin unit and integration testing:

https://github.com/takari/takari-plugin-testing-project

> On Nov 13, 2015, at 5:30 PM, <org.apache.maven.user@io7m.com> <org.apache.maven.user@io7m.com>
wrote:
> 
> On 2015-11-13T17:09:36 -0500
> Jason van Zyl <jason@takari.io> wrote:
> 
>> You must be running with a version of Maven where that class does not exist? That
error means you’re using a library where that class was present during building but not
present at runtime. You running something older than Maven 2.2.x?
>> 
> 
> I actually included the version information in the initial email:
> 
> Apache Maven 3.3.3 (NON-CANONICAL_2015-07-27T12:38:38_root; 2015-07-27T09:38:38+00:00)
> Maven home: /opt/maven
> Java version: 1.8.0_65, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "4.2.2-1-arch", arch: "amd64", family: "unix"
> 
> M
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder, Takari and Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

To think is easy. To act is hard. But the hardest thing in the world is to act in accordance
with your thinking.

 -- Johann von Goethe













---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message