[
https://issues.apache.org/jira/browse/DIRMINA-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503729#comment-13503729
]
Pierre-Arnaud Marcelot commented on DIRMINA-919:
------------------------------------------------
Yeah, I'm pretty confident about it.
See those two other Jira issues:
- https://issues.apache.org/jira/browse/DIRMINA-806
- https://issues.apache.org/jira/browse/DIRMINA-817
You need it because the "bundle" packaging type isn't a default one in Maven.
Maven usually sets the packaging type as the extension of the artifact file
('jar' packaging type => '.jar" file).
The problem is that with "bundle" packaging type, the extension isn't ".bundle"
but still ".jar".
So the extra plugin definition will help Maven correctly resolve "bundle"
artifacts as ".jar" files in the repository.
> Maven packaging is broken
> -------------------------
>
> Key: DIRMINA-919
> URL: https://issues.apache.org/jira/browse/DIRMINA-919
> Project: MINA
> Issue Type: Improvement
> Affects Versions: 2.0.7
> Reporter: Jeff MAURY
> Labels: Maven, packaging
> Fix For: 2.0.8, 3.0.0-trunk
>
>
> Maven packaging is broken on several parts: core has bundle packaging where a
> jar is deployed to Central so having a core dependency with Maven needs to
> have<type>jar</type> in the dependency otherwise build fails.
> Can be ok but more problems arise if you use mina-http:
> 1) it embeds classes from core in its jar file but not the source jar so it
> is problematic to use in an IDE
> 2) mina-http has a dependency on mina-core but as it does not specify
> <type>jar</type> dependency resolution fails and you need to play with
> exclusions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira