Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreating Quickstart Not Working #99

Closed
dmsilver2 opened this issue Feb 22, 2019 · 1 comment
Closed

Recreating Quickstart Not Working #99

dmsilver2 opened this issue Feb 22, 2019 · 1 comment

Comments

@dmsilver2
Copy link

dmsilver2 commented Feb 22, 2019

I am going through the quickstart example on your site, but I am not able to complete it.

I first ran the below command and the quickstart was able to build succussfully

mvn org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate \

-DarchetypeGroupId=org.osgi.enroute.archetype \
-DarchetypeArtifactId=project \
-DarchetypeVersion=7.0.0

s\Daniel Silver\osgi\quickstart
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.168 s
[INFO] Finished at: 2019-02-22T14:38:38-05:00
[INFO] ------------------------------------------------------------------------

However, when I try to install the maven packages (mvn install) I get the following error.

[INFO] --- bnd-export-maven-plugin:4.1.0:export (default) @ app ---
[ERROR] Error : The runbundles have changed. Failing the build!
Was: null
Is:
org.apache.felix.scr;version='[2.1.10,2.1.11)',
org.osgi.enroute.examples.quickstart.impl;version='[1.0.0,1.0.1)'
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for quickstart 1.0-SNAPSHOT:
[INFO]
[INFO] quickstart ......................................... SUCCESS [ 0.218 s]
[INFO] impl ............................................... SUCCESS [ 1.707 s]
[INFO] app ................................................ FAILURE [ 1.375 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.448 s
[INFO] Finished at: 2019-02-22T14:53:13-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:4.1.0:export (default) on project app: 1 errors found -> [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 -rf :app

@timothyjward
Copy link
Contributor

It looks as if this is a user error, having missed the resolve step in the instructions https://enroute.osgi.org/tutorial/020-tutorial_qs.html#resolving-the-application

Please reopen if this is still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants