diff --git a/pom.xml b/pom.xml index d5d90ae5..9238bb8f 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,20 @@ --> + + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-7 + + + + clean package + deploy site:depoy changes:announcement-mail + ${svn.tags.url} + + + diff --git a/src/site/apt/layout.apt.vm b/src/site/apt/layout.apt.vm new file mode 100644 index 00000000..89a790f0 --- /dev/null +++ b/src/site/apt/layout.apt.vm @@ -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 + + +------------------------------------------------------------------ + diff --git a/src/site/apt/readme.apt.vm b/src/site/apt/readme.apt.vm index daa4bb39..0912c8e6 100644 --- a/src/site/apt/readme.apt.vm +++ b/src/site/apt/readme.apt.vm @@ -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 <<>> will run your site in jetty embedded on port 8080, with redeployment of site source files. To stage the site just type <<>> and to deploy to remote site location, guess what, <<>> - -TODO: - - See ${svn.url}/TODO.txt - - -ROADMAP: - - See ${svn.url}/ROADMAP.txt - + + * <> + 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: diff --git a/src/site/site.xml b/src/site/site.xml index d99182c9..0834cc4a 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,33 +1,40 @@ - org.apache.maven.skins - maven-stylus-skin - 1.0 + org.apache.maven.skins + maven-stylus-skin + 1.0 - - + + - - - Maven alfresco Extension archetype - v. ${project.version} - ${site_site_url} - images/logo_noclaim.png - - - - - - + + + Maven alfresco Extension archetype - v. ${project.version} + ${site_site_url} + images/logo_noclaim.png + + + + + + - - - - - - - - + + + + + + + - + + + + + + + +