maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Moser" <manf...@mosabuam.com>
Subject Re: Do I need to write a plugin for this?
Date Mon, 02 Mar 2015 17:13:51 GMT
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 <anders@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" <bruce@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 <bruce@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-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>> 
>>>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>> 
>>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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


Mime
View raw message