You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2012/07/28 11:29:33 UTC
[jira] [Created] (KARAF-1681) generate-features-xml does not
generate anything, no log/warning
Hendy Irawan created KARAF-1681:
-----------------------------------
Summary: generate-features-xml does not generate anything, no log/warning
Key: KARAF-1681
URL: https://issues.apache.org/jira/browse/KARAF-1681
Project: Karaf
Issue Type: Bug
Components: karaf-tooling
Affects Versions: 2.2.8
Reporter: Hendy Irawan
org.apache.karaf.tooling : features-maven-plugin : generate-features-xml bug
*generate-features-xml* does not generate anything (and prints out no warnings/errors/etc.).
Therefore *add-features-to-repo* is not working.
Also, what is the format of @bundles.properties@ file ?
{code}
ceefour@annafi:~/patch/generate-features-xml-bug$ mvn clean generate-resources
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building generate-features-xml-bug 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ generate-features-xml-bug ---
[INFO] Deleting /home/ceefour/patch/generate-features-xml-bug/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
[debug] execute contextualize
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] >>> features-maven-plugin:2.2.8:generate-features-xml (generate-features-xml) @ generate-features-xml-bug >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
[debug] execute contextualize
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] >>> features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
[debug] execute contextualize
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] <<< features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug <<<
[INFO]
[INFO] --- features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug ---
[INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
[INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
[INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
[INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.944s
[INFO] Finished at: Sat Jul 28 16:23:14 WIT 2012
[INFO] Final Memory: 15M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.8:add-features-to-repo (generate) on project generate-features-xml-bug: Error populating repository: /home/ceefour/patch/generate-features-xml-bug/target/classes/generated-features.xml (No such file or directory) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{code}
I've prepared a minimal test case in https://github.com/ceefour/generate-features-xml-bug
--
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] (KARAF-1681) generate-features-xml does not
generate anything, no log/warning
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424512#comment-13424512 ]
Jean-Baptiste Onofré commented on KARAF-1681:
---------------------------------------------
I'm cloning your test case to reproduce.
> generate-features-xml does not generate anything, no log/warning
> ----------------------------------------------------------------
>
> Key: KARAF-1681
> URL: https://issues.apache.org/jira/browse/KARAF-1681
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 2.2.8
> Reporter: Hendy Irawan
> Assignee: Jean-Baptiste Onofré
>
> org.apache.karaf.tooling : features-maven-plugin : generate-features-xml bug
> *generate-features-xml* does not generate anything (and prints out no warnings/errors/etc.).
> Therefore *add-features-to-repo* is not working.
> Also, what is the format of @bundles.properties@ file ?
> {code}
> ceefour@annafi:~/patch/generate-features-xml-bug$ mvn clean generate-resources
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building generate-features-xml-bug 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ generate-features-xml-bug ---
> [INFO] Deleting /home/ceefour/patch/generate-features-xml-bug/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:generate-features-xml (generate-features-xml) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] <<< features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug <<<
> [INFO]
> [INFO] --- features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug ---
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.944s
> [INFO] Finished at: Sat Jul 28 16:23:14 WIT 2012
> [INFO] Final Memory: 15M/213M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.8:add-features-to-repo (generate) on project generate-features-xml-bug: Error populating repository: /home/ceefour/patch/generate-features-xml-bug/target/classes/generated-features.xml (No such file or directory) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
> I've prepared a minimal test case in https://github.com/ceefour/generate-features-xml-bug
--
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] (KARAF-1681) generate-features-xml does not
generate anything, no log/warning
Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424528#comment-13424528 ]
Hendy Irawan commented on KARAF-1681:
-------------------------------------
Thank you Jean-Baptiste!
> generate-features-xml does not generate anything, no log/warning
> ----------------------------------------------------------------
>
> Key: KARAF-1681
> URL: https://issues.apache.org/jira/browse/KARAF-1681
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 2.2.8
> Reporter: Hendy Irawan
> Assignee: Jean-Baptiste Onofré
>
> org.apache.karaf.tooling : features-maven-plugin : generate-features-xml bug
> *generate-features-xml* does not generate anything (and prints out no warnings/errors/etc.).
> Therefore *add-features-to-repo* is not working.
> Also, what is the format of @bundles.properties@ file ?
> {code}
> ceefour@annafi:~/patch/generate-features-xml-bug$ mvn clean generate-resources
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building generate-features-xml-bug 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ generate-features-xml-bug ---
> [INFO] Deleting /home/ceefour/patch/generate-features-xml-bug/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:generate-features-xml (generate-features-xml) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] <<< features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug <<<
> [INFO]
> [INFO] --- features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug ---
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.944s
> [INFO] Finished at: Sat Jul 28 16:23:14 WIT 2012
> [INFO] Final Memory: 15M/213M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.8:add-features-to-repo (generate) on project generate-features-xml-bug: Error populating repository: /home/ceefour/patch/generate-features-xml-bug/target/classes/generated-features.xml (No such file or directory) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
> I've prepared a minimal test case in https://github.com/ceefour/generate-features-xml-bug
--
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] [Assigned] (KARAF-1681) generate-features-xml does not
generate anything, no log/warning
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-1681:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> generate-features-xml does not generate anything, no log/warning
> ----------------------------------------------------------------
>
> Key: KARAF-1681
> URL: https://issues.apache.org/jira/browse/KARAF-1681
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 2.2.8
> Reporter: Hendy Irawan
> Assignee: Jean-Baptiste Onofré
>
> org.apache.karaf.tooling : features-maven-plugin : generate-features-xml bug
> *generate-features-xml* does not generate anything (and prints out no warnings/errors/etc.).
> Therefore *add-features-to-repo* is not working.
> Also, what is the format of @bundles.properties@ file ?
> {code}
> ceefour@annafi:~/patch/generate-features-xml-bug$ mvn clean generate-resources
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building generate-features-xml-bug 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ generate-features-xml-bug ---
> [INFO] Deleting /home/ceefour/patch/generate-features-xml-bug/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:generate-features-xml (generate-features-xml) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (filter) @ generate-features-xml-bug ---
> [debug] execute contextualize
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 4 resources
> [INFO]
> [INFO] <<< features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug <<<
> [INFO]
> [INFO] --- features-maven-plugin:2.2.8:add-features-to-repo (generate) @ generate-features-xml-bug ---
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:enterprise:xml:features:2.2.8
> [INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.2.8
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.944s
> [INFO] Finished at: Sat Jul 28 16:23:14 WIT 2012
> [INFO] Final Memory: 15M/213M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.8:add-features-to-repo (generate) on project generate-features-xml-bug: Error populating repository: /home/ceefour/patch/generate-features-xml-bug/target/classes/generated-features.xml (No such file or directory) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
> I've prepared a minimal test case in https://github.com/ceefour/generate-features-xml-bug
--
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