Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Maven Alfresco SDK™ At the end of a journey, there is always a new beginning…

Similar presentations


Presentation on theme: "The Maven Alfresco SDK™ At the end of a journey, there is always a new beginning…"— Presentation transcript:

1 The Maven Alfresco SDK™ At the end of a journey, there is always a new beginning…

2 Few items we’ll talk about… The journey to Happy Development on Alfresco The Maven Alfresco SDK ™ The new frontiers of Alfresco productivity

3 TED, Simon Sinek, 2010

4 Why? Amsterdam, 2007 So the story begins…

5 Once upon a time… Boss: “You gotta learn Alfresco, quick!” Gab: “Mhmhmh…ok ” We all ♥ frameworks Modern and cool Open source Easy to use And Alfresco is all of the above! But…

6 So what about this Alfresco thing? Very, very nice framework, but how do I do about

7 It almost like…

8 And the solution would be?

9 The real solution was … going rogue! Confession I have never used the Alfresco SDK! (ehm…) I need more productivity and standards! Why not? Alfresco is just a webapp (WAR) AMPs are no more than MMT managed ZIPs Why can’t I use my favorite tool of choice?

10 But a fool with a tool is still a fool…

11 This is a battle for freedom! Community & Enterprise ready Alfresco Community & Enterprise Support Quick start but also enterprise processes fit No lock-ins Pick your IDE and enjoy Artifacts available to any Maven compatible tool Foster creativity “Seconds” vs. “days” for project setup Focus on real “value” delivery

12 How… Can we get a better developer experience on Alfresco? Europe, 2008-2012

13 But we need an evil plan to make it happen! 1.First… Alfresco Artifacts taxonomy Artifacts Repository 2.Then… Project archetypes Frequently used samples 3.Finally… Delivery to the Community Alfresco Enterprise compatible

14 A Community success story 2008: Maven Alfresco Archetypes founded A (quite messy) set of field Maven best practices 2009: Maven Alfresco Lifecycle (up to 3.9.1) Consolidation of archetypes and plugins June 2012: Alfresco Artifacts Repository! More than 100 people on the public list Nov 2012: Maven Alfresco SDK ™ released! Backed by Alfresco Artifacts and POMs

15

16 Guess what?

17 What? The Maven Alfresco SDK™ Or Alfresco Developer’s best friend Berlin, 2012

18 Maven Alfresco SDK™ components Alfresco Maven Plugin Embeds Alfresco MMT Alfresco SDK Parent POM SDK single point of entrance Alfresco Platform Distribution POM Community / Enterprise Alfresco Maven archetypes AMP & All-in-One

19 Maven Alfresco SDK™ is your target! Archetypes SDK POM Plugin Alfresco Artifacts Deployment

20 Alfresco compatibility notes Requires Alfresco Community 4.2.b+ Assumed POMs available only as of ALF-14353ALF-14353 To run Alfresco 4.2.b+, Java 7 is required Works with Alfresco Enterprise Enterprise version not GA yet with POMs Jetty + H2 are not supported Exclusively for development purposes YMMV on H2 support. Check the project pageproject page

21 Demo One command AMP project creation with the Maven SDK mvn archetype:generate -DarchetypeCatalog= https://artifacts.alfresco.com /nexus/content/groups/public/archetype-catalog.xml https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/archetypes/alfresco-amp-archetype/index.html

22 Because development should be fun…

23 Demo AMP development with the Maven Alfresco SDK integrated in Eclipse https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/archetypes/alfresco-amp-archetype/usage.html Source code support, testing, remote debugging MAVEN_OPTS="-Xms256m -Xmx1G -XX:PermSize=300m"

24 …and Alfresco development can be!

25 SDK entry points AMP archetype Development of features on Repo / Share as AMPs Local testing of developed features All-in-one archetype Full blown demo or Enterprise quick start project Contains AMP, Repo, Share, Solr, Web Quick Start Your custom project Using SDK Parent or Alfresco Maven Plugin

26 Package it, run it, ship it! Packaging AMP packaging AMP installation (with MMT embedded) With alfresco:install goal Using the standard maven-war-plugin support http://maven.apache.org/plugins/maven-war-plugin/overlays.html http://maven.apache.org/plugins/maven-war-plugin/overlays.html Runtime Jetty + H2 support Distribution Deployment and release are standard Maven features

27 Demo All-in-One multi-module packaging & embedded run https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/archetypes/alfresco-allinone-archetype/index.html 0 manual downloads, 2 commands and you’re up and running! MAVEN_OPTS="-Xms256m -Xmx1G -XX:PermSize=300m"

28 Documentation website https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/index.html

29 Conclusions & New Beginnings Just in case you did not tweet yet and you need inspiration…

30

31 Recap Maven Alfresco SDK™ enables a new, installer free, automated way of developing on Alfresco You can test your code per unit and in integration! You can manage, customize and run all Alfresco WAR components as well as develop your AMPs Requires Alfresco Community 4.2.b+ or Alfresco Enterprise (next version)+

32 An outlook to a bright future “All downhill from here” Rapid application development (hot reloading) Enterprise Archetypes More archetypes from Alfresco Benchmark Spring Surf Strong growth More than 100 members on Google Groups ~100 Enterprise customers on Artifacts Repository Community on Maven Central ? (TBC)

33 On a a more serious note…

34 So happy Mavember everyone!

35 References Maven Alfresco SDK Alfresco SDK Parent POM Alfresco 4.2.b Platform Distribution POM Alfresco Artifacts Repository Join the community Maven Alfresco Community Maven Alfresco on GoogleCode Twitter @mindthegabz @maoo @samuel_langlois

36 The End Or the real beginning


Download ppt "The Maven Alfresco SDK™ At the end of a journey, there is always a new beginning…"

Similar presentations


Ads by Google