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

mvn test fails after clean checkout #1

Open
EHJ-52n opened this issue Jun 11, 2015 · 0 comments
Open

mvn test fails after clean checkout #1

EHJ-52n opened this issue Jun 11, 2015 · 0 comments

Comments

@EHJ-52n
Copy link

EHJ-52n commented Jun 11, 2015

I cloned the repository and execute mvn test and it fails:

[...]
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.example.osgi.svc.MyServiceTestCase
22 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 2.5.0) created.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.072 sec <<< FAILURE!

Results :

Tests in error: 
  getHelloService:org.example.osgi.svc.MyServiceTestCase.getHelloService:NativeContainer:org.apache.felix.framework.FrameworkFactory@7f63425a(org.example.osgi.svc.MyServiceTestCase): Not highest version found for org.example.osgi.mvn-felix-eclipse:api-bundle:jar:(0.0,]
[...]

Execute the following commands to try:

git clone https://github.com/bosschaert/osgi-toolchain-mvn-felix-eclipse-example.git 
cd osgi-toolchain-mvn-felix-eclipse-example
mvn test -Dmaven.repo.local=/tmp/repo-$(date +%Y%m%d-%H%M%S)

I am using the following tool stack:

  • OS: Ubuntu 14.04 latest; Kernel: 3.13.0-generic - amd64
  • Java: 1.8.0_45 Oracle Java
  • Maven: 3.0.5

Do you need any additional information?

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

1 participant