cancel
Showing results for 
Search instead for 
Did you mean: 

Run tests in Alfresco 5.0.b env

sergwf
Champ in-the-making
Champ in-the-making
Hi,
I'm using maven archetype for creating a new alfresco amp project, accordig to this <a href="http://docs.alfresco.com/community/tasks/alfresco-sdk-tutorials-amp-archetype.html">article</a>
When I try to run tests on the project, it fails with errors.
I do not change anything in the generated code instead version of alfresco (5.0.b).
When I return alfresco.version and alfresco.client.war.version variables inside pom.xml to 5.0.a, all tests pass.
Is it possible to run test on 5.0.b env?

PS.
Surefire report in the attachment.
3 REPLIES 3

douglascrp
World-Class Innovator
World-Class Innovator
Change the parent project version on your root project to 2.0.0-SNAPSHOT

sergwf
Champ in-the-making
Champ in-the-making
Thanks for your reply.
In which repository can I find working version of 2.0.0-SNAPSHOT?
I'm using 2.0.0-beta-4 version of the parent project. It is working pretty good excluding Integration-Test part.
Even I use 5.0.a alfresco version, it can not run tests with message "Could not start JUnit remoteServer".

douglascrp
World-Class Innovator
World-Class Innovator
You have to clone the git project from here https://github.com/Alfresco/alfresco-sdk

After you get the code, run mvn install on its root folder, and you will have it available locally.

Change the parent version on your pom.xml to 2.0.0-SNAPSHOT and it should work
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.