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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Abandoned
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.14
    • 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?

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              Unassigned
              Reporter:
              tv Thomas Vandahl

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment