diff --git a/plugins/alfresco-maven-plugin/pom.xml b/plugins/alfresco-maven-plugin/pom.xml
index 4874407d..0faf3082 100644
--- a/plugins/alfresco-maven-plugin/pom.xml
+++ b/plugins/alfresco-maven-plugin/pom.xml
@@ -3,7 +3,7 @@
org.alfresco.maven.plugin
alfresco-maven-plugin
maven-plugin
- Maven Alfresco Plugin
+ Alfresco Maven Plugin
org.alfresco.maven
diff --git a/plugins/alfresco-maven-plugin/src/site/apt/index.apt.vm b/plugins/alfresco-maven-plugin/src/site/apt/index.apt.vm
index 1a0e441c..ed3f8b06 100644
--- a/plugins/alfresco-maven-plugin/src/site/apt/index.apt.vm
+++ b/plugins/alfresco-maven-plugin/src/site/apt/index.apt.vm
@@ -1,33 +1,23 @@
------
Introduction
- ------
- Gabriele Columbro
- ------
- Nov 2012
- ------
Introduction
- The Maven Alfresco Plugin provides development features to manage {{{http://www.alfresco.com}Alfresco ECM}} WAR and {{{https://wiki.alfresco.com/wiki/AMP_Files}AMP}} project lifecycles.
+ The Alfresco Maven Plugin provides development features to manage {{{http://www.alfresco.com}Alfresco Platform}} WAR, JAR and {{{https://community.alfresco.com/docs/DOC-5146-amp-files}AMP}} project lifecycles.
* Goals Overview
- The Maven Alfresco plugin has three goals:
+ The Alfresco Maven Plugin has three goals:
- *{{{./amp-mojo.html}alfresco:amp}} Packages an AMP file
+ *{{{./run-mojo.html}alfresco:run}} Starts up Alfresco Platform, Share and Solr with your and 3rd party customizations
*{{{./install-mojo.html}alfresco:install}} Installs one or multiple AMPs into an Alfresco WAR / exploded WAR folder embedding {{{http://wiki.alfresco.com/wiki/Module_Management_Tool} Alfresco MMT}}
- *{{{./set-version-mojo.html}alfresco:version}} Parses <<<$\{project.version\}>>> removing literals (for AMP compatibility) and making the <<<$\{noSnapshotVersion\}>>> property available in the POM
Full information is available at the {{{./plugin-info.html}goals page}}.
* Usage
- General instructions on how to use the Maven Alfresco Plugin can be found on the {{{./usage.html}usage page}}.
-
- The Maven Alfresco Plugin provides support for <<>> packaging in your Maven projects and allows you to
- build AMPs as well as used them as standard Maven dependencies. You can also use AMPs as part of the standard
- {{{http://maven.apache.org/plugins/maven-war-plugin/overlays.html}maven-war-plugin}} <<< >>> configuration.
+ General instructions on how to use the Alfresco Maven Plugin can be found on the {{{./usage.html}usage page}}.
For more complex usage of the Maven Alfresco Plugin check the {{{./advanced-usage.html}advanced usage page}}.
\ No newline at end of file
diff --git a/plugins/alfresco-maven-plugin/src/site/apt/usage.apt.vm b/plugins/alfresco-maven-plugin/src/site/apt/usage.apt.vm
index b8b8a972..78f1b935 100644
--- a/plugins/alfresco-maven-plugin/src/site/apt/usage.apt.vm
+++ b/plugins/alfresco-maven-plugin/src/site/apt/usage.apt.vm
@@ -1,62 +1,28 @@
------
Usage
- ------
- Gabriele Columbro
- ------
- Nov 2012
- ------
+
How to use this plugin?
- There are fundamentally 3 methods to use this plugin:
+ There are fundamentally two methods to use this plugin:
[[1]] Using Archetypes provided in the Alfresco SDK
-
- [[2]] By using the Alfresco SDK Parent POM
-
- [[3]] Via direct configuration in your POM
+
+ [[2]] Via direct configuration in your POM
* Method 1 - Using Alfresco SDK Archetypes
Two sample archetypes already use the plugin and provide best practice example on how to use it:
- [[1]] The {{{../../archetypes/alfresco-amp-archetype/index.html} Alfresco AMP Archetype}} provides a sample of AMP packaging
+ [[1]] The {{{../../archetypes/alfresco-platform-jar-archetype/index.html} Alfresco Platform JAR Archetype}} provides a sample of JAR packaging with AMP as an optional assembly for 3rd party dependencies
- [[2]] The {{{../../archetypes/alfresco-allinone-archetype/index.html} Alfresco All-in-One Archetype}} provides a sample using AMPs as dependencies and WAR overlay
+ [[2]] The {{{../../archetypes/alfresco-allinone-archetype/index.html} Alfresco All-in-One Archetype}} provides a sample using JARs for both Alfresco Platform and Share
-
- This is the <> and less error-prone way of using the plugin.
-
-* Method 2 - Using Alfresco SDK Parent POM
- The {{{../../poms/alfresco-sdk-parent/index.html}Alfresco SDK Parent POM}} provides a single entry point for all SDK features.
-
- By using it as parent as follows:
-
-+---+
-
- ...
-
- org.alfresco.maven
- alfresco-sdk-parent
- 1.0
-
- ...
-
-+---+
-
- you will have automatic support for AMP packaging of your project (just add you sources in <<>>).
-
* Method 3 - Direct configuration in POM
If you want more control over the plugin behavior you can use it directly in your POM.
-
- <>: The following configuration is not required when using the SDK parent, as it's already included there.
-
- In order to manage AMP artifacts with the Maven Alfresco plugin you need to:
-
- * Declare the plugin in your POM with <<<>>> enabled, to allow AMP packaging lifecycle:
-
+
+---+
[...]
@@ -67,7 +33,25 @@ How to use this plugin?
org.alfresco.maven.plugin
alfresco-maven-plugin
${project.version}
- true
+
+ org.alfresco.maven.plugin
+ alfresco-maven-plugin
+ 3.0.0
+
+ community
+ true
+ true
+ true
+ false*
+
+
+ ${alfresco.groupId}
+ alfresco-share-services
+ ${alfresco.share.version}
+ amp
+
+
+
...
@@ -75,25 +59,3 @@ How to use this plugin?
[...]
+---+
-
- * If you want to package an Alfresco Module Package from your <<>> packaging project you also need to make sure
- your AMP content gets copied to <<<\${project.build.directory}/\${project.build.finalName}>>> so the plugin can pick them up.
- Supposing your AMP sources are in <<>> you should configure the following <<<>>> block:
-
-+---+
-
- [...]
-
-
- ...
-
- src/main/amp
-
- ../\${project.build.finalName}
- ${app.filtering.enabled}
-
-
-
- [...]
-
-+---+
diff --git a/plugins/alfresco-maven-plugin/src/site/resources/css/site.css b/plugins/alfresco-maven-plugin/src/site/resources/css/site.css
new file mode 100644
index 00000000..0678e6bf
--- /dev/null
+++ b/plugins/alfresco-maven-plugin/src/site/resources/css/site.css
@@ -0,0 +1,5 @@
+.pippo {}
+
+body.topBarEnabled {
+ padding-top: 100px;
+}
\ No newline at end of file
diff --git a/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent-large.png b/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent-large.png
new file mode 100644
index 00000000..de3bb99d
Binary files /dev/null and b/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent-large.png differ
diff --git a/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent.gif b/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent.gif
new file mode 100644
index 00000000..ec36f987
Binary files /dev/null and b/plugins/alfresco-maven-plugin/src/site/resources/img/Alfresco-logo-transparent.gif differ
diff --git a/plugins/alfresco-maven-plugin/src/site/resources/img/alfresco-maven-logo.jpg b/plugins/alfresco-maven-plugin/src/site/resources/img/alfresco-maven-logo.jpg
new file mode 100644
index 00000000..ff4aac53
Binary files /dev/null and b/plugins/alfresco-maven-plugin/src/site/resources/img/alfresco-maven-logo.jpg differ
diff --git a/plugins/alfresco-maven-plugin/src/site/site.xml b/plugins/alfresco-maven-plugin/src/site/site.xml
index 61c106d0..9f77311b 100644
--- a/plugins/alfresco-maven-plugin/src/site/site.xml
+++ b/plugins/alfresco-maven-plugin/src/site/site.xml
@@ -1,28 +1,25 @@
-
-
+ })();
+
+ ]]>
-