Run mvn install failure

cancel
Showing results for 
Search instead for 
Did you mean: 
YanFeiHu
Active Member II

Run mvn install failure

Jump to solution

Hi Team;

      When I run 'mvn install', there had an error, please refer the URL as below;

      'https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html'

      Thanks a lot!

maven install.png

Integration tests module failure.png

1 Solution

Accepted Solutions
abhinavmishra14
Advanced

Re: Run mvn install failure

Jump to solution

Glad it worked @YanFeiHu , You can ignore those errors. We have been seeing for a long time now in sdk3.x. Its all good. 

 

By the sdk4.x should also work. If you have any plans to use it in future, share the steps you followed and errors you get. 

You can also search this forum for the errors and you might get some threads that may be useful. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

3 Replies
abhinavmishra14
Advanced

Re: Run mvn install failure

Jump to solution

The value is being extracted via com.someco.platformsample.DemoComponent class. 

public NodeRef getCompanyHome() {
   return nodeLocatorService.getNode("companyhome", null, null);
}

And value is coming as what you have created in your repository. If you are using chinese chars, replace the value to chinese chars to match the equals, example:

assertEquals("公司主页 ", companyHomeName);

Or update the node name of the company home to keep it "Company Home".

 

By the way, you seems to be using SDK3, instead of SDK4.x for ACS7. You should be using SDK4.x instead. Check the master branch from here: https://github.com/jpotts/alfresco-developer-series

Make sure you have DockerDesktop installed and running in order to use SDK4.x and ACS7.x.

You can also review this thread on how to instal docker desktop and required modules to get started: https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-configure-the-development-environ...

 

 

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
YanFeiHu
Active Member II

Re: Run mvn install failure

Jump to solution

Hi Abhinav;

     Thank you so much for your help!

     Yes, it works! But as you can see, there still have some errors.

      And meanwhile, I see SDK 4.3 for Alfresco 7.1, and I do want to using Alfresco 7.1, but failed to install it.

      Now I using Alfresco 5.2.

build success.png

abhinavmishra14
Advanced

Re: Run mvn install failure

Jump to solution

Glad it worked @YanFeiHu , You can ignore those errors. We have been seeing for a long time now in sdk3.x. Its all good. 

 

By the sdk4.x should also work. If you have any plans to use it in future, share the steps you followed and errors you get. 

You can also search this forum for the errors and you might get some threads that may be useful. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)