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

Packaging is buggy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.5
    • Component/s: Core
    • Labels:

      Description

      Maven reported an error downloading. I found the following thread for it but no solution:
      http://www.mail-archive.com/dev@mina.apache.org/msg18170.html

      http://maven.apache.org/pom.html
      "When no packaging is declared, Maven assumes the artifact is the default: jar. The valid types are Plexus role-hints (read more on Plexus for a explanation of roles and role-hints) of the component role org.apache.maven.lifecycle.mapping.LifecycleMapping. The current core packaging values are: pom, jar, maven-plugin, ejb, war, ear, rar, par. These define the default list of goals which execute to each corresponding build lifecycle stage for a particular package structure."

      the current pom contains:
      <packaging>bundle</packaging>

      This is not listed in the documentation above. Until you really know hat you are doing you should change that to a supported value jar.

      I fixed it by adding the following to my pom, but...
      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.felix</groupId>
      <artifactId>maven-bundle-plugin</artifactId>
      <extensions>true</extensions>
      </plugin>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pinus Haug B├╝rger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: