Hi, the code is here: https://github.com/apache/flex-utilities/tree/develop/mavenizer/maven-extension
The "provided" scope was the tip that got my fat-jar running in lib/ext for Maven 3.1.1 ... Unfortunately it seems to only run in Maven 3.3.1 ... if I try it in 3.2.2 or 3.1.1 I get errors :-( Chris -----Ursprüngliche Nachricht----- Von: Karl Heinz Marbaise [mailto:[email protected]] Gesendet: Samstag, 18. April 2015 18:51 An: Maven Users List Betreff: Re: Packaging Maven Core Extensions Hi, are you running from within Jenkins ? On 4/18/15 6:26 PM, Christofer Dutz 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 > > Kind regards Karl Heinz Marbaise --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
