You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Chetan Mehrotra (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 07:36:39 UTC
[jira] [Created] (FELIX-3293) Exception while creating empty
fragment bundles with version 2.3.6
Exception while creating empty fragment bundles with version 2.3.6
------------------------------------------------------------------
Key: FELIX-3293
URL: https://issues.apache.org/jira/browse/FELIX-3293
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.3.6
Reporter: Chetan Mehrotra
Attachments: pom.xml
While trying to create a fragment bundle which does not package any classes (for example fragment for system bundle to export system packages) the Maven Bundle Plugin 2.3.6 throws exception
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.6:manifest (bundle-manifest) on project com.example.fragment.jcr: Cannot find <path removed>/example-fragment/target/classes (manifest goal must be run after compile phase) -> [Help 1]
This used to work with 2.3.5
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FELIX-3293) Exception while creating empty
fragment bundles with version 2.3.6
Posted by "Patrik Dudits (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263657#comment-13263657 ]
Patrik Dudits commented on FELIX-3293:
--------------------------------------
I second this. Other possibility would be to include skip parameter for that goal. In my project it is a default goal defined in parent pom, but we've got few modules that e. g. generate aggregate bundle via Embed-Dependencies instruction.
> Exception while creating empty fragment bundles with version 2.3.6
> ------------------------------------------------------------------
>
> Key: FELIX-3293
> URL: https://issues.apache.org/jira/browse/FELIX-3293
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.3.6
> Reporter: Chetan Mehrotra
> Attachments: pom.xml
>
>
> While trying to create a fragment bundle which does not package any classes (for example fragment for system bundle to export system packages) the Maven Bundle Plugin 2.3.6 throws exception
> [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.6:manifest (bundle-manifest) on project com.example.fragment.jcr: Cannot find <path removed>/example-fragment/target/classes (manifest goal must be run after compile phase) -> [Help 1]
> This used to work with 2.3.5
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3293) Exception while creating empty
fragment bundles with version 2.3.6
Posted by "Chetan Mehrotra (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated FELIX-3293:
-----------------------------------
Attachment: pom.xml
Sample pom.xml with maven bundle plugin configured to reproduce the issue
> Exception while creating empty fragment bundles with version 2.3.6
> ------------------------------------------------------------------
>
> Key: FELIX-3293
> URL: https://issues.apache.org/jira/browse/FELIX-3293
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.3.6
> Reporter: Chetan Mehrotra
> Attachments: pom.xml
>
>
> While trying to create a fragment bundle which does not package any classes (for example fragment for system bundle to export system packages) the Maven Bundle Plugin 2.3.6 throws exception
> [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.6:manifest (bundle-manifest) on project com.example.fragment.jcr: Cannot find <path removed>/example-fragment/target/classes (manifest goal must be run after compile phase) -> [Help 1]
> This used to work with 2.3.5
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira