I'm excited to officially announce the arrival of Alfresco SDK 3.0.
This new major release is provides a new approach to building, running and testing your modules and customizations.
The release is of course available on Maven Central.
As always, we appreciate feedback. Leave comments below or raise an issue on Github if you have a feature enhancement, a bug or even a pull request.
Alfresco SDK 3.0 brings a lot of new changes into the way your customizations are built, packaged, run and tested.
- JAR Packaging
- AMP packaging as an assembly
- Improved compatibility - supports 4.2.x - 5.2.x and onwards
- Easy upgrades - simply change the "alfresco-maven-plugin" version to upgrade the SDK
- No forced parent pom - also means we have no profiles
- All run and integration testing logic moved to the Alfresco Maven Plugin
- Integration Testing directly on running repositories
- Simplified archetypes
- Hot Reloading via HotSwapAgent or JRebel
The majority of the work in SDK 3.0 has gone into moving all the previous profiles into the Alfresco Maven Plugin. The plugin now offers two new goals "alfresco:run" and "alfresco:it" for executing integration tests.
We are in the process of rewriting in-depth documentation on how to use the SDK, for now we have a new Getting Started Guide with SDK 3.0, which also covers more details on the new features. Be sure to check it out.
We will be releasing more documentation and tutorials shortly, stay tuned!
The archetypes and plugins has been released to Maven Central, but it usually takes up to a day before the global archetype catalog gets updated. If you do not see SDK 3.0.0 as an option when running "mvn archetype:generate" you can still generate them directly like this:
mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-allinone-archetype -DarchetypeVersion=3.0.0 -DinteractiveMode=false -DgroupId=com.acme.alfresco -DartifactId=my-aio-project