Issue Type: Bug Bug
Affects Versions: osgi-1.0
Assignee: Unassigned
Components: OSGi Core
Created: 20/Jun/13 3:48 AM
Description:

When cloning jbehave-osgi from github 'mvn clean install -P bundles'
fails with the following error:

[ERROR] Failed to execute goal on project org.jbehave.osgi.core: Could not resolve dependencies for project org.jbehave.osgi:org.jbehave.osgi.core:bundle:1.0.0-SNAPSHOT: Could not find artifact org.jbehave:jbehave-core:jar:4.0-SNAPSHOT -> [Help 1]

After adding an appropriate snapshot repository the build fails with the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project org.jbehave.osgi.core: Compilation failure: Compilation failure:
[ERROR] /other/dev/java/osgi/github/jbehave-osgi/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/io/LoadFromBundleClasspath.java:[24,30] classLoader has private access in org.jbehave.core.io.LoadFromClasspath
[ERROR] /other/dev/java/osgi/github/jbehave-osgi/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/io/LoadFromBundleClasspath.java:[26,59] classLoader has private access in org.jbehave.core.io.LoadFromClasspath
[ERROR] /other/dev/java/osgi/github/jbehave-osgi/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/embedder/EmbedderOsgi.java:[18,17] no suitable constructor found for Embedder(org.jbehave.core.embedder.StoryMapper,org.jbehave.core.embedder.PerformableTree,org.jbehave.core.embedder.PrintStreamEmbedderMonitor,org.jbehave.osgi.core.configuration.ConfigurationOsgi)
[ERROR] constructor org.jbehave.core.embedder.Embedder.Embedder(org.jbehave.core.embedder.StoryMapper,org.jbehave.core.embedder.PerformableTree,org.jbehave.core.embedder.EmbedderMonitor) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.jbehave.core.embedder.Embedder.Embedder() is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.jbehave.osgi.core

Project: JBehave
Priority: Major Major
Reporter: Alexander Njemz
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
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to