You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Kurt Harriger (JIRA)" <ji...@apache.org> on 2011/05/06 18:54:03 UTC
[jira] [Created] (SLING-2075) maven-sling-plugin does not fail
build if installation failed
maven-sling-plugin does not fail build if installation failed
-------------------------------------------------------------
Key: SLING-2075
URL: https://issues.apache.org/jira/browse/SLING-2075
Project: Sling
Issue Type: Bug
Components: Maven Plugins and Archetypes
Affects Versions: Maven Sling Plugin 2.0.4
Reporter: Kurt Harriger
Priority: Minor
Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
This should cause my build to fail. For now just capturing maven output and grepping output for errors.
maven-sling-plugin:2.0.4-incubator:install
....
INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
[ERROR] Installation failed, cause: Unauthorized
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2075) maven-sling-plugin does not fail
build if installation failed
Posted by "Kurt Harriger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030049#comment-13030049 ]
Kurt Harriger commented on SLING-2075:
--------------------------------------
Patch is here:
https://github.com/kurtharriger/sling/tree/SLING-2075
> maven-sling-plugin does not fail build if installation failed
> -------------------------------------------------------------
>
> Key: SLING-2075
> URL: https://issues.apache.org/jira/browse/SLING-2075
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Maven Sling Plugin 2.0.4
> Reporter: Kurt Harriger
> Priority: Minor
>
> Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
> This should cause my build to fail. For now just capturing maven output and grepping output for errors.
> maven-sling-plugin:2.0.4-incubator:install
> ....
> INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
> [ERROR] Installation failed, cause: Unauthorized
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2075) maven-sling-plugin does not fail
build if installation failed
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-2075:
----------------------------------
Fix Version/s: Maven Sling Plugin 2.0.6
Assignee: Justin Edelson
> maven-sling-plugin does not fail build if installation failed
> -------------------------------------------------------------
>
> Key: SLING-2075
> URL: https://issues.apache.org/jira/browse/SLING-2075
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Maven Sling Plugin 2.0.4
> Reporter: Kurt Harriger
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Maven Sling Plugin 2.0.6
>
>
> Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
> This should cause my build to fail. For now just capturing maven output and grepping output for errors.
> maven-sling-plugin:2.0.4-incubator:install
> ....
> INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
> [ERROR] Installation failed, cause: Unauthorized
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2075) maven-sling-plugin does not fail
build if installation failed
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030074#comment-13030074 ]
Justin Edelson commented on SLING-2075:
---------------------------------------
in r1100313, adding an option failOnError. It defaults to false for backwards-compatibility reasons.
> maven-sling-plugin does not fail build if installation failed
> -------------------------------------------------------------
>
> Key: SLING-2075
> URL: https://issues.apache.org/jira/browse/SLING-2075
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Maven Sling Plugin 2.0.4
> Reporter: Kurt Harriger
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Maven Sling Plugin 2.0.6
>
>
> Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
> This should cause my build to fail. For now just capturing maven output and grepping output for errors.
> maven-sling-plugin:2.0.4-incubator:install
> ....
> INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
> [ERROR] Installation failed, cause: Unauthorized
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SLING-2075) maven-sling-plugin does not fail build
if installation failed
Posted by "Justin Edelson (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson closed SLING-2075.
---------------------------------
> maven-sling-plugin does not fail build if installation failed
> -------------------------------------------------------------
>
> Key: SLING-2075
> URL: https://issues.apache.org/jira/browse/SLING-2075
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Maven Sling Plugin 2.0.4
> Reporter: Kurt Harriger
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Maven Sling Plugin 2.0.6
>
>
> Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
> This should cause my build to fail. For now just capturing maven output and grepping output for errors.
> maven-sling-plugin:2.0.4-incubator:install
> ....
> INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
> [ERROR] Installation failed, cause: Unauthorized
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
--
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] [Resolved] (SLING-2075) maven-sling-plugin does not fail
build if installation failed
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-2075.
-----------------------------------
Resolution: Fixed
> maven-sling-plugin does not fail build if installation failed
> -------------------------------------------------------------
>
> Key: SLING-2075
> URL: https://issues.apache.org/jira/browse/SLING-2075
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Maven Sling Plugin 2.0.4
> Reporter: Kurt Harriger
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Maven Sling Plugin 2.0.6
>
>
> Due to incorrect logic in my build script I the user/pass was not set correctly and bundle failed to install.
> This should cause my build to fail. For now just capturing maven output and grepping output for errors.
> maven-sling-plugin:2.0.4-incubator:install
> ....
> INFO: Failure authenticating with BASIC 'OSGi Management Console'@localhost:4502
> [ERROR] Installation failed, cause: Unauthorized
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira