-- added site deployment properties

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@32 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
mindthegab 2008-07-10 09:11:02 +00:00
parent bb359784cd
commit 2c6f2d6f84
6 changed files with 86 additions and 47 deletions

View File

@ -17,32 +17,49 @@
-->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-amp-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Maven Alfresco Amp Archetype</name>
<version>1.0.0-SNAPSHOT</version>
<description>
This archetype aims to provide a standardized approach to development,
release and deployment of Alfresco AMPs (as opposed to Alfresco extensions, released as a different artifact ).
Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly)
we are able to cover a very high percentage of Alfresco lifecycle common use cases.
You are able within 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.
</description>
<parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-amp-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Maven Alfresco Amp Archetype</name>
<version>1.0.0-SNAPSHOT</version>
<description>
This archetype aims to provide a standardized approach to development, release and deployment of Alfresco AMPs (as opposed to Alfresco
extensions, released as a different artifact ). Using standard m2 lifecycle commands (mvn compile package deploy) and generally available
plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. You are able within
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.
</description>
<properties>
<svn.url>${svn.base.url}/trunk/maven-alfresco-archetypes/${artifactId}</svn.url>
<site.url>https://repository.sourcesense.com/maven2-sites/maven-alfresco-archetypes/${pom.artifactId}</site.url>
</properties>
<scm>
<developerConnection>scm:svn:${svn.url}</developerConnection>
<url>${svn.url}</url>
</scm>
<parent>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-3</version>
</extension>
</extensions>
</build>
</parent>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-3</version>
</extension>
</extensions>
</build>
<distributionManagement>
<repository>
<id>ss-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
</repository>
<site>
<id>ss-site-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites/${pom.artifactId}</url>
</site>
</distributionManagement>
</project>

View File

@ -27,7 +27,6 @@
<item name="Roadmap" href="http://forge.alfresco.com/docman/view.php/90/1645/ROADMAP.txt"/>
<item name="FAQ" href="faq.html"/>
</menu>
<menu ref="reports"/>
</body>
</project>

View File

@ -16,7 +16,8 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-extension-archetype</artifactId>
@ -30,17 +31,23 @@
<version>1.0-SNAPSHOT</version>
</parent>
<description>
This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to AMP builds, to be released as a different artifact ).
Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly)
we are able to cover a very high percentage of Alfresco lifecycle common use cases.
It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the
automation features we will describe in this website.
In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and
selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant
build).
Last but not the least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to
maven2). For more details on the m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project).
This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to
AMP builds, to be released as a different artifact ). Using standard m2 lifecycle commands (mvn compile package deploy) and generally
available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. It can be
used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will
describe in this website. In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and
selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the
least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to maven2). For more details on the
m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project).
</description>
<properties>
<svn.url>${svn.base.url}/trunk/maven-alfresco-archetypes/${artifactId}</svn.url>
<site.url>https://repository.sourcesense.com/maven2-sites/maven-alfresco-archetypes/${pom.artifactId}</site.url>
</properties>
<scm>
<developerConnection>scm:svn:${svn.url}</developerConnection>
<url>${svn.url}</url>
</scm>
<build>
<extensions>
<extension>
@ -51,7 +58,17 @@
<!-- Unreleased version of webdav wagon plugin which fixes a boring stacktrace logging from this provider.
FIXME: Improve the fix and submit the patch
-->
</extensions>
</build>
<distributionManagement>
<repository>
<id>ss-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
</repository>
<site>
<id>ss-site-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites/${pom.artifactId}</url>
</site>
</distributionManagement>
</project>

View File

@ -20,14 +20,14 @@
<item name="Apache" href="http://www.apache.org/"/>
</links>
<menu name="M2 Alfresco AMP Archetype">
<menu name="M2 Alfresco Extension Archetype">
<item name="Introduction" href="/index.html"/>
<item name="README" href="/readme.html"/>
<item name="How To" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven"/>
<item name="Roadmap" href="http://forge.alfresco.com/docman/view.php/90/1645/ROADMAP.txt"/>
<item name="FAQ" href="faq.html"/>
</menu>
<menu ref="reports"/>
</body>
</project>

View File

@ -7,11 +7,8 @@
<version>1.0.0-SNAPSHOT</version>
<name>Maven Alfresco Archetypes base project</name>
<description>
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
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
</description>
<url>${site.url}</url>
<issueManagement>
@ -199,5 +196,14 @@
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>ss-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
</repository>
<site>
<id>ss-site-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites/${pom.artifactId}</url>
</site>
</distributionManagement>
</project>

View File

@ -12,7 +12,7 @@
<bannerLeft>
<name>Maven alfresco archetypes - v. ${project.version}</name>
<href>${site_site_url}</href>
<src>images/logo_noclaim.png</src>
<src>http://www.sourcesense.com/resources/images/top.gif</src>
</bannerLeft>
<body>
<links>