Re: Do I need to write a plugin for this?

2015-03-02 Thread Manfred Moser
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: >

Re: Do I need to write a plugin for this?

2015-03-01 Thread Anders Hammar
I remember that I read this blog post when I created my first custom packaging type plugin: http://blog.sonatype.com/2009/08/create-a-customized-build-process-in-maven/ Then I also looked a lot at the jboss-packaging-maven-plugin at Codehaus mojo. /Anders On Mon, Mar 2, 2015 at 8:47 AM, Greg Tra

Re: Do I need to write a plugin for this?

2015-03-01 Thread Greg Trasuk
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 wrote: > In that case you do, yes. That's called a custom

Re: Do I need to write a plugin for this?

2015-03-01 Thread Anders Hammar
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" : >

Re: Do I need to write a plugin for this?

2015-03-01 Thread Bruce Albrecht
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

Re: Do I need to write a plugin for this?

2015-03-01 Thread Benson Margulies
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, Bruc

Do I need to write a plugin for this?

2015-03-01 Thread Bruce Albrecht
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 jus