From 71d52265f9ebac6af15657558ffc533692151f3d Mon Sep 17 00:00:00 2001 From: mindthegab Date: Thu, 3 Dec 2009 21:10:49 +0000 Subject: [PATCH 1/5] releasing share archetype git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@263 04253f4f-3451-0410-a141-5562f1e59037 --- .../maven-alfresco-share-archetype/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml index 9ac679cd..aafac28f 100644 --- a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml @@ -3,9 +3,10 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 org.alfresco.maven - alfresco-share-extension-archetype + maven-alfresco-share-archetype maven-archetype - alfresco-share-extension-archetype + Maven Alfresco Share Extension Archetype + Maven Archetype to allow Maven based customization of Alfresco SHARE com.sourcesense.alfresco maven-alfresco-archetypes From b682e9a6b639b9221c45dc78d12fe79b14601f8b Mon Sep 17 00:00:00 2001 From: mindthegab Date: Thu, 3 Dec 2009 21:11:57 +0000 Subject: [PATCH 2/5] [maven-release-plugin] prepare release maven-alfresco-lifecycle-1.1.0 git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@264 04253f4f-3451-0410-a141-5562f1e59037 --- .../maven-alfresco-amp-archetype/pom.xml | 2 +- .../maven-alfresco-extension-archetype/pom.xml | 2 +- .../maven-alfresco-share-archetype/pom.xml | 5 ++--- maven-alfresco-archetypes/pom.xml | 4 ++-- plugins/maven-amp-plugin/pom.xml | 4 ++-- plugins/maven-nosnapshot-plugin/pom.xml | 4 ++-- pom.xml | 8 ++++---- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml index b88b26ee..45a25b8c 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml @@ -31,7 +31,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1-SNAPSHOT + 1.9.1 ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml index 2f24409c..ebbba41c 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml @@ -22,7 +22,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1-SNAPSHOT + 1.9.1 ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml index aafac28f..a7b87c5e 100644 --- a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml @@ -1,6 +1,5 @@ - + 4.0.0 org.alfresco.maven maven-alfresco-share-archetype @@ -10,7 +9,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1-SNAPSHOT + 1.9.1 ../pom.xml diff --git a/maven-alfresco-archetypes/pom.xml b/maven-alfresco-archetypes/pom.xml index d5f0705e..b5fea04d 100644 --- a/maven-alfresco-archetypes/pom.xml +++ b/maven-alfresco-archetypes/pom.xml @@ -3,7 +3,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes pom - 1.9.1-SNAPSHOT + 1.9.1 Maven Alfresco Archetypes base project This project is meant to gather all commons configurations and settings between the two maven-alfresco-*-archetypes, i.e. maven-alfresco-extension-archetype and maven-alfresco-amp-archetype @@ -11,7 +11,7 @@ org.alfresco maven-alfresco-lifecycle - 1.0.1-SNAPSHOT + 1.1.0 ../pom.xml diff --git a/plugins/maven-amp-plugin/pom.xml b/plugins/maven-amp-plugin/pom.xml index 6dd02350..0d94414c 100644 --- a/plugins/maven-amp-plugin/pom.xml +++ b/plugins/maven-amp-plugin/pom.xml @@ -4,11 +4,11 @@ maven-amp-plugin maven-plugin Alfresco AMP Plugin - 3.0.2-SNAPSHOT + 3.0.2 org.alfresco maven-alfresco-lifecycle - 1.0.1-SNAPSHOT + 1.1.0 ../../pom.xml diff --git a/plugins/maven-nosnapshot-plugin/pom.xml b/plugins/maven-nosnapshot-plugin/pom.xml index fc077080..6096b17c 100644 --- a/plugins/maven-nosnapshot-plugin/pom.xml +++ b/plugins/maven-nosnapshot-plugin/pom.xml @@ -3,13 +3,13 @@ com.sourcesense.maven maven-nosnapshot-plugin maven-plugin - 0.0.6-SNAPSHOT + 0.0.6 Custom version manipulator Maven Plugin It's non invasive and puts modified versions in configurable pom properties org.alfresco maven-alfresco-lifecycle - 1.0.1-SNAPSHOT + 1.1.0 ../../pom.xml diff --git a/pom.xml b/pom.xml index 6971973d..09a90a27 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.alfresco maven-alfresco-lifecycle pom - 1.0.1-SNAPSHOT + 1.1.0 Maven Alfresco Lifecycle support base project http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle @@ -41,9 +41,9 @@ community contexts. ${project.url} - scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk - scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk - https://maven-alfresco-archetypes.googlecode.com/svn/trunk + scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 + scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 + https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 From fb56eb8f4307fb793bf13c9a33a922050ba5b153 Mon Sep 17 00:00:00 2001 From: mindthegab Date: Thu, 3 Dec 2009 21:12:22 +0000 Subject: [PATCH 3/5] [maven-release-plugin] prepare for next development iteration git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@266 04253f4f-3451-0410-a141-5562f1e59037 --- .../maven-alfresco-amp-archetype/pom.xml | 2 +- .../maven-alfresco-extension-archetype/pom.xml | 2 +- .../maven-alfresco-share-archetype/pom.xml | 2 +- maven-alfresco-archetypes/pom.xml | 4 ++-- plugins/maven-amp-plugin/pom.xml | 4 ++-- plugins/maven-nosnapshot-plugin/pom.xml | 4 ++-- pom.xml | 8 ++++---- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml index 45a25b8c..3cd0e537 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml @@ -31,7 +31,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1 + 1.9.2-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml index ebbba41c..25f7730c 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml @@ -22,7 +22,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1 + 1.9.2-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml index a7b87c5e..12fc5863 100644 --- a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml @@ -9,7 +9,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.1 + 1.9.2-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/pom.xml b/maven-alfresco-archetypes/pom.xml index b5fea04d..e99c1637 100644 --- a/maven-alfresco-archetypes/pom.xml +++ b/maven-alfresco-archetypes/pom.xml @@ -3,7 +3,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes pom - 1.9.1 + 1.9.2-SNAPSHOT Maven Alfresco Archetypes base project This project is meant to gather all commons configurations and settings between the two maven-alfresco-*-archetypes, i.e. maven-alfresco-extension-archetype and maven-alfresco-amp-archetype @@ -11,7 +11,7 @@ org.alfresco maven-alfresco-lifecycle - 1.1.0 + 1.1.1-SNAPSHOT ../pom.xml diff --git a/plugins/maven-amp-plugin/pom.xml b/plugins/maven-amp-plugin/pom.xml index 0d94414c..e60267e7 100644 --- a/plugins/maven-amp-plugin/pom.xml +++ b/plugins/maven-amp-plugin/pom.xml @@ -4,11 +4,11 @@ maven-amp-plugin maven-plugin Alfresco AMP Plugin - 3.0.2 + 3.0.3-SNAPSHOT org.alfresco maven-alfresco-lifecycle - 1.1.0 + 1.1.1-SNAPSHOT ../../pom.xml diff --git a/plugins/maven-nosnapshot-plugin/pom.xml b/plugins/maven-nosnapshot-plugin/pom.xml index 6096b17c..7deec602 100644 --- a/plugins/maven-nosnapshot-plugin/pom.xml +++ b/plugins/maven-nosnapshot-plugin/pom.xml @@ -3,13 +3,13 @@ com.sourcesense.maven maven-nosnapshot-plugin maven-plugin - 0.0.6 + 0.0.7-SNAPSHOT Custom version manipulator Maven Plugin It's non invasive and puts modified versions in configurable pom properties org.alfresco maven-alfresco-lifecycle - 1.1.0 + 1.1.1-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index 09a90a27..c18d8132 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.alfresco maven-alfresco-lifecycle pom - 1.1.0 + 1.1.1-SNAPSHOT Maven Alfresco Lifecycle support base project http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle @@ -41,9 +41,9 @@ community contexts. ${project.url} - scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 - scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 - https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.1.0 + scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk + scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk + https://maven-alfresco-archetypes.googlecode.com/svn/trunk From 27862e4fe118f49fffedbfb729b88e94dff4267d Mon Sep 17 00:00:00 2001 From: mindthegab Date: Thu, 3 Dec 2009 21:28:26 +0000 Subject: [PATCH 4/5] [maven-release-plugin] rollback the release of maven-alfresco-lifecycle-1.1.0 git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@267 04253f4f-3451-0410-a141-5562f1e59037 --- .../maven-alfresco-amp-archetype/pom.xml | 2 +- .../maven-alfresco-extension-archetype/pom.xml | 2 +- .../maven-alfresco-share-archetype/pom.xml | 5 +++-- maven-alfresco-archetypes/pom.xml | 4 ++-- plugins/maven-amp-plugin/pom.xml | 4 ++-- plugins/maven-nosnapshot-plugin/pom.xml | 4 ++-- pom.xml | 2 +- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml index 3cd0e537..b88b26ee 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml @@ -31,7 +31,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.2-SNAPSHOT + 1.9.1-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml index 25f7730c..2f24409c 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml @@ -22,7 +22,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.2-SNAPSHOT + 1.9.1-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml index 12fc5863..aafac28f 100644 --- a/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-share-archetype/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 org.alfresco.maven maven-alfresco-share-archetype @@ -9,7 +10,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes - 1.9.2-SNAPSHOT + 1.9.1-SNAPSHOT ../pom.xml diff --git a/maven-alfresco-archetypes/pom.xml b/maven-alfresco-archetypes/pom.xml index e99c1637..d5f0705e 100644 --- a/maven-alfresco-archetypes/pom.xml +++ b/maven-alfresco-archetypes/pom.xml @@ -3,7 +3,7 @@ com.sourcesense.alfresco maven-alfresco-archetypes pom - 1.9.2-SNAPSHOT + 1.9.1-SNAPSHOT Maven Alfresco Archetypes base project This project is meant to gather all commons configurations and settings between the two maven-alfresco-*-archetypes, i.e. maven-alfresco-extension-archetype and maven-alfresco-amp-archetype @@ -11,7 +11,7 @@ org.alfresco maven-alfresco-lifecycle - 1.1.1-SNAPSHOT + 1.0.1-SNAPSHOT ../pom.xml diff --git a/plugins/maven-amp-plugin/pom.xml b/plugins/maven-amp-plugin/pom.xml index e60267e7..6dd02350 100644 --- a/plugins/maven-amp-plugin/pom.xml +++ b/plugins/maven-amp-plugin/pom.xml @@ -4,11 +4,11 @@ maven-amp-plugin maven-plugin Alfresco AMP Plugin - 3.0.3-SNAPSHOT + 3.0.2-SNAPSHOT org.alfresco maven-alfresco-lifecycle - 1.1.1-SNAPSHOT + 1.0.1-SNAPSHOT ../../pom.xml diff --git a/plugins/maven-nosnapshot-plugin/pom.xml b/plugins/maven-nosnapshot-plugin/pom.xml index 7deec602..fc077080 100644 --- a/plugins/maven-nosnapshot-plugin/pom.xml +++ b/plugins/maven-nosnapshot-plugin/pom.xml @@ -3,13 +3,13 @@ com.sourcesense.maven maven-nosnapshot-plugin maven-plugin - 0.0.7-SNAPSHOT + 0.0.6-SNAPSHOT Custom version manipulator Maven Plugin It's non invasive and puts modified versions in configurable pom properties org.alfresco maven-alfresco-lifecycle - 1.1.1-SNAPSHOT + 1.0.1-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index c18d8132..6971973d 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.alfresco maven-alfresco-lifecycle pom - 1.1.1-SNAPSHOT + 1.0.1-SNAPSHOT Maven Alfresco Lifecycle support base project http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle From 1f0f1443a32ea8f78ac29a1f9fc4ba2bbd846f8e Mon Sep 17 00:00:00 2001 From: mindthegab Date: Thu, 3 Dec 2009 21:31:50 +0000 Subject: [PATCH 5/5] -- fixed profiles -- update ROADMAP git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@269 04253f4f-3451-0410-a141-5562f1e59037 --- .../ROADMAP.txt | 13 +---------- .../src/site/apt/profiles.apt.vm | 23 ++++++++++++------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/ROADMAP.txt b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/ROADMAP.txt index db3af6c5..31f309f3 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/ROADMAP.txt +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/ROADMAP.txt @@ -13,20 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -ISSUES: -------- -- tools/mysql folder scripts are copied over the classpath (because of the filtering feature, shall we remove it?). It's harmless anyways apart from the potential secuity issues (BTW credentials are deployed non encrypted anyways in application.properties) -- fix commented library versions - TODO (in order of priority): ----- -- AMP archetype - make jetty:run-inplace work for easy runtime editing -- translate other TXT files into APT for maven site generation (as done for README) - Integration testing with selenium -- unit testing suite -- Configure class/contexts reloading for jetty run -- add multimodule support (and extract release/deploy policies to a super POM for usage also by AMP archetype) -- add amp dependency mgmt or let steer alfresco for a jar artifact (jsp loading from jar or pre extracted?) -- move archetype documentation in mvn site \ No newline at end of file +- unit testing suite \ No newline at end of file diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/profiles.apt.vm b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/profiles.apt.vm index 813ddd08..249a8199 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/profiles.apt.vm +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/profiles.apt.vm @@ -1,8 +1,15 @@ What can this build do? - This Maven Alfresco build process allows you to develop, test, run, document and release your Alfresco extension project. - You can also depend on AMP files deployed on a Maven repository (either manually or using the Maven Alfresco AMP archetype), - by adding the following <<< >>> snippet to your Extension pom.xml: + This Maven Alfresco build process allows you to : + + * develop and package + + * test and run (on different platforms) + + * document and release your Alfresco extension project (site and PDF documentation) + + * You can also depend on AMP files deployed on a Maven repository (either manually or using the Maven Alfresco AMP archetype), + by adding the following <<< dependency >>> snippet to your Extension pom.xml: -------------------------------------------- @@ -14,7 +21,7 @@ What can this build do? -------------------------------------------- - This operation will result in automated AMP unpacking in your Extension WAR file during the normal build process (e.g. mvn package or mvn install). + This operation will result in automated AMP unpacking in your Extension WAR file during the normal build process (e.g. <<>>). @@ -42,13 +49,13 @@ Available maven profiles: + Configuration: - The project created from the extension archetype is very flexible. It uses a configuration mechanism (pre 3.2) which sigles sources - the all required properties in one single file (called <<>>) which is global to the whole Spring context. - This works also against 3.2, but activities are ongoing to converge to a proper usage of the new <<>. + The project created from the extension archetype is very flexible. It uses a configuration mechanism (pre 3.2) which sigles sources the all required properties in one single file (called <<>>) which is global to the whole Spring context. + This works also against 3.2, but activities are ongoing to converge to a proper usage of the new <<>>. - Properties are stored in the <<>>> folders and env=local is considered by default. You can switch the environment + Properties are stored in the <<< src/main/properties/ >>> folders and env=local is considered by default. You can switch the environment you're building for (e.g. for a release) using the <<<-Denv=yourEnv>>> switch in the command line build. Also a number of properties are also accepted via command line of your build to give more configurability (if you're using the <<>>).