You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Paul Gregoire (JIRA)" <ji...@apache.org> on 2012/12/06 20:07:09 UTC

[jira] [Commented] (DIRMINA-919) Maven packaging is broken

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

Paul Gregoire commented on DIRMINA-919:
---------------------------------------

This on top of maven itself is quite confusing. I have added the felix entry to my pom and still i get this error:

The following artifacts could not be resolved: org.apache.mina:mina-core:bundle:2.0.7, org.apache.mina:mina-integration-beans:bundle:2.0.7: Could not find artifact org.apache.mina:mina-core:bundle:2.0.7 in central (http://repo.mav
en.apache.org/maven2/)

So what can I do now?
                
> 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