Robert Munteanu created SLING-3121:
--------------------------------------

             Summary: Deployment of java bundles fails if the 
maven-sling-plugin is not declared in the pom
                 Key: SLING-3121
                 URL: https://issues.apache.org/jira/browse/SLING-3121
             Project: Sling
          Issue Type: Bug
          Components: IDE
            Reporter: Robert Munteanu
            Priority: Critical
             Fix For: Sling Eclipse IDE 1.0.0


The run configuration should:

- explicitly list the maven-sling-plugin ( groupId:artifactId:version) OR 
declare it in the bundle ; otherwise it fails
- not inlcude the 'bundle' profile

The relevant error listing is

        [WARNING] The requested profile "bundle" could not be activated because 
it does not exist.
        [ERROR] No plugin found for prefix 'sling' in the current project and 
in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available 
from the repositories [local (C:\Users\labuser\.m2\repository), central 
(http://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to