-- 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
This commit is contained in:
mindthegab
2008-07-11 12:27:59 +00:00
parent 244ba78158
commit 8a1039b744
4 changed files with 94 additions and 35 deletions
+14
View File
@@ -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
View File
@@ -0,0 +1,44 @@
-----
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
View File
@@ -63,16 +63,10 @@ Features (maven2 only):
Through Doxia also PDF and RTF output is supported from single sourced source files (apart from Doxia limitations) for easy enterprise integration. \
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
View File
@@ -1,33 +1,40 @@
<project>
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-stylus-skin</artifactId>
<version>1.0</version>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-stylus-skin</artifactId>
<version>1.0</version>
</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="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" />
</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/logo_noclaim.png</src>
</bannerLeft>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/"/>
<item name="Apache" href="http://www.apache.org/"/>
</links>
<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/logo_noclaim.png</src>
</bannerLeft>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/" />
<item name="Apache" href="http://www.apache.org/" />
</links>
<menu name="M2 Alfresco Extension Archetype">
<item name="Introduction" href="/index.html"/>
<item name="README" href="/readme.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="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="FAQ" href="faq.html" />
</menu>
</body>
<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>