Re: Plugin manipulating POM files

Benno Markiewicz <[email protected]> Mon, 23 May 2016 20:30:59 +0200
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <CAA_aP4jwQ=Od7BrW73t6kEPXdgS_tHsd3+g5j767_6_Z5N1xew@mail.gmail.com>
Hej Alex,

done. See https://github.com/AlexFalappa/nb-springboot/pull/12

But as a warning: implementation dependencies are not easy to maintain. You
have to recompile your plugin for every version. Sooner or later I would
switch to use yenta [1], which adds your module as a friend at runtime, as
you can see in [2]

[1] https://bitbucket.org/jglick/yenta/overview
[2]
https://github.com/search?l=maven-pom&q=org.netbeans.contrib.yenta&type=Code&utf8=%E2%9C%93


With kind regards, markiewb

2016-05-22 16:49 GMT+02:00 AlexFalappa <[email protected]>:

> Hello Benno,
>   apologies for my late reply.
>
>
> markiewb wrote:
> > Hej Alex, can you please provide a minimal sample of your maven based
> nbm-project? Your generator could print out "Hello World" into the pom, if
> you do not want to/can share the real implementation.
> >
>
>
> The plugin is developed in the open at GitHub and will have an Apache 2.0
> license.
> See https://github.com/AlexFalappa/nb-springboot/tree/feat-pom-codegen
> for the work in progress on this topic not yet merged in master.
>
> Feel free to checkout it and give it a go I would be glad if you could
> help.
>
> Greets
> --
> Alex
>
>
>
>
>