The Android Maven Plugin and the Android NDK Maven Plugin both implement custom packaging types. Albeit they are a bit more complex to look at..
http://simpligility.github.io/android-maven-plugin/ http://simpligility.github.io/android-ndk-maven-plugin/ Greg Trasuk wrote on 01.03.2015 23:47: > > Hi Anders and Benson: > > Nothing to do with this question, but I’m curious for another project - could > you point me towards a good example of a custom packaging type plugin? > > Thanks, > > Greg Trasuk > > On Mar 2, 2015, at 1:30 AM, Anders Hammar <and...@hammar.net> wrote: > >> In that case you do, yes. That's called a custom packaging type and is >> implemented via a plugin. >> But you can also accomplish the upload by having a pom packaging and >> specify the cba file with the build-helper plugin as Benson wrote. >> >> /Anders (mobile) >> Den 2 mar 2015 07:25 skrev "Bruce Albrecht" <br...@maven.zuhause.org>: >> >>> However, if I want my pom to have packaging of cba, it's my impression >>> that I need to write a plugin. It's the only artifact I want to upload >>> to Nexus. >>> >>> On 03/01/15 20:42, Benson Margulies wrote: >>>> I don't understand your question at all. In Maven, you can just use the >>>> build-helper-maven-plugin to attach any file to the project, causing it >>> to >>>> upload. So, you can certainly use antrun to run the ant build, and the >>>> helper to attach the result as an artifact. >>>> >>>> On Sun, Mar 1, 2015 at 4:18 PM, Bruce Albrecht <br...@maven.zuhause.org> >>>> wrote: >>>> >>>>> I am working on a project that creates OSGI bundles with an extension of >>>>> .cba and today uses ant to invoke a workbench to build the .cba file. I >>>>> want to upload the .cba file to my Nexus repository. My initial take on >>>>> this is that if IBM didn't use its own extension for this, I would be >>>>> able to just use the antrun plugin. >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>>> For additional commands, e-mail: users-h...@maven.apache.org >>>>> >>>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org