You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Julien Vermillard (JIRA)" <ji...@apache.org> on 2011/06/14 20:22:47 UTC

[jira] [Updated] (DIRMINA-817) Packaging is buggy

     [ https://issues.apache.org/jira/browse/DIRMINA-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-817:
--------------------------------------

    Fix Version/s:     (was: 2.0.4)
                   2.0.5

> Packaging is buggy
> ------------------
>
>                 Key: DIRMINA-817
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-817
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.2
>            Reporter: Haug Bürger
>              Labels: build
>             Fix For: 2.0.5
>
>
> 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>

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