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

Reply via email to