Skip to content

SDK Supported Features and Test plan

mindthegab edited this page Dec 19, 2014 · 21 revisions

##Access a release candidate

  • Get the URL of the release candidate repository from the Release Manager. For example for 2.0.0 it's https://oss.sonatype.org/content/repositories/orgalfresco-1005/

  • Add this profile to add a repository to your ~/.m2/settings.xml:

  <profile>
   	<id>alfresco-dev</id>
        <repositories>
			<repository>
				<id>alfresco-sdk-staging</id>
				<url>https://oss.sonatype.org/content/repositories/orgalfresco-1005/</url>
			</repository>
		</repositories>
		<activation>
			<activeByDefault>true</activeByDefault>
		</activation>
    </profile>
  • Test the different archetypes:
  1. All-in-One

mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-allinone-archetype -DarchetypeVersion=2.0.0 -DinteractiveMode=false -DgroupId=com.acme.alfresco -DartifactId=test-aio -DarchetypeRepository=https://oss.sonatype.org/content/repositories/orgalfresco-1005/

  1. AMP

mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-amp-archetype -DarchetypeVersion=2.0.0 -DinteractiveMode=false -DgroupId=com.acme.alfresco -DartifactId=test-amp -DarchetypeRepository=https://oss.sonatype.org/content/repositories/orgalfresco-1005/

  1. Share AMP

mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=share-amp-archetype -DarchetypeVersion=2.0.0 -DinteractiveMode=false -DgroupId=com.acme.alfresco -DartifactId=test-share-amp -DarchetypeRepository=https://oss.sonatype.org/content/repositories/orgalfresco-1005/

NOTE: Change the archetypeRepository based on the URL provided by the release manager.

##Test plan upon 2.x releases

###Functional tests

  • For the 3 archetypes
    • creation
    • embedded running
    • property filtering
    • hot reloading (excl properties and spring files)
    • enterprise profile
  • For amp and all-in-one
    • unit testing
    • remote unit testing

###Non Functional requirements

  • All features need to work in Eclipse, Idea, cmd line

###Documentation Review docs at https://artifacts.alfresco.com/nexus/content/groups/public/alfresco-sdk-aggregator/latest/index.html

Clone this wiki locally