You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2013/09/27 17:22:03 UTC
[jira] [Resolved] (SLING-3121) Deployment of java bundles fails if
the maven-sling-plugin is not declared in the pom
[ https://issues.apache.org/jira/browse/SLING-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu resolved SLING-3121.
------------------------------------
Resolution: Fixed
- Use fully-qualified plugin name when creating the maven launch config in http://svn.apache.org/viewvc?view=revision&revision=1526949
- Make the maven launch config not update snapshots in http://svn.apache.org/viewvc?view=revision&revision=1526950
> 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
> Assignee: 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