mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-08-07 17:49:34 +00:00
- added -Prelease profile with all configurations
- added automatic filtering of SDK version in archetypes - removed SCM definition (needs to tested) git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@690 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
@@ -14,5 +14,35 @@
|
|||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<includes>
|
||||||
|
<include>archetype-resources/pom.xml</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>archetype-resources/pom.xml</exclude>
|
||||||
|
</excludes>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||||
|
<delimiters>
|
||||||
|
<delimiter>@@</delimiter>
|
||||||
|
</delimiters>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<artifactId>alfresco-sdk-parent</artifactId>
|
<artifactId>alfresco-sdk-parent</artifactId>
|
||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>@@alfresco.sdk.parent.version@@</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@@ -4,16 +4,46 @@
|
|||||||
|
|
||||||
<groupId>org.alfresco.maven.archetype</groupId>
|
<groupId>org.alfresco.maven.archetype</groupId>
|
||||||
<artifactId>alfresco-amp-archetype</artifactId>
|
<artifactId>alfresco-amp-archetype</artifactId>
|
||||||
|
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
<name>AMP Archetype from Maven Alfresco SDK</name>
|
<name>AMP Archetype from Maven Alfresco SDK</name>
|
||||||
<description>Sample project with full support for lifecycle and rapid development of AMPs (Alfresco Module Packages)</description>
|
<description>Sample project with full support for lifecycle and rapid development of AMPs (Alfresco Module Packages)</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<artifactId>alfresco-lifecycle-aggregator</artifactId>
|
<artifactId>alfresco-lifecycle-aggregator</artifactId>
|
||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<includes>
|
||||||
|
<include>archetype-resources/pom.xml</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>archetype-resources/pom.xml</exclude>
|
||||||
|
</excludes>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||||
|
<delimiters>
|
||||||
|
<delimiter>@@</delimiter>
|
||||||
|
</delimiters>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<artifactId>alfresco-sdk-parent</artifactId>
|
<artifactId>alfresco-sdk-parent</artifactId>
|
||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>@@alfresco.sdk.parent.version@@</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
146
pom.xml
146
pom.xml
@@ -5,22 +5,23 @@
|
|||||||
<artifactId>alfresco-lifecycle-aggregator</artifactId>
|
<artifactId>alfresco-lifecycle-aggregator</artifactId>
|
||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
<name>Maven Alfresco SDK</name>
|
<name>Maven Alfresco SDK</name>
|
||||||
<description>This aggregator Project builds all modules required for the Maven Alfresco SDK</description>
|
<description>This aggregator Project builds all modules required for
|
||||||
|
the Maven Alfresco SDK</description>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<url>${maven.site.url}</url>
|
<url>${maven.site.url}</url>
|
||||||
|
|
||||||
<prerequisites>
|
<prerequisites>
|
||||||
<maven>3.0.3</maven>
|
<maven>3.0.3</maven>
|
||||||
</prerequisites>
|
</prerequisites>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
<name>GNU Lesser General Public License v3.0 or later</name>
|
<name>GNU Lesser General Public License v3.0 or later</name>
|
||||||
<url>http://www.gnu.org/licenses/lgpl-3.0-standalone.html</url>
|
<url>http://www.gnu.org/licenses/lgpl-3.0-standalone.html</url>
|
||||||
</license>
|
</license>
|
||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>GoogleCode</system>
|
<system>GoogleCode</system>
|
||||||
<url>http://code.google.com/p/maven-alfresco-archetypes/issues/detail</url>
|
<url>http://code.google.com/p/maven-alfresco-archetypes/issues/detail</url>
|
||||||
@@ -61,7 +62,7 @@
|
|||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<contributors>
|
<contributors>
|
||||||
<contributor>
|
<contributor>
|
||||||
<name>Carlo Sciolla</name>
|
<name>Carlo Sciolla</name>
|
||||||
@@ -84,35 +85,15 @@
|
|||||||
<module>archetypes/alfresco-allinone-archetype</module>
|
<module>archetypes/alfresco-allinone-archetype</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>alfresco-internal</id>
|
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/repositories/releases
|
|
||||||
</url>
|
|
||||||
</repository>
|
|
||||||
<snapshotRepository>
|
|
||||||
<name>alfresco snapshots repository</name>
|
|
||||||
<id>alfresco-internal-snapshots</id>
|
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots
|
|
||||||
</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
<site>
|
|
||||||
<id>alfresco-docs</id>
|
|
||||||
<url>dav:${maven.site.url}</url>
|
|
||||||
</site>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.archetype.version>2.2</maven.archetype.version>
|
<maven.archetype.version>2.2</maven.archetype.version>
|
||||||
<maven.release.version>2.4</maven.release.version>
|
<maven.release.version>2.4</maven.release.version>
|
||||||
<maven.release.goals>deploy site-deploy</maven.release.goals>
|
<maven.release.goals>deploy site-deploy</maven.release.goals>
|
||||||
<maven.site.version>3.2</maven.site.version>
|
<maven.site.version>3.2</maven.site.version>
|
||||||
<maven.changes.version>2.8</maven.changes.version>
|
<maven.changes.version>2.8</maven.changes.version>
|
||||||
<maven.site.url>https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest</maven.site.url>
|
<alfresco.sdk.parent.version>${project.version}</alfresco.sdk.parent.version>
|
||||||
<scm.url.base>https://maven-alfresco-archetypes.googlecode.com/svn</scm.url.base>
|
</properties>
|
||||||
<scm.tag.base>${scm.url.base}/tags</scm.tag.base>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
@@ -122,11 +103,6 @@
|
|||||||
<artifactId>maven-archetype-plugin</artifactId>
|
<artifactId>maven-archetype-plugin</artifactId>
|
||||||
<version>${maven.archetype.version}</version>
|
<version>${maven.archetype.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
|
||||||
<version>${maven.site.version}</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<extensions>
|
<extensions>
|
||||||
@@ -141,38 +117,8 @@
|
|||||||
<version>2.2</version>
|
<version>2.2</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
|
||||||
<version>${maven.release.version}</version>
|
|
||||||
<configuration>
|
|
||||||
<tagBase>${scm.tag.base}</tagBase>
|
|
||||||
<preparationGoals>clean install</preparationGoals>
|
|
||||||
<goals>${maven.release.goals}</goals>
|
|
||||||
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<reporting>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-changes-plugin</artifactId>
|
|
||||||
<version>${maven.changes.version}</version>
|
|
||||||
<reportSets>
|
|
||||||
<reportSet>
|
|
||||||
<reports>
|
|
||||||
<report>changes-report</report>
|
|
||||||
</reports>
|
|
||||||
</reportSet>
|
|
||||||
</reportSets>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
@@ -190,4 +136,72 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
</project>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>release</id>
|
||||||
|
<properties>
|
||||||
|
<maven.site.url>https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest</maven.site.url>
|
||||||
|
<scm.url.base>https://maven-alfresco-archetypes.googlecode.com/svn</scm.url.base>
|
||||||
|
<scm.tag.base>${scm.url.base}/tags</scm.tag.base>
|
||||||
|
</properties>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
|
<version>${maven.release.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<tagBase>${scm.tag.base}</tagBase>
|
||||||
|
<preparationGoals>clean install</preparationGoals>
|
||||||
|
<goals>${maven.release.goals}</goals>
|
||||||
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
|
<version>${maven.site.version}</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-changes-plugin</artifactId>
|
||||||
|
<version>${maven.changes.version}</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<reports>
|
||||||
|
<report>changes-report</report>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>alfresco-internal</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/releases
|
||||||
|
</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<name>alfresco snapshots repository</name>
|
||||||
|
<id>alfresco-internal-snapshots</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots
|
||||||
|
</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
<site>
|
||||||
|
<id>alfresco-docs</id>
|
||||||
|
<url>dav:${maven.site.url}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
</project>
|
Reference in New Issue
Block a user