You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2010/11/03 11:55:24 UTC

[jira] Created: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Maven dependencies for mina-integration-* for non-OSGi-users
------------------------------------------------------------

                 Key: DIRMINA-806
                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
             Project: MINA
          Issue Type: Bug
          Components: Integration
    Affects Versions: 2.0.0
            Reporter: Thomas Vandahl


I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.

1. There are no such bundles in the central maven repository.
2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.

---8<---
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-core</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-integration-beans</artifactId>
            <version>2.0.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-integration-ognl</artifactId>
            <version>2.0.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-integration-beans</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-integration-jmx</artifactId>
            <version>2.0.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-integration-beans</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-integration-ognl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
---8<---

Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927953#action_12927953 ] 

Pierre-Arnaud Marcelot commented on DIRMINA-806:
------------------------------------------------

I think the 'maven-bundle-plugin' specifies that the 'bundle' packaging/type generates artifact files which end with a '.jar' extension instead of a '.bundle' extension.

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927854#action_12927854 ] 

Emmanuel Lecharny commented on DIRMINA-806:
-------------------------------------------

can you add :

      <type>bundle</type>

in your dependencies, and remove the exclusions, to see if it works better ?

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927915#action_12927915 ] 

Thomas Vandahl commented on DIRMINA-806:
----------------------------------------

No it doesn't. My maven does not resolve bundle-dependencies at all (no maven-bundle-plugin). Mind you: I have no OSGi-environment whatsoever.

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927956#action_12927956 ] 

Thomas Vandahl commented on DIRMINA-806:
----------------------------------------

So, basically you are telling me that I need a separate Maven plugin to be able to use MINA as a dependency? Really?

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-806:
--------------------------------------

    Fix Version/s:     (was: 2.0.3)
                   2.0.4

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.4
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Haug Bürger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965714#action_12965714 ] 

Haug Bürger commented on DIRMINA-806:
-------------------------------------

This hack of my pom solved the issue. Am I the only one who thinks that maven creates more issues than it solves?
...
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-core</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.mina</groupId>
            <artifactId>mina-integration-beans</artifactId>
            <version>2.0.1</version>
            <!-- The mina-integration-beans has a bundle dependency which does not work for me -->
            <exclusions>
                <exclusion>
                    <groupId>org.apache.mina</groupId>
                    <artifactId>mina-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
...

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.3
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927989#action_12927989 ] 

Pierre-Arnaud Marcelot commented on DIRMINA-806:
------------------------------------------------

Yes, indeed.
I'm not saying it's a good thing, though.

On the other hand, adding this plugin to your build doesn't do much except solving the dependency resolving issue.

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927919#action_12927919 ] 

Emmanuel Lecharny commented on DIRMINA-806:
-------------------------------------------

Which Maven version are you using ?

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927939#action_12927939 ] 

Thomas Vandahl commented on DIRMINA-806:
----------------------------------------

2.2.1

We use an Archiva 1.3 instance as our local repository manager and central-proxy if that matters.


> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-806:
--------------------------------------

    Fix Version/s: 2.0.3

Postponed

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.3
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982601#action_12982601 ] 

Thomas Vandahl commented on DIRMINA-806:
----------------------------------------

A probably related issue:

I added the Maven bundle plugin to resolve the dependencies. However my primary artifact type is WAR and the current maven-war-plugin does not package dependencies of "bundle"-type into the war. Any ideas?

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.3
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-806:
--------------------------------------

    Fix Version/s:     (was: 2.0.4)
                   2.0.5

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.5
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927952#action_12927952 ] 

Pierre-Arnaud Marcelot commented on DIRMINA-806:
------------------------------------------------

Adding this in your project (or parent) pom.xml should solve the issue:
=========================================
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        </configuration>
      </plugin>
    </plugins>
  </build>
=========================================

> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (DIRMINA-806) Maven dependencies for mina-integration-* for non-OSGi-users

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-806:
--------------------------------------

    Fix Version/s:     (was: 2.0.6)
                   2.0.8
    
> Maven dependencies for mina-integration-* for non-OSGi-users
> ------------------------------------------------------------
>
>                 Key: DIRMINA-806
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-806
>             Project: MINA
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.0
>            Reporter: Thomas Vandahl
>             Fix For: 2.0.8
>
>
> I'm trying to follow the JMX-integration example in the users guide. When I add mina-integration-jmx as a dependency, I get unresolved dependencies such as mina-core-2.0.1.bundle.
> 1. There are no such bundles in the central maven repository.
> 2. If I define the dependencies explicitly and exclude the bundles like follows, everything works ok.
> ---8<---
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-core</artifactId>
>             <version>2.0.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-beans</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-ognl</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.mina</groupId>
>             <artifactId>mina-integration-jmx</artifactId>
>             <version>2.0.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-core</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-beans</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.mina</groupId>
>                     <artifactId>mina-integration-ognl</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> ---8<---
> Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?

--
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