diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml index 2e96fb97..47de6c9e 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/pom.xml @@ -28,11 +28,11 @@ minutes to have a compatible AMP module built and its lifecycle supported by Maven, in a fully transparent way also with open source available AMPs. - ${project.artifactId} com.sourcesense.alfresco maven-alfresco-archetypes 1.9.0-SNAPSHOT + ../pom.xml diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml index 719a37bc..ec231084 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml @@ -99,7 +99,7 @@ org.alfresco alfresco-repository - 3.0Stable + 3.2r provided labs @@ -412,7 +412,7 @@ org.alfresco alfresco - 3.0Stable + 3.0r war labs diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm index c18c859b..6693ba95 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/apt/index.apt.vm @@ -23,7 +23,7 @@ Quick Start (maven2) For a quick start you can a maven alfresco AMP project created by just running <<(maven 2.0.6+ required)>>: -------------------------------------------- -mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/maven2/archetype-catalog.xml +mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml -------------------------------------------- and then choose the option 'maven-alfresco-amp-archetype' diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/resources/maven-base.css b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/resources/maven-base.css new file mode 100644 index 00000000..b1ea3713 --- /dev/null +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/resources/maven-base.css @@ -0,0 +1 @@ +.maven {} diff --git a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/site.xml b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/site.xml index bec51a1f..230cf833 100644 --- a/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/site.xml +++ b/maven-alfresco-archetypes/maven-alfresco-amp-archetype/src/site/site.xml @@ -28,8 +28,8 @@ - - + + diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml index fe4ea4bf..38903390 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/pom.xml @@ -1,31 +1,30 @@ - - + + 4.0.0 maven-alfresco-extension-archetype maven-archetype Maven alfresco Extension archetype - ${project.artifactId} com.sourcesense.alfresco maven-alfresco-archetypes 1.9.0-SNAPSHOT + ../pom.xml This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to @@ -44,9 +43,11 @@ archetype-packaging 2.0-alpha-2 - - + diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/pom.xml b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/pom.xml index efa90cda..461e4f58 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/pom.xml +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/pom.xml @@ -62,7 +62,7 @@ alf_jetty alfresco alfresco - 3.0Stable + 3.2r org.alfresco.filesys.repo.desk diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/index.apt.vm b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/index.apt.vm index 39852b06..d09b5230 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/index.apt.vm +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/apt/index.apt.vm @@ -23,7 +23,7 @@ Quick Start (maven2) For a quick start you can a maven alfresco extension project created by just running <<(maven 2.0.6+ required)>>: -------------------------------------------- -mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/maven2/archetype-catalog.xml +mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml -------------------------------------------- and then choose the option 'maven-alfresco-extension-archetype' diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/resources/maven-base.css b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/resources/maven-base.css new file mode 100644 index 00000000..b1ea3713 --- /dev/null +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/site/resources/maven-base.css @@ -0,0 +1 @@ +.maven {} diff --git a/maven-alfresco-archetypes/pom.xml b/maven-alfresco-archetypes/pom.xml index 9dcf991c..23882463 100644 --- a/maven-alfresco-archetypes/pom.xml +++ b/maven-alfresco-archetypes/pom.xml @@ -1,4 +1,5 @@ - + 4.0.0 com.sourcesense.alfresco maven-alfresco-archetypes @@ -8,22 +9,33 @@ 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 - ${project.artifactId} org.alfresco maven-alfresco-lifecycle 1.0.0-SNAPSHOT + ../pom.xml + + Sourcesense + http://www.sourcesense.com + maven-alfresco-amp-archetype maven-alfresco-extension-archetype + + + org.apache.maven.wagon + wagon-http-shared + 1.0-beta-6-patched + + maven-archetype-plugin true - + diff --git a/maven-alfresco-archetypes/src/site/fml/faq.fml b/maven-alfresco-archetypes/src/site/fml/faq.fml new file mode 100644 index 00000000..2503a0c1 --- /dev/null +++ b/maven-alfresco-archetypes/src/site/fml/faq.fml @@ -0,0 +1,24 @@ + + + + Backward compatibility + + I'm lost in versions and repositories. Which one I should use? + +
    +
  • As the introduction of the parent project maven-alfresco-lifecycle you can refer to it as the latest working version of the full support
  • +
  • You might (optionally) want to tweak specific modules versions (archetypes, plugins) in order to match the latest features
  • +
+
+
+ + I see many project aroud Maven and Alfresco (m2alfresco, maven4alfresco, this project). Is there a reference one? + +

+ The maven-alfresco-lifecycle project gathers all efforts made in previous projects and gather them + under a common application lifecycle management suite. +

+
+
+
+
\ No newline at end of file diff --git a/maven-alfresco-archetypes/src/site/resources/css/maven-base.css b/maven-alfresco-archetypes/src/site/resources/css/maven-base.css new file mode 100644 index 00000000..b1ea3713 --- /dev/null +++ b/maven-alfresco-archetypes/src/site/resources/css/maven-base.css @@ -0,0 +1 @@ +.maven {} diff --git a/maven-alfresco-archetypes/src/site/resources/css/site.css b/maven-alfresco-archetypes/src/site/resources/css/site.css new file mode 100644 index 00000000..b1ea3713 --- /dev/null +++ b/maven-alfresco-archetypes/src/site/resources/css/site.css @@ -0,0 +1 @@ +.maven {} diff --git a/plugins/maven-amp-plugin/pom.xml b/plugins/maven-amp-plugin/pom.xml index d5a31764..7963eabd 100644 --- a/plugins/maven-amp-plugin/pom.xml +++ b/plugins/maven-amp-plugin/pom.xml @@ -18,7 +18,6 @@ AMPs and WARs. It is a modification of the org.apache.maven.plugins:maven-war-plugin of which it uses the whole core infrastructure. See ${site.url} for more info - ${project.artifactId} ${pom.description} ${pom.url} diff --git a/plugins/maven-amp-plugin/src/site/apt/index.apt.vm b/plugins/maven-amp-plugin/src/site/apt/index.apt.vm index aa0f430f..ad79c924 100644 --- a/plugins/maven-amp-plugin/src/site/apt/index.apt.vm +++ b/plugins/maven-amp-plugin/src/site/apt/index.apt.vm @@ -36,20 +36,19 @@ References ------------------------------------------- - using repository (either in POM or settings.xml) : + using this pluginRepository (either in POM or settings.xml) : ------------------------------------------ - + ss-public - http://repository.sourcesense.com/maven2 - + http://repository.sourcesense.com/nexus/content/groups/public + ------------------------------------------- Quick usage - Create a project using the maven-alfresco-amp-archetype (see {{ http://repository.sourcesense.com/maven2-sites/maven-alfresco-amp-archetype }} ). - \ No newline at end of file + Create a project using the maven-alfresco-amp-archetype (see {{ http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-amp-archetype/index.html }} ). \ No newline at end of file diff --git a/plugins/maven-nosnapshot-plugin/pom.xml b/plugins/maven-nosnapshot-plugin/pom.xml index bb9c0430..258dd4ec 100644 --- a/plugins/maven-nosnapshot-plugin/pom.xml +++ b/plugins/maven-nosnapshot-plugin/pom.xml @@ -6,7 +6,6 @@ 0.0.5-SNAPSHOT Custom version manipulator Maven Plugin It's non invasive and puts modified versions in configurable pom properties - ${project.artifactId} org.alfresco maven-alfresco-lifecycle diff --git a/pom.xml b/pom.xml index eb18558d..c1c66328 100644 --- a/pom.xml +++ b/pom.xml @@ -6,11 +6,7 @@ pom 1.0.0-SNAPSHOT Maven Alfresco Lifecycle support base project - - com.sourcesense.maven - maven-calm - 1.0-beta-21 - + http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle This project is meant to gather all commons configurations, plugins and archetypes for the full Maven Alfresco lifecycle support @@ -20,8 +16,8 @@ http://code.google.com/p/maven-alfresco-archetypes/issues/list - Sourcesense - http://www.sourcesense.com + Alfresco + http://www.alfresco.com maven-alfresco-archetypes @@ -32,18 +28,17 @@ https://maven-alfresco-archetypes.googlecode.com/svn ${svn.base.url}/trunk ${svn.base.url}/tags - http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/${pom.artifactId} ${pom.description} - ${pom.organization.url} - ${pom.groupId} - ${pom.artifactId} - ${pom.version} + ${project.url} + ${project.groupId} + ${project.artifactId} + ${project.version} ${svn.tags.url} - ${site.url} + ${project.url} scm:svn:${svn.url} @@ -113,6 +108,17 @@ + + maven-compiler-plugin + + 1.5 + 1.5 + + + + maven-site-plugin + 2.0.1 + org.apache.maven.plugins maven-changes-plugin @@ -162,6 +168,13 @@ + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 1.0-beta-6 + + @@ -199,10 +212,6 @@ - - org.codehaus.mojo - changelog-maven-plugin - @@ -216,7 +225,7 @@ ss-public-sites - dav:http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/${project.artifactId} + dav:http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle
diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css new file mode 100644 index 00000000..5845334f --- /dev/null +++ b/src/site/resources/css/site.css @@ -0,0 +1 @@ +.pippo {} diff --git a/src/site/site.xml b/src/site/site.xml index 250b1a5a..968cef74 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,31 +1,46 @@ - org.apache.maven.skins - maven-stylus-skin - 1.0 + org.apache.maven.skins + maven-stylus-skin + 1.0 - - + + - - - Maven Alfresco Lifecycle support - v. ${project.version} - ${site_site_url} - images/logo_noclaim.png - - - - - - - - + + + Maven Alfresco Lifecycle Support - v. ${project.version} + ${site_site_url} + images/logo_noclaim.png + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + +