diff --git a/maven-alfresco-amp-archetype/pom.xml b/maven-alfresco-amp-archetype/pom.xml index d9b14224..720735da 100644 --- a/maven-alfresco-amp-archetype/pom.xml +++ b/maven-alfresco-amp-archetype/pom.xml @@ -36,12 +36,5 @@ 2.0-alpha-3 - - - maven-archetype-plugin - 2.0-alpha-3 - true - - \ No newline at end of file diff --git a/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm b/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm new file mode 100644 index 00000000..c1b92861 --- /dev/null +++ b/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm @@ -0,0 +1,31 @@ + ----- + Maven Alfresco Extension Archetype + ----- + Sourcesense + ----- + + + +Welcome to the Maven Alfresco Extension Archetype home + + You've reached the Sourcesense ({{ ${site_pom_url} }}) Maven Alfresco AMP archetype home page (version: ${site_pom_version}) + + + +Description + + ${site_pom_description} + + + +Quick Start (maven2) + + For a quick start you can a maven alfresco AMP project created by just running <<(maven 2.0.6+ required)>>: + +-------------------------------------------- +mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=${site_pom_groupId} -DarchetypeVersion=${site_pom_version} \ + -DarchetypeArtifactId=${site_pom_artifactId} \ + -DgroupId=mycompany.com -DartifactId=my-test-amp -Dversion=0.1-SNAPSHOT \ + -DremoteRepositories=http://repository.sourcesense.com/maven2 \ + -DpomRemoteRepositories=http://repository.sourcesense.com/maven2 +-------------------------------------------- diff --git a/maven-alfresco-amp-archetype/src/site/apt/readme.apt.vm b/maven-alfresco-amp-archetype/src/site/apt/readme.apt.vm new file mode 100644 index 00000000..e69de29b diff --git a/maven-alfresco-amp-archetype/src/site/fml/faq.fml b/maven-alfresco-amp-archetype/src/site/fml/faq.fml new file mode 100644 index 00000000..f595bc70 --- /dev/null +++ b/maven-alfresco-amp-archetype/src/site/fml/faq.fml @@ -0,0 +1,46 @@ + + + + General + + How do I build an AMP? + +

+ Just Run mvn clean package +

+
+
+ + How do I test the AMP? + +

+ You can run Jetty embedded in maven by typing + mvn clean integration-test -P webapp +

+
+
+ + Are AMP transitive dependencies supported? + +

+ Yes, they are, both from AMP and WAR packaging projects. + For AMP projects this will turn out into having a final built AMP + which contains all the chain of AMPs the current AMP is depending upon. + For WAR projects all AMPs will be unpacked in the proper position + same as the MMT would do. +

+
+
+ + Is MMT needed with maven? + +

+ No, it is not. The whole point of it is getting rid of the annoying + non integrated in the lifecycle MMT run. + We created the maven-amp-plugin for + managing and processing AMP lifecycle, making MMT obsolete. +

+
+
+
+
\ No newline at end of file diff --git a/maven-alfresco-amp-archetype/src/site/resources/images/logo_noclaim.png b/maven-alfresco-amp-archetype/src/site/resources/images/logo_noclaim.png new file mode 100644 index 00000000..0114b0b8 Binary files /dev/null and b/maven-alfresco-amp-archetype/src/site/resources/images/logo_noclaim.png differ diff --git a/maven-alfresco-amp-archetype/src/site/site.xml b/maven-alfresco-amp-archetype/src/site/site.xml new file mode 100644 index 00000000..700eb065 --- /dev/null +++ b/maven-alfresco-amp-archetype/src/site/site.xml @@ -0,0 +1,33 @@ + + + org.apache.maven.skins + maven-stylus-skin + 1.0 + + + + + + + + Maven alfresco AMP archetype - v. ${project.version} + ${site_site_url} + images/logo_noclaim.png + + + + + + + + + + + + + + + + + +