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
- 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
- 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.