Commit d7fd79f5 authored by mindthegab's avatar mindthegab
Browse files

-- added maven alfresco share archetype

-- improved documentation and prepared 1.9.1 release
-- updated changes.xml

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@251 04253f4f-3451-0410-a141-5562f1e59037
parent 4da863cd
Loading
Loading
Loading
Loading
+34 −16
Original line number Diff line number Diff line
<document>
	<properties>
		<title>Maven Alfresco AMP archetype</title>
    <author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
		<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
	</properties>
	<body>
  <release version="1.9.0" date="2009-11-07" description="Public release alfresco 3.2r based">
		<release version="1.9.1" date="2009-12-07"
			description="Moved to maven.alfresco.com">
			<action dev="columbro" type="add">
				Moved to http://maven.alfresco.com
      </action>
			<action dev="columbro" type="fix">
				Fixed version of maven-buildnumber-plugin (for compatibility issues with maven 2.2.1)
      </action>
      <action dev="columbro" type="enhancement">
        Documented versioning scheme and maven-nosnapshot-plugin
      </action>
		</release>
		<release version="1.0.0" date="2008-07-06" description="Public release">
			<action dev="g.columbro" type="add">
				Added full AMP lifecycle management
      </action>
		</release>
		<release version="1.9.0" date="2009-11-07"
			description="Public release alfresco 3.2r based">
			<action dev="g.columbro" type="add">
				Updated to Alfresco 3.2r artifacts
      </action>
+2 −3
Original line number Diff line number Diff line
@@ -8,8 +8,7 @@

Welcome to the Maven Alfresco AMP Archetype home

 You've reached the ({{ ${site_pom_url} }}) Maven Alfresco AMP archetype home page (version: ${site_pom_version}) 

 You've reached the Maven Alfresco AMP archetype version ${site_pom_version} ) home page. 


Description
@@ -42,4 +41,4 @@ mvn install
--------------------------------------------
 
 You can then use the AMP by depending on it using the Maven Alfresco Extension Archetype, without any external tool (e.g. MMT).
 See {{http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/profiles.html}}
 No newline at end of file
 See {{{http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/profiles.html} available profiles for Extension archetypes}}
 No newline at end of file
+33 −0
Original line number Diff line number Diff line
 -----
 AMP used versioning scheme
 -----

Progressive Versioning Scheme

 This scheme was designed to:
 
 * reach properties single sourcing from the POM (so to automatically fill module.properties based on POM properties)
 
 * to be able to use Maven SNAPSHOT capabilities during development
 
 * maintain a senseful progressive order in the versions and builds
 
and had to overcome the following shortcomings:
 
 * Alfresco Module Packages (AMPs) versions cannot contain letters (therefore no -SNAPSHOT is allowed)
 
For this the AMP version (in the module.properties) is filtered to be equals to: 

<<<module.version=${noSnapshotVersion}.${buildNumber}>>>
 
where:
 
 * noShapshotVersion --> is anything before '-SNAPSHOT' in the current POM version, generated by the maven-no-snapshot-plugin 
 
 * buildNumber --> is the buildNumber generated by the maven-buildnumber-plugin from the SCM information for your project, or defaults to 1 if no SCM was configured 


Custom Versioning Schemes
  
  You can always maintain your <<<module.properties>>> version manually and remove the plugins invocations from the generated POMs.
  
 No newline at end of file
+2 −6
Original line number Diff line number Diff line
@@ -9,11 +9,6 @@
	    <logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif" href="http://www.sourcesense.com" /> 
	</poweredBy>
	<publishDate position="navigation-bottom" format="MM-dd-yy" />
  <bannerLeft>
    <name>Maven alfresco Extension archetype - v. ${project.version}</name>
    <href>${site_site_url}</href>
    <src>images/Alfresco-logo-transparent.gif</src>
  </bannerLeft>
  <body>
    <links>
      <item name="Maven" href="http://maven.apache.org/"/>
@@ -24,6 +19,7 @@
	  <item name="Introduction" href="/index.html"/>
	  <item name="README" href="/readme.html"/>
	  <item name="Generated Project Layout " href="layout.html"/>
	  <item name="Versioning scheme" href="/versions.html"/>
	  <item name="FAQ" href="faq.html"/>
    </menu>
    
Loading