cancel
Showing results for 
Search instead for 
Did you mean: 

How does one build Alfresco Community 5?

bobhc
Champ in-the-making
Champ in-the-making
I was able to use Jeff Potts tutorial "Getting Started with the Alfresco Maven SDK"
to build Alfresco Community 4.2.e with Maven.
However, I have not been able to find any information on building Alfresco Community 5.
I would appreciate any suggestions.
Thanks
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
With maven you may not need to build it (since the various artifacts are already built and available).

However if you do want to build from scratch install maven,   check out the code and then in the "root" directory where you will find the "pom.xml" file.  

I use {code}
mvn install -DskipTests
{code}

hatts101
Champ in-the-making
Champ in-the-making
Hi,

I've downloaded the source for Alfresco community from svn and also the alfresco 2.1 sdk.

From the command line I navigate in to the root directory of v5.0.d and run a mvn build using mvn install

When I build though I get the following error:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.springframework.extensions.surf:spring-surf-parent:5.0.d (/Users/harrietjohnson/svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V5.0.d/root/projects/surf/pom.xml) has 10 errors
[ERROR]     Child module /Users/harrietjohnson/svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V5.0.d/root/projects/surf/spring-... of /Users/harrietjohnson/svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V5.0.d/root/projects/surf/pom.xml does not exist…

Can anyone help with this? I can see the surf project in the location specified above. I've checked the pom in the surf project and it specifies v5.0.d.

Thanks very much.

mgkarlo
Champ in-the-making
Champ in-the-making
To use maven to develop towards Alfresco 5.0.x you need to use the new Alfresco 2.0 SDK. Here is the documentation to create projects using this SDK:

http://docs.alfresco.com/community/concepts/alfresco-sdk-tutorials-archetypes.html

You may also want to check out the Rapid Application Development (RAD) section, as it explains how use Eclipse to manage your project.

bobhc
Champ in-the-making
Champ in-the-making
That's what I was looking for.