alfresco mavenisation

21
Alfresco Mavenisation State Of The Union Samuel Langlois 30-Jan-2014

Upload: samuel-langlois

Post on 15-Jan-2015

185 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Alfresco Mavenisation

Alfresco MavenisationState Of The Union

Samuel Langlois 30-Jan-2014

Page 2: Alfresco Mavenisation

Agenda

• My job(s)– Builds– Releases

• Mavenisation– A bit of history– Current state of the Maven build– Future!

Page 3: Alfresco Mavenisation

My job

Page 4: Alfresco Mavenisation

Bamboo

Page 5: Alfresco Mavenisation

Builds• Alfresco Community• Alfresco Enterprise

– Service packs– Hotfixes– Dev branches– Funny databases

• Alfresco Cloud• QA tests• Modules

– Records Management– Media Management

• Integrations– GoogleDocs– Centera– Kofax– Salesforce

• Mobile– iOS– Android

• Workdesk• Desktop Sync• …

Page 6: Alfresco Mavenisation

Branches

HEAD

COMMUNITYTAGS/V4.2.e TAGS/CLOUD/release-32

Page 7: Alfresco Mavenisation

Branches

HEAD

BRANCHES/DEV/V4.2-BUG-FIX

BRANCHES/DEV/V4.1-BUG-FIXBRANCHES/DEV/V3.4-BUG-FIX

COMMUNITYTAGS/V4.2.e TAGS/CLOUD/release-32

Page 8: Alfresco Mavenisation

Branches

HEAD

BRANCHES/DEV/V4.2-BUG-FIX

PATCHES/V4.2.0

TAGS/V4.2.0

BRANCHES/DEV/V4.1-BUG-FIXBRANCHES/DEV/V3.4-BUG-FIX

COMMUNITYTAGS/V4.2.e TAGS/CLOUD/release-32

Page 9: Alfresco Mavenisation

Branches

HEAD

BRANCHES/DEV/V4.2-BUG-FIX

PATCHES/V4.2.0

TAGS/V4.2.0 TAGS/V4.2.0.1

PATCHES/V4.2.1

BRANCHES/DEV/V4.1-BUG-FIXBRANCHES/DEV/V3.4-BUG-FIX

COMMUNITYTAGS/V4.2.e TAGS/CLOUD/release-32

Page 10: Alfresco Mavenisation

Branches

HEAD

BRANCHES/DEV/V4.2-BUG-FIX

PATCHES/V4.2.0

TAGS/V4.2.0 TAGS/V4.2.0.1

PATCHES/V4.2.1

BRANCHES/DEV/V4.1-BUG-FIXBRANCHES/DEV/V3.4-BUG-FIX

COMMUNITYTAGS/V4.2.e TAGS/CLOUD/release-32

BRANCHES/DEV/HEAD-BUG-FIX

BRANCHES/DEV/TEAM1

Page 11: Alfresco Mavenisation

Releasing

• Subversion tag• JIRA• Internal - http://releases.alfresco.com/

• Salesforce– Files on Amazon S3– Release Notes article with links

• Maven repository - https://artifacts.alfresco.com/

• Amazon Marketplace

Alfresco Release Management site

Page 12: Alfresco Mavenisation

Mavenisation

Page 13: Alfresco Mavenisation

A bit of history 1/5

• June 2012Deployed Alfresco artifacts to our Maven Repo– Community and Enterprise– From Alfresco 3.3.5 onwards– sources and javadoc available as well– But… empty POM files

<project> <modelVersion>4.0.0</modelVersion> <groupId>org.alfresco.enterprise</groupId> <artifactId>alfresco-core</artifactId> <version>3.3.5</version></project>

Page 14: Alfresco Mavenisation

A bit of history 2/5

• December 2012Adding dependencies in POM files – From Alfresco 4.2b and 4.1.2 onwards– Allowed the Maven Alfresco SDK 1.0

– POM actually come from a bootleg Maven build

Page 15: Alfresco Mavenisation

A bit of history 3/5

• 2013Cloud Convergence – built by Maven!– Released 31 in October 2013– Dual build: Ant for Enterprise, Maven for

Cloud overlay

Page 16: Alfresco Mavenisation

A bit of history 4/5

• October 2013Separated test sources in Enterprise 4.2– tests jars added to the repository from 4.2.0

on– Retrofitted in Ant build in 4.1 and 4.2…

Page 17: Alfresco Mavenisation

A bit of history 5/5

• November 2013Cloud release 32 fully built by Maven– To be deployed in a few weeks…

Page 18: Alfresco Mavenisation

Current status

Page 19: Alfresco Mavenisation

Maven build status of Enterprise• Compilation ✓• 4742 Tests ✓• System-build-tests ו Distribution artifacts ×

See BDE-242 for details!

Page 20: Alfresco Mavenisation

Next steps

• Fix the last bits• Switch Community build to Maven first?• Train the people in Engineering• Switch Enterprise, ready for 4.3!

Page 21: Alfresco Mavenisation

Questions? (/ Answers…)