[
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