mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/RM-6295_RemoveSdk_no' into 'master'
RM-6295 Remove Alfresco Maven SDK. See merge request records-management/records-management!1027
This commit is contained in:
578
pom.xml
578
pom.xml
@@ -7,12 +7,6 @@
|
|||||||
<version>3.0.0-SNAPSHOT</version>
|
<version>3.0.0-SNAPSHOT</version>
|
||||||
<name>Alfresco Records Management</name>
|
<name>Alfresco Records Management</name>
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.alfresco.maven</groupId>
|
|
||||||
<artifactId>alfresco-sdk-parent</artifactId>
|
|
||||||
<version>2.1.1</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<url>http://www.alfresco.org/</url>
|
<url>http://www.alfresco.org/</url>
|
||||||
<inceptionYear>2005</inceptionYear>
|
<inceptionYear>2005</inceptionYear>
|
||||||
<organization>
|
<organization>
|
||||||
@@ -24,8 +18,7 @@
|
|||||||
<connection>scm:git:https://git.alfresco.com/records-management/records-management.git</connection>
|
<connection>scm:git:https://git.alfresco.com/records-management/records-management.git</connection>
|
||||||
<developerConnection>scm:git:https://git.alfresco.com/records-management/records-management.git</developerConnection>
|
<developerConnection>scm:git:https://git.alfresco.com/records-management/records-management.git</developerConnection>
|
||||||
<url>https://git.alfresco.com/records-management/records-management</url>
|
<url>https://git.alfresco.com/records-management/records-management</url>
|
||||||
<tag>HEAD</tag>
|
</scm>
|
||||||
</scm>
|
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>JIRA</system>
|
<system>JIRA</system>
|
||||||
@@ -41,17 +34,39 @@
|
|||||||
</prerequisites>
|
</prerequisites>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>alfresco-internal</id>
|
||||||
|
<name>Alfresco Internal Repository</name>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/internal/</url>
|
||||||
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-public</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>alfresco-public-snapshots</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>alfresco-private</id>
|
||||||
|
<name>Alfresco Internal Repository</name>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/private</url>
|
||||||
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>alfresco-public</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>alfresco-plugin-public</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>alfresco-plugin-public-snapshots</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
@@ -159,15 +174,186 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Enables AMP specific processing when a module.properties file is found.
|
||||||
|
The following files will be filtered and copied to the test-classpath
|
||||||
|
so they can be picked up by tests and tomcat embedded:
|
||||||
|
module.properties file for the AMP
|
||||||
|
/config directory content for the AMP
|
||||||
|
-->
|
||||||
|
<profile>
|
||||||
|
<id>enable-amp</id>
|
||||||
|
<activation>
|
||||||
|
<file>
|
||||||
|
<exists>src/main/amp/module.properties</exists>
|
||||||
|
</file>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
|
<artifactId>alfresco-maven-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
</plugin>
|
||||||
|
<!-- Copies module properties to the test classpath in the right location,
|
||||||
|
so that it can be picked up by tests and tomcat embedded -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>add-module-properties-to-test-classpath</id>
|
||||||
|
<phase>process-test-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${app.amp.folder}</directory>
|
||||||
|
<includes>
|
||||||
|
<include>module.properties</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
<targetPath>alfresco/module/${project.artifactId}</targetPath>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>add-module-config-to-test-classpath</id>
|
||||||
|
<phase>process-test-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${app.amp.folder}/config</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The following 2 profiles adds the /properties directories as resource directories in the project.
|
||||||
|
This means we can filter the property files in these directories.
|
||||||
|
The presence of this /properties directory also activates these profiles.
|
||||||
|
-->
|
||||||
|
<profile>
|
||||||
|
<id>enable-properties-filtering</id>
|
||||||
|
<activation>
|
||||||
|
<file>
|
||||||
|
<!-- No properties allowed here. Only hardcoded values are properly interpreted -->
|
||||||
|
<exists>src/main/properties</exists>
|
||||||
|
</file>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>${maven.buildhelper.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>add-env-properties</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-resource</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${app.properties.folder}</directory>
|
||||||
|
<includes>
|
||||||
|
<include>${app.properties.include}</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>enable-test-properties-filtering</id>
|
||||||
|
<activation>
|
||||||
|
<file>
|
||||||
|
<!-- No properties allowed here. Only hardcoded values are properly interpreted -->
|
||||||
|
<exists>src/test/properties</exists>
|
||||||
|
</file>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>${maven.buildhelper.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>add-env-test-properties</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-test-resource</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${app.properties.test.folder}</directory>
|
||||||
|
<includes>
|
||||||
|
<include>${app.properties.test.include}</include>
|
||||||
|
</includes>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<alfresco.client.contextPath>/alfresco</alfresco.client.contextPath>
|
||||||
|
<alfresco.data.location>${session.executionRootDirectory}/alf_data_dev</alfresco.data.location>
|
||||||
|
<alfresco.db.datasource.class>org.gjt.mm.mysql.Driver</alfresco.db.datasource.class>
|
||||||
|
<alfresco.db.name>alf_dev</alfresco.db.name>
|
||||||
<alfresco.db.params>AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE</alfresco.db.params>
|
<alfresco.db.params>AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE</alfresco.db.params>
|
||||||
|
<alfresco.db.password>alfresco</alfresco.db.password>
|
||||||
|
<alfresco.db.url>jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name}</alfresco.db.url>
|
||||||
|
<alfresco.db.username>alfresco</alfresco.db.username>
|
||||||
|
<alfresco.groupId>org.alfresco</alfresco.groupId>
|
||||||
|
<alfresco.share.artifactId>share</alfresco.share.artifactId>
|
||||||
<alfresco-spring-webscripts.version>6.17</alfresco-spring-webscripts.version>
|
<alfresco-spring-webscripts.version>6.17</alfresco-spring-webscripts.version>
|
||||||
|
<!-- Set this here and override it in the community and enterprise modules. -->
|
||||||
|
<alfresco.version>0.0</alfresco.version>
|
||||||
|
|
||||||
|
<share.client.contextPath>/share</share.client.contextPath>
|
||||||
|
|
||||||
<maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies>
|
<maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies>
|
||||||
<maven.build.sourceVersion>1.8</maven.build.sourceVersion>
|
<maven.build.sourceVersion>1.8</maven.build.sourceVersion>
|
||||||
<maven.build.testSourceVersion>1.8</maven.build.testSourceVersion>
|
<maven.build.testSourceVersion>1.8</maven.build.testSourceVersion>
|
||||||
|
<maven.buildhelper.version>1.9.1</maven.buildhelper.version>
|
||||||
|
<maven.compiler.version>3.2</maven.compiler.version>
|
||||||
|
<maven.enforcer.plugin>1.4</maven.enforcer.plugin>
|
||||||
|
<maven.resources.version>2.7</maven.resources.version>
|
||||||
|
<maven.tomcat.port>8080</maven.tomcat.port>
|
||||||
|
|
||||||
<jackson.version>2.9.5</jackson.version>
|
<jackson.version>2.9.5</jackson.version>
|
||||||
<spring.version>5.0.4.RELEASE</spring.version>
|
<spring.version>5.0.4.RELEASE</spring.version>
|
||||||
@@ -181,6 +367,17 @@
|
|||||||
|
|
||||||
<license.update.dryrun>true</license.update.dryrun>
|
<license.update.dryrun>true</license.update.dryrun>
|
||||||
<license.verbose>false</license.verbose>
|
<license.verbose>false</license.verbose>
|
||||||
|
|
||||||
|
<app.amp.client.war.folder>${project.build.directory}/${project.build.finalName}-war</app.amp.client.war.folder>
|
||||||
|
<app.amp.folder>src/main/amp</app.amp.folder>
|
||||||
|
<app.amp.output.folder>../${project.build.finalName}</app.amp.output.folder>
|
||||||
|
<app.filtering.enabled>true</app.filtering.enabled>
|
||||||
|
<app.log.dir>${project.build.directory}/</app.log.dir>
|
||||||
|
<app.log.root.level>WARN</app.log.root.level>
|
||||||
|
<app.properties.include>**</app.properties.include>
|
||||||
|
<app.properties.folder>src/main/properties/local</app.properties.folder>
|
||||||
|
<app.properties.test.include>**</app.properties.test.include>
|
||||||
|
<app.properties.test.folder>src/test/properties/local</app.properties.test.folder>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
@@ -257,8 +454,8 @@
|
|||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>1.4</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>enforce-java</id>
|
<id>enforce-java</id>
|
||||||
@@ -289,8 +486,8 @@
|
|||||||
<regexPropertySetting>
|
<regexPropertySetting>
|
||||||
<name>rm.module.repo.version.min</name>
|
<name>rm.module.repo.version.min</name>
|
||||||
<value>${alfresco.version}</value>
|
<value>${alfresco.version}</value>
|
||||||
<regex>(\d+)\.(\d+).*</regex>
|
<regex>(\d+)\.(\d+).*</regex>
|
||||||
<replacement>$1.$2</replacement>
|
<replacement>$1.$2</replacement>
|
||||||
<failIfNoMatch>false</failIfNoMatch>
|
<failIfNoMatch>false</failIfNoMatch>
|
||||||
</regexPropertySetting>
|
</regexPropertySetting>
|
||||||
<regexPropertySetting>
|
<regexPropertySetting>
|
||||||
@@ -317,8 +514,8 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>2.18</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*UnitTest.java</include>
|
<include>**/*UnitTest.java</include>
|
||||||
@@ -326,7 +523,6 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -339,7 +535,6 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.10.4</version>
|
<version>2.10.4</version>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -348,12 +543,155 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
<version>2.6.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-clean</id>
|
||||||
|
<phase>clean</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>clean</goal>
|
||||||
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
|
<version>2.5.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-install</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>install</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>2.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-deploy</id>
|
||||||
|
<phase>deploy</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>deploy</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
|
<version>3.3</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-site</id>
|
||||||
|
<phase>site</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>site</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<reportPlugins>
|
||||||
|
<reportPlugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
</reportPlugin>
|
||||||
|
</reportPlugins>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>default-deploy</id>
|
||||||
|
<phase>site-deploy</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>deploy</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<reportPlugins>
|
||||||
|
<reportPlugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
</reportPlugin>
|
||||||
|
</reportPlugins>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<reportPlugins>
|
||||||
|
<reportPlugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
</reportPlugin>
|
||||||
|
</reportPlugins>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
<extensions>
|
||||||
|
<extension>
|
||||||
|
<groupId>org.apache.maven.archetype</groupId>
|
||||||
|
<artifactId>archetype-packaging</artifactId>
|
||||||
|
<version>2.2</version>
|
||||||
|
</extension>
|
||||||
|
<extension>
|
||||||
|
<groupId>org.apache.maven.wagon</groupId>
|
||||||
|
<artifactId>wagon-webdav-jackrabbit</artifactId>
|
||||||
|
<version>2.2</version>
|
||||||
|
</extension>
|
||||||
|
</extensions>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>${app.amp.folder}</directory>
|
||||||
|
<targetPath>${app.amp.output.folder}</targetPath>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<testResources>
|
||||||
|
<testResource>
|
||||||
|
<directory>src/test/resources</directory>
|
||||||
|
<filtering>${app.filtering.enabled}</filtering>
|
||||||
|
</testResource>
|
||||||
|
</testResources>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>2.18</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
|
<version>2.5.2</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>2.2-beta-5</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
|
<artifactId>alfresco-maven-plugin</artifactId>
|
||||||
|
<version>2.1.1</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<snapshotToTimestamp>true</snapshotToTimestamp>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>${maven.compiler.version}</version>
|
<version>${maven.compiler.version}</version>
|
||||||
@@ -396,7 +734,7 @@
|
|||||||
</action>
|
</action>
|
||||||
</pluginExecution>
|
</pluginExecution>
|
||||||
<pluginExecution>
|
<pluginExecution>
|
||||||
<pluginExecutionFilter>
|
<pluginExecutionFilter>
|
||||||
<groupId>
|
<groupId>
|
||||||
org.codehaus.mojo
|
org.codehaus.mojo
|
||||||
</groupId>
|
</groupId>
|
||||||
@@ -406,20 +744,19 @@
|
|||||||
<versionRange>
|
<versionRange>
|
||||||
[1.9.1,)
|
[1.9.1,)
|
||||||
</versionRange>
|
</versionRange>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>regex-properties</goal>
|
<goal>regex-properties</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</pluginExecutionFilter>
|
</pluginExecutionFilter>
|
||||||
<action>
|
<action>
|
||||||
<ignore />
|
<ignore />
|
||||||
</action>
|
</action>
|
||||||
</pluginExecution>
|
</pluginExecution>
|
||||||
</pluginExecutions>
|
</pluginExecutions>
|
||||||
</lifecycleMappingMetadata>
|
</lifecycleMappingMetadata>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>${maven.enforcer.plugin}</version>
|
<version>${maven.enforcer.plugin}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -429,12 +766,10 @@
|
|||||||
<version>1.0-alpha-2</version>
|
<version>1.0-alpha-2</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-failsafe-plugin</artifactId>
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
<version>2.19</version>
|
<version>2.19</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>1.8</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -451,76 +786,73 @@
|
|||||||
|
|
||||||
<!-- Maven Release Plugin (Use a recent version for better Git Support) -->
|
<!-- Maven Release Plugin (Use a recent version for better Git Support) -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<version>2.5.3</version>
|
||||||
<version>2.5.3</version>
|
<configuration>
|
||||||
<configuration>
|
<tagNameFormat>V@{project.version}</tagNameFormat>
|
||||||
<tagNameFormat>V@{project.version}</tagNameFormat>
|
</configuration>
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- Disable doclint until RM-3150 is fixed -->
|
<!-- Disable doclint until RM-3150 is fixed -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<configuration>
|
||||||
<configuration>
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
<additionalparam>-Xdoclint:none</additionalparam>
|
</configuration>
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<version>1.8</version>
|
<version>1.8</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
||||||
<verbose>${license.verbose}</verbose>
|
<verbose>${license.verbose}</verbose>
|
||||||
<addSvnKeyWords>false</addSvnKeyWords>
|
<addSvnKeyWords>false</addSvnKeyWords>
|
||||||
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
||||||
|
|
||||||
<!-- header configuration -->
|
<!-- header configuration -->
|
||||||
<organizationName>Alfresco Software Limited</organizationName>
|
<organizationName>Alfresco Software Limited</organizationName>
|
||||||
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
<canUpdateCopyright>true</canUpdateCopyright>
|
<canUpdateCopyright>true</canUpdateCopyright>
|
||||||
<canUpdateDescription>true</canUpdateDescription>
|
<canUpdateDescription>true</canUpdateDescription>
|
||||||
|
|
||||||
<!-- licence configuration -->
|
<!-- licence configuration -->
|
||||||
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
||||||
|
|
||||||
<!-- dry run options -->
|
<!-- dry run options -->
|
||||||
<dryRun>${license.update.dryrun}</dryRun>
|
<dryRun>${license.update.dryrun}</dryRun>
|
||||||
<failOnMissingHeader>true</failOnMissingHeader>
|
<failOnMissingHeader>true</failOnMissingHeader>
|
||||||
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
||||||
|
|
||||||
<!-- default root -->
|
<!-- default root -->
|
||||||
<roots>
|
<roots>
|
||||||
<root>src</root>
|
<root>src</root>
|
||||||
</roots>
|
</roots>
|
||||||
|
|
||||||
<!-- exculsions -->
|
<!-- exculsions -->
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/package-info.java</exclude>
|
<exclude>**/package-info.java</exclude>
|
||||||
<exclude>**/*.properties</exclude>
|
<exclude>**/*.properties</exclude>
|
||||||
<exclude>**/*.css</exclude>
|
<exclude>**/*.css</exclude>
|
||||||
<exclude>**/*.xml</exclude>
|
<exclude>**/*.xml</exclude>
|
||||||
<exclude>**/*.json</exclude>
|
<exclude>**/*.json</exclude>
|
||||||
<exclude>**/*.txt</exclude>
|
<exclude>**/*.txt</exclude>
|
||||||
<exclude>**/*.html</exclude>
|
<exclude>**/*.html</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>first</id>
|
<id>first</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>update-file-header</goal>
|
<goal>update-file-header</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>process-sources</phase>
|
<phase>process-sources</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>${maven.resources.version}</version>
|
<version>${maven.resources.version}</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -530,6 +862,108 @@
|
|||||||
<version>3.1.1</version>
|
<version>3.1.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<nonFilteredFileExtensions>
|
||||||
|
<nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>acp</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>jpg</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>png</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>gif</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>doc</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>docx</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>ppt</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>pptx</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>bin</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>lic</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>swf</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>zip</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>msg</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>jar</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>woff2</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>css</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>psd</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
|
<artifactId>alfresco-maven-plugin</artifactId>
|
||||||
|
<version>2.1.1</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<configuration>
|
||||||
|
<archiveClasses>false</archiveClasses>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
<version>2.6.1</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>2.9</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-archetype-plugin</artifactId>
|
||||||
|
<version>2.2</version>
|
||||||
|
<configuration>
|
||||||
|
<skip>${skipTests}</skip>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||||
|
<artifactId>replacer</artifactId>
|
||||||
|
<version>1.5.3</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.tomcat.maven</groupId>
|
||||||
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
||||||
|
<version>2.2</version>
|
||||||
|
<configuration>
|
||||||
|
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>net.alchim31.maven</groupId>
|
||||||
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
||||||
|
<version>1.5.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>compress-js</id>
|
||||||
|
<phase>process-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>compress</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/webscripts/**</exclude>
|
||||||
|
<exclude>**/site-webscripts/**</exclude>
|
||||||
|
<exclude>**/*.lib.js</exclude>
|
||||||
|
<exclude>**/*.css</exclude>
|
||||||
|
</excludes>
|
||||||
|
<warSourceDirectory>src/main/resources/META-INF</warSourceDirectory>
|
||||||
|
<jswarn>false</jswarn>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
Reference in New Issue
Block a user