MINA
  1. MINA
  2. DIRMINA-806

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.9
    • Component/s: Integration
    • Labels:
      None

      Description

      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?

        Activity

        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.9 [ 12328541 ]
        Fix Version/s 2.0.8 [ 12323342 ]
        Emmanuel Lecharny made changes -
        Description 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?
        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.

        {code}
        ---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<---
        {code}

        Is this behavior intentional? If so, how do I use these dependencies in an non-OSGi environment and where do I get them from?
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.8 [ 12323342 ]
        Fix Version/s 2.0.6 [ 12316652 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.6 [ 12316652 ]
        Fix Version/s 2.0.5 [ 12316474 ]
        Julien Vermillard made changes -
        Fix Version/s 2.0.5 [ 12316474 ]
        Fix Version/s 2.0.4 [ 12316009 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.4 [ 12316009 ]
        Fix Version/s 2.0.3 [ 12315510 ]
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Fix Version/s 2.0.3 [ 12315510 ]
        Thomas Vandahl created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Vandahl
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development