sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7417) Use bnd Maven plugins
Date Sun, 21 Jan 2018 16:35:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-7417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333586#comment-16333586
] 

Oliver Lietz commented on SLING-7417:
-------------------------------------

[~kwin], I'm just getting my hands dirty with bnd Maven Plugin and I'm open for improvements,
but having generic instructions in Parent isn't that useful:
* we need a reliable trigger to activate the configuration for the JAR plugin which is now
the bnd file ({{MANIFEST.MF}} itself is not, see SLING-7392)
* bq. It is also supported to specify the Bnd instructions embedded in the pom file. This
is not recommended but can be useful when the parent project is a repository based pom. Bnd
instructions in the pom are not used if the project has a bnd file.
  which means no inheritance
* out of 14 modules I've migrated so far only 3 have generic instructions (started with the
*easy* ones obviously)
* having external bnd instructions (not in the POM) makes it easier to work with other tools
I guess
* the bnd file is a distinct indicator for a bundle module

Though it would be nice to get rid of those repeated instructions.

> Use bnd Maven plugins
> ---------------------
>
>                 Key: SLING-7417
>                 URL: https://issues.apache.org/jira/browse/SLING-7417
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Major
>             Fix For: Commons Messaging 1.0.0, Commons Messaging Mail 1.0.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message