I haven't tried out Maven with Java 9 yet, but I was kind of hoping that a
Maven plugin would be introduced (or the compiler plugin updated) to
automatically create your module-info.java file.

On 26 February 2017 at 01:56, <list+org.o...@io7m.com> wrote:

> Hello.
>
> On 2017-02-25T15:57:55 -0600
> Matt Sicker <boa...@gmail.com> wrote:
>
> > Perhaps bnd could be enhanced to handle it, but I'd imagine you'd just
> have
> > two build plugins generating metadata from the same project model.
> >
>
> Extending bnd (and by extension, the maven-bundle-plugin) would be
> ideal, yes. The issue with having two separate plugins working from the
> same model is that there isn't (yet) a common model to work with.
>
> As things are right now, I could see myself having to specify package
> exports twice: Once in the maven-bundle-plugin manifest and once in a
> module-info.java file in the root of each module's source tree.
>
> M
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
Matt Sicker <boa...@gmail.com>
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to