Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-806

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 2.0.0
    • 2.0.14
    • Integration
    • 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            tv Thomas Vandahl
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: