Where's the code for the extension. They are expected to work in both places, 
you shouldn't have to do anything special other than making sure your 
dependencies are correctly marked as provided.

On Apr 18, 2015, at 12:26 PM, Christofer Dutz <christofer.d...@c-ware.de> wrote:

> Hi,
> 
> 
> I have just finished a small maven core extension containing an EventSpy. 
> It's working nicely if I include it into my build using Maven 3.3.1 and a 
> ".mvn/extensions.xml", but I couldn't get it working by copying the jar to 
> the MAVEN_HOME/lib/ext directory (I even tried a shaded jar). All I am 
> getting are these warnings:
> 
> 
> [WARNING] Failed to notify spy 
> org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: 
> java.util.NoSuchElementException
>      role: org.apache.maven.execution.MavenSession
>  roleHint:
> 
> ?What is the difference between the two options? What do I have to change in 
> order to have my extension working in older Maven versions (down to 3.1.1) by 
> installing it into the lib/ext directory?
> 
> Chris
> 

Thanks,

Jason

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

The most dangerous risk: spending your life not doing what you want on the bet 
you can buy yourself freedom to do it later.

 -- Randy Komisar












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

Reply via email to