[
https://issues.apache.org/jira/browse/DIRMINA-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993872#comment-12993872
]
Guillaume Nodet commented on DIRMINA-817:
-----------------------------------------
Which version of maven do you use ? Could you try with maven 3.0 maybe ?
The bundle packaging has been used in various projects since a long time and
it's the first time i've seen such an issue.
> 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
>
> Maven reported an error downloading. I found the following thread for it but
> no solution:
> http://www.mail-archive.com/[email protected]/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