Alfresco SDK 3 beta 1 available

cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco SDK 3 beta 1 available

Established Member II
6 7 3,309

We are pleased to announce the first beta of Alfresco SDK 3.0!


This release has been in the works for a long time, and addresses a lot of the issues and limitations we currently experience with the latest SDK releases.

By releasing this first beta we wish to get feedback on the overall structure, setup, compatibility and hot reloading.

Please raise issues on Github or reach out to us directly.

We welcome all feedback.

What's new
 

    • JAR first approach, standardised JAR project structure
    • All runner logic is centralized in the Alfresco Maven Plugin (no runner projects)
    • Flexible configuration: Enable Repository? Enable Share? Enable Solr? Enable H2? Enable Tomcat? All configurable via the plugin
    • No forced parent pom
    • Low impact on your project
    • AMP as an optional assembly
    • Install 3rd party addons (and control the order they are applied
    • All-in-one, Repository and Share archetypes
    • Hot reloading via JRebel
    • Support for all releases from 5.0 to 5.2.a - across community and enterprise
    • Support for 4.2 (currently Share module requires you to add two dependencies by hand)
    • Standalone Repository archetype supports Solr4


What's yet to come

       
    • Testing - we want to provide the best possible TDD experience
    • Integration with Alfresco SPK


How to get it

Martin Bergljung has written up an in-depth user guide that will walk you through all the jucy details, you can find it here.

If you just want to get it up and running here and now, here's the steps you need:

EDIT: We have just released SDK 3.0.0-beta-3 to address this issue. The instructions below have been changed to reflect beta-2.

EDIT: Maven Central deletes staging repositories, we have deployed 3.0.0-beta-4 on our own Maven Repository to avoid the repositories going away after a week.

The Alfresco SDK 3.0.0-beta-4 has been released to our Maven Repository.

To generate a project use this command:

mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype:

Make sure you copy the full command, otherwise it will be a long list of archetypes.

Select the archetype you want, enter the properties and execute run.sh (for Linux/Mac) or run.bat (for Windows).

Thoughts, comments or other feedback? Let us know on Github, comments below, email, IRC etc.

About the Author
After five years as an active member of the Alfresco Community I helped co-found The Order Of the Bee and was initially on the board, until I joined Alfresco as Developer Evangelist in April 2015. I have more than 14 years of experience in the industry ranging from tech support, systems administration, development, project management, team lead and now developer evangelism. I have been a big contributor to the Alfresco SDK, proud member of The Order Of the Bee, written various tutorials and video tutorials on both Aikau, Alfresco and Alfresco SDK.
7 Comments
Active Member

Good stuff Ole!

This is coming at an opportune time for us. Do you have an ETA for the release?

Thanks.

Toon

Established Member II

Thanks for the feedback Toon Smiley Happy

We don't have a fixed release date as we're still heavily in development, and we're being very agile in responding to requests for additional functionality. 

Currently there are three main areas we need to have feature complete: Integration testing, support for Activiti and Yeoman generator.

We are targeting November for release, but as mentioned above we're trying to get as much done as possible. Please don't take this as an absolute confirmation that SDK 3 will be released in November but as a pointer on when we think it will be ready.

Active Member

Thanks Ole.

Do you mean that Activiti is not yet included when running the local project?

Established Member II

We are bringing in support for standalone Activiti in the SDK. With the JAR-first approach this allows us to have a unified way of developing extensions - regardless of wether you're doing Activiti as a standalone, repository or share - it's all the same setup.

Established Member II

UPDATE:

I have updated the blog post to reflect the latest changes. We now host the beta releases on our own repository to ensure stability. Use this command will get you started:

mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype:
Active Member

I am using maven 3.3.9 on ubuntu and it seems to come by default with maven-archetype-plugin version 3.0 that was breaking the functionality. I was obliged tu force version 2.4. to make it work.

 

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype:

Active Member II

If I change Content Model or Worflow Process, Can I run hot reload?