Commit 8a1039b7 authored by mindthegab's avatar mindthegab
Browse files

-- improved documentation a lot

-- added release properties
-- removed parent site generation

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk/maven-alfresco-archetypes/maven-alfresco-extension-archetype@45 04253f4f-3451-0410-a141-5562f1e59037
parent 244ba781
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -60,6 +60,20 @@
			-->

		</extensions>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.0-beta-7</version>
				<configuration>
					<!-- useEditMode>true</useEditMode>-->
					<!--  dryRun>true</dryRun-->
					<preparationGoals>clean package</preparationGoals>
					<goals>deploy site:depoy changes:announcement-mail</goals>
					<tagBase>${svn.tags.url}</tagBase>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<distributionManagement>
		<repository>
+44 −0
Original line number Diff line number Diff line
 -----
 Archetype Project Generated Layout
 -----



What do I have when I created the project?

 You will encounter an AMP project structure, filtered with values you provided in creation phase,
 which has the following layout:


------------------------------------------------------------------
 
 
src --------------------------------------------------------> (source folder)
		|
		|__ main ___ __ resources --------------------------> mapped in the classpath  
		|			|			  |
		|			|			  |__ alfresco/extension ---> alfresco overriding Spring contexts
		|			|
		|			|__ properties ------------------------->  environment aware application properties files  
		|			|				|
		|			|				|__ local  ------------->  default application.properties
		|			|
		|			|__ java ------------------------------->  customization java classes
		|			|
		|			|__ webapp -----------------------------> alfresco webapp overlay folder - this folder is overlayed (so may overwrite alfresco war)
		|						|
		|						|__ WEB-INF	----------------> drop in this folder WEB-INF custom / overwriting files (e.g. faces-config-custom.xml / web.xml)	
		|			
		|__ test

tools --
		|__ ant ---------------------------------------------> ant tools
		|__ m2  ---------------------------------------------> maven2 tools
		|__ export ------------------------------------------> support folder for automatic restore (drop acp+xml files here)
		|__ mysql -------------------------------------------> mysql setup/remove scripts, filtered based on the profile into  

target - Project build dir


------------------------------------------------------------------
+4 −10
Original line number Diff line number Diff line
@@ -64,15 +64,9 @@ Features (maven2 only):
		To test an example typing <<<mvn site:run>>> will run your site in jetty embedded on port 8080, with redeployment of site source files. 
		To stage the site just type <<<mvn site:stage>>> and to deploy to remote site location, guess what, <<<mvn site:deploy>>>
		
TODO:

	See ${svn.url}/TODO.txt


ROADMAP:

	See ${svn.url}/ROADMAP.txt

	* <<Depenendency on AMP>>
		Using the maven-amp-plugin as pre configured in the archetype we're able to handle 
		AMP transitive dependencies and having them packaged in the WAR

REFERENCES:

+32 −25
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@
	</skin>
	<poweredBy>
		<logo name="Maven" href="http://maven.apache.org" img="http://maven.apache.org/images/logos/maven-feather.png" />
	    <logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif" href="http://www.sourcesense.com" /> 
		<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>
@@ -23,11 +24,17 @@
		<menu name="M2 Alfresco Extension Archetype">
			<item name="Introduction" href="/index.html" />
			<item name="README" href="/readme.html" />
			<item name="Generated Project Layout " href="layout.html"/>
			<item name="How To" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven" />
      <item name="Roadmap" href="http://forge.alfresco.com/docman/view.php/90/1645/ROADMAP.txt"/>
			<item name="FAQ" href="faq.html" />
		</menu>

		<menu name="See also">
			<item name="Maven Alfresco AMP Archetype" href="http://repository.sourcesense.com/maven2-sites/maven-alfresco-amp-archetype" />
			<item name="Maven AMP Plugin" href="http://repository.sourcesense.com/maven2-sites/maven-amp-plugin" />
			<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
		</menu>
		
		<menu ref="reports" />
	</body>
</project>