mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-08-07 17:49:34 +00:00
Merge branch 'master' into sdk-3.0
This commit is contained in:
67
ISSUE_TEMPLATE.md
Normal file
67
ISSUE_TEMPLATE.md
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
If you are reporting a new issue, make sure that we do not have any duplicates
|
||||||
|
already open. You can ensure this by searching the issue list for this
|
||||||
|
repository. If there is a duplicate, please close your issue and add a comment
|
||||||
|
to the existing issue instead.
|
||||||
|
|
||||||
|
If you suspect your issue is a bug, please edit your issue description to
|
||||||
|
include the BUG REPORT INFORMATION shown below. If you fail to provide this
|
||||||
|
information within 7 days, we cannot debug your issue and will close it. We
|
||||||
|
will, however, reopen it if you later provide the information.
|
||||||
|
|
||||||
|
---------------------------------------------------
|
||||||
|
GENERAL SUPPORT INFORMATION
|
||||||
|
---------------------------------------------------
|
||||||
|
|
||||||
|
The GitHub issue tracker is for bug reports and feature requests.
|
||||||
|
General support can be found at the following locations:
|
||||||
|
|
||||||
|
- Alfresco Community - https://community.alfresco.com/community/ecm
|
||||||
|
- Post a question on StackOverflow, using the Alfresco tag
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
## I'm submitting a ... (check one with "x")
|
||||||
|
```
|
||||||
|
[ ] bug report => search github for a similar issue or PR before submitting
|
||||||
|
[ ] feature request
|
||||||
|
```
|
||||||
|
|
||||||
|
<!--- Provide a general summary of the issue in the Title above -->
|
||||||
|
|
||||||
|
## Expected Behavior
|
||||||
|
<!--- If you're describing a bug, tell us what should happen -->
|
||||||
|
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
||||||
|
|
||||||
|
## Current Behavior
|
||||||
|
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
|
||||||
|
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
|
||||||
|
|
||||||
|
## Possible Solution
|
||||||
|
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
||||||
|
<!--- or ideas how to implement the addition or change -->
|
||||||
|
|
||||||
|
## Steps to Reproduce (for bugs)
|
||||||
|
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
||||||
|
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
4.
|
||||||
|
5.
|
||||||
|
|
||||||
|
## Context
|
||||||
|
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
||||||
|
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
||||||
|
|
||||||
|
## Your Environment
|
||||||
|
<!--- Include as many relevant details about the environment you experienced the bug in -->
|
||||||
|
* Alfresco SDK version used: <!-- 2.1 / 2.2 / 3.0betaX-->
|
||||||
|
* Alfresco version used: <!-- Enterprise 5.1, Community 5.0.f or ...-->
|
||||||
|
* Output of command 'mvn -version': <!-- Maven/JDK version-->
|
||||||
|
* Link to your project: <!-- optional for having a minimal example-->
|
||||||
|
|
||||||
|
## Additional information
|
||||||
|
<!-- include screenshots or any other hint you mave have for us -->
|
@@ -11,7 +11,7 @@
|
|||||||
workflow, and loading custom content models. -->
|
workflow, and loading custom content models. -->
|
||||||
|
|
||||||
<!-- Registration of new models -->
|
<!-- Registration of new models -->
|
||||||
<bean id="${package}.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
|
<bean id="${artifactId}.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
|
||||||
<property name="models">
|
<property name="models">
|
||||||
<list>
|
<list>
|
||||||
<value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
|
<value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
|
||||||
|
@@ -1,28 +1,28 @@
|
|||||||
#set( $symbol_pound = '#' )
|
#set( $symbol_pound = '#' )
|
||||||
#set( $symbol_dollar = '$' )
|
#set( $symbol_dollar = '$' )
|
||||||
#set( $symbol_escape = '\' )
|
#set( $symbol_escape = '\' )
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!--
|
<!--
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
this work for additional information regarding copyright ownership.
|
this work for additional information regarding copyright ownership.
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
(the "License"); you may not use this file except in compliance with
|
(the "License"); you may not use this file except in compliance with
|
||||||
the License. You may obtain a copy of the License at
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||||
|
|
||||||
<!-- A simple class that is initialized by Spring -->
|
<!-- A simple class that is initialized by Spring -->
|
||||||
<bean id="${package}.Demo" class="${package}.platformsample.Demo" init-method="init" />
|
<bean id="${package}.Demo" class="${package}.platformsample.Demo" init-method="init" />
|
||||||
|
|
||||||
@@ -40,5 +40,5 @@
|
|||||||
<property name="nodeLocatorService" ref="nodeLocatorService" />
|
<property name="nodeLocatorService" ref="nodeLocatorService" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -22,8 +22,11 @@
|
|||||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||||
|
|
||||||
<!-- This is filtered by Maven at build time, so that module name is single sourced. -->
|
<!-- This is filtered by Maven at build time, so that module name is single sourced. -->
|
||||||
|
<!-- Note. The bootstrap-context.xml file has to be loaded first.
|
||||||
|
Otherwise your custom models are not yet loaded when your service beans are instantiated and you
|
||||||
|
cannot for example register policies on them. -->
|
||||||
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" />
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" />
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" />
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" />
|
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" />
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" />
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -1,9 +1,12 @@
|
|||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
:: Dev environment startup script for Alfresco Community ::
|
:: Dev environment startup script for Alfresco Community ::
|
||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
@echo off
|
@ECHO OFF
|
||||||
|
|
||||||
set MAVEN_OPTS=-Xms256m -Xmx2G
|
IF "%MAVEN_OPTS%" == "" (
|
||||||
|
ECHO The environment variable 'MAVEN_OPTS' is not set, setting it for you
|
||||||
mvnDebug clean install alfresco:run
|
SET MAVEN_OPTS=-Xms256m -Xmx2G
|
||||||
|
)
|
||||||
|
ECHO MAVEN_OPTS is set to '%MAVEN_OPTS%'
|
||||||
|
|
||||||
|
mvnDebug clean install alfresco:run
|
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
if [[ -z ${MAVEN_OPTS} ]]; then
|
||||||
MAVEN_OPTS="-Xms256m -Xmx2G" mvnDebug clean install alfresco:run
|
echo "The environment variable 'MAVEN_OPTS' is not set, setting it for you";
|
||||||
|
MAVEN_OPTS="-Xms256m -Xmx2G"
|
||||||
|
fi
|
||||||
|
echo "MAVEN_OPTS is set to '$MAVEN_OPTS'";
|
||||||
|
mvnDebug clean install alfresco:run
|
@@ -1,9 +1,12 @@
|
|||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
:: Dev environment startup script for Alfresco Community ::
|
:: Dev environment startup script for Alfresco Community ::
|
||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
@echo off
|
@ECHO OFF
|
||||||
|
|
||||||
set MAVEN_OPTS=-Xms256m -Xmx2G
|
IF "%MAVEN_OPTS%" == "" (
|
||||||
|
ECHO The environment variable 'MAVEN_OPTS' is not set, setting it for you
|
||||||
mvn clean install alfresco:run
|
SET MAVEN_OPTS=-Xms256m -Xmx2G
|
||||||
|
)
|
||||||
|
ECHO MAVEN_OPTS is set to '%MAVEN_OPTS%'
|
||||||
|
|
||||||
|
mvn clean install alfresco:run
|
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
if [[ -z ${MAVEN_OPTS} ]]; then
|
||||||
MAVEN_OPTS="-Xms256m -Xmx2G" mvn clean install alfresco:run
|
echo "The environment variable 'MAVEN_OPTS' is not set, setting it for you";
|
||||||
|
MAVEN_OPTS="-Xms256m -Xmx2G"
|
||||||
|
fi
|
||||||
|
echo "MAVEN_OPTS is set to '$MAVEN_OPTS'";
|
||||||
|
mvn clean install alfresco:run
|
@@ -11,7 +11,7 @@
|
|||||||
workflow, and loading custom content models. -->
|
workflow, and loading custom content models. -->
|
||||||
|
|
||||||
<!-- Registration of new models -->
|
<!-- Registration of new models -->
|
||||||
<bean id="${package}.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
|
<bean id="${artifactId}.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
|
||||||
<property name="models">
|
<property name="models">
|
||||||
<list>
|
<list>
|
||||||
<value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
|
<value>alfresco/module/${project.artifactId}/model/content-model.xml</value>
|
||||||
|
@@ -21,8 +21,11 @@
|
|||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||||
<!-- This is filtered by Maven at build time, so that module name is single sourced. -->
|
<!-- This is filtered by Maven at build time, so that module name is single sourced. -->
|
||||||
|
<!-- Note. The bootstrap-context.xml file has to be loaded first.
|
||||||
|
Otherwise your custom models are not yet loaded when your service beans are instantiated and you
|
||||||
|
cannot for example register policies on them. -->
|
||||||
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" />
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" />
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" />
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" />
|
|
||||||
<import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" />
|
<import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" />
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Add module specific messages and labels -->
|
<!-- Add module specific messages and labels -->
|
||||||
<bean id="${package}.${artifactId}.resources"
|
<bean id="${artifactId}.resources"
|
||||||
class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
|
class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
|
||||||
<property name="resourceBundles">
|
<property name="resourceBundles">
|
||||||
<list>
|
<list>
|
||||||
|
@@ -1,42 +1,42 @@
|
|||||||
<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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>alfresco-rad</artifactId>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<name>Rapid Application Development Support</name>
|
<artifactId>alfresco-rad</artifactId>
|
||||||
<description>SDK module for Rapid Development support, such as Alfresco JUnit runner</description>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<name>Rapid Application Development Support</name>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<description>SDK module for Rapid Development support, such as Alfresco JUnit runner</description>
|
||||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
|
||||||
<version>3.0.0-SNAPSHOT</version>
|
|
||||||
<relativePath>../../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<dependencies>
|
<parent>
|
||||||
<!-- Access to org.alfresco.service.ServiceRegistry -->
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<dependency>
|
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||||
<groupId>org.alfresco</groupId>
|
<version>3.0.0-SNAPSHOT</version>
|
||||||
<artifactId>alfresco-repository</artifactId>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
<version>${alfresco.community.default.version}</version>
|
</parent>
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- Bring in ApplicationContextAware, ApplicationContext etc -->
|
<dependencies>
|
||||||
<dependency>
|
<!-- Access to org.alfresco.service.ServiceRegistry -->
|
||||||
<groupId>org.springframework</groupId>
|
<dependency>
|
||||||
<artifactId>spring-context</artifactId>
|
<groupId>org.alfresco</groupId>
|
||||||
<version>3.2.17.RELEASE</version>
|
<artifactId>alfresco-repository</artifactId>
|
||||||
</dependency>
|
<version>${alfresco.community.default.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- Access to JUnit runner classes -->
|
<!-- Bring in ApplicationContextAware, ApplicationContext etc -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>spring-context</artifactId>
|
||||||
<version>4.12</version>
|
<version>3.2.17.RELEASE</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
<!-- Access to JUnit runner classes -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.12</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,162 +1,162 @@
|
|||||||
<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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.maven.plugin</groupId>
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
<artifactId>alfresco-maven-plugin</artifactId>
|
<artifactId>alfresco-maven-plugin</artifactId>
|
||||||
<packaging>maven-plugin</packaging>
|
<packaging>maven-plugin</packaging>
|
||||||
<name>Maven Alfresco Plugin</name>
|
<name>Maven Alfresco Plugin</name>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco.maven</groupId>
|
<groupId>org.alfresco.maven</groupId>
|
||||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||||
<version>3.0.0-SNAPSHOT</version>
|
<version>3.0.0-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-plugin-plugin</artifactId>
|
<artifactId>maven-plugin-plugin</artifactId>
|
||||||
<version>3.5</version>
|
<version>3.5</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>generated-helpmojo</id>
|
<id>generated-helpmojo</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>helpmojo</goal>
|
<goal>helpmojo</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<lifecycleMappingMetadata>
|
<lifecycleMappingMetadata>
|
||||||
<pluginExecutions>
|
<pluginExecutions>
|
||||||
<pluginExecution>
|
<pluginExecution>
|
||||||
<pluginExecutionFilter>
|
<pluginExecutionFilter>
|
||||||
<groupId>
|
<groupId>
|
||||||
org.apache.maven.plugins
|
org.apache.maven.plugins
|
||||||
</groupId>
|
</groupId>
|
||||||
<artifactId>
|
<artifactId>
|
||||||
maven-plugin-plugin
|
maven-plugin-plugin
|
||||||
</artifactId>
|
</artifactId>
|
||||||
<versionRange>[3.2,)</versionRange>
|
<versionRange>[3.2,)</versionRange>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>helpmojo</goal>
|
<goal>helpmojo</goal>
|
||||||
<goal>descriptor</goal>
|
<goal>descriptor</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</pluginExecutionFilter>
|
</pluginExecutionFilter>
|
||||||
<action>
|
<action>
|
||||||
<ignore />
|
<ignore />
|
||||||
</action>
|
</action>
|
||||||
</pluginExecution>
|
</pluginExecution>
|
||||||
</pluginExecutions>
|
</pluginExecutions>
|
||||||
</lifecycleMappingMetadata>
|
</lifecycleMappingMetadata>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.maven</groupId>
|
|
||||||
<artifactId>maven-plugin-api</artifactId>
|
|
||||||
<version>3.2.5</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
||||||
<artifactId>maven-plugin-annotations</artifactId>
|
|
||||||
<version>3.5</version>
|
|
||||||
<!-- Annotations are not needed for plugin execution so you
|
|
||||||
can remove this dependency for execution by using provided scope. -->
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.maven</groupId>
|
|
||||||
<artifactId>maven-archiver</artifactId>
|
|
||||||
<version>3.1.1</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>maven-core</artifactId>
|
|
||||||
<groupId>org.apache.maven</groupId>
|
<groupId>org.apache.maven</groupId>
|
||||||
</exclusion>
|
<artifactId>maven-plugin-api</artifactId>
|
||||||
</exclusions>
|
<version>3.2.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||||
<artifactId>plexus-archiver</artifactId>
|
<artifactId>maven-plugin-annotations</artifactId>
|
||||||
<version>3.4</version>
|
<version>3.5</version>
|
||||||
</dependency>
|
<!-- Annotations are not needed for plugin execution so you
|
||||||
<dependency>
|
can remove this dependency for execution by using provided scope. -->
|
||||||
<groupId>org.apache.maven</groupId>
|
<scope>provided</scope>
|
||||||
<artifactId>maven-artifact</artifactId>
|
</dependency>
|
||||||
<version>3.2.5</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.apache.maven</groupId>
|
||||||
<dependency>
|
<artifactId>maven-archiver</artifactId>
|
||||||
<groupId>org.apache.maven</groupId>
|
<version>3.1.1</version>
|
||||||
<artifactId>maven-core</artifactId>
|
<exclusions>
|
||||||
<version>3.2.5</version>
|
<exclusion>
|
||||||
</dependency>
|
<artifactId>maven-core</artifactId>
|
||||||
<dependency>
|
<groupId>org.apache.maven</groupId>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
</exclusion>
|
||||||
<artifactId>httpclient</artifactId>
|
</exclusions>
|
||||||
<version>4.5.3</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
<groupId>commons-net</groupId>
|
<artifactId>plexus-archiver</artifactId>
|
||||||
<artifactId>commons-net</artifactId>
|
<version>3.4</version>
|
||||||
<version>3.6</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.apache.maven</groupId>
|
||||||
<groupId>commons-io</groupId>
|
<artifactId>maven-artifact</artifactId>
|
||||||
<artifactId>commons-io</artifactId>
|
<version>3.2.5</version>
|
||||||
<version>2.5</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.apache.maven</groupId>
|
||||||
<groupId>org.alfresco</groupId>
|
<artifactId>maven-core</artifactId>
|
||||||
<artifactId>alfresco-mmt</artifactId>
|
<version>3.2.5</version>
|
||||||
<version>5.1.g</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
<groupId>org.alfrescolabs.alfresco-technical-validation</groupId>
|
<artifactId>httpclient</artifactId>
|
||||||
<artifactId>org.alfrescolabs.alfresco-technical-validation</artifactId>
|
<version>4.5.3</version>
|
||||||
<version>0.4.0</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<dependency>
|
<groupId>commons-net</groupId>
|
||||||
<groupId>org.twdata.maven</groupId>
|
<artifactId>commons-net</artifactId>
|
||||||
<artifactId>mojo-executor</artifactId>
|
<version>3.6</version>
|
||||||
<version>2.2.0</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<!-- ZIP directories in an easy way -->
|
<groupId>commons-io</groupId>
|
||||||
<dependency>
|
<artifactId>commons-io</artifactId>
|
||||||
<groupId>org.zeroturnaround</groupId>
|
<version>2.5</version>
|
||||||
<artifactId>zt-zip</artifactId>
|
</dependency>
|
||||||
<version>1.11</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependencies>
|
<artifactId>alfresco-mmt</artifactId>
|
||||||
|
<version>5.1.g</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.alfrescolabs.alfresco-technical-validation</groupId>
|
||||||
|
<artifactId>org.alfrescolabs.alfresco-technical-validation</artifactId>
|
||||||
|
<version>0.4.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.twdata.maven</groupId>
|
||||||
|
<artifactId>mojo-executor</artifactId>
|
||||||
|
<version>2.2.0</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- ZIP directories in an easy way -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.zeroturnaround</groupId>
|
||||||
|
<artifactId>zt-zip</artifactId>
|
||||||
|
<version>1.11</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-plugin-plugin</artifactId>
|
<artifactId>maven-plugin-plugin</artifactId>
|
||||||
<version>3.5</version>
|
<version>3.5</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<!-- Used for the ATV donwload -->
|
<!-- Used for the ATV donwload -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>clojars.org</id>
|
<id>clojars.org</id>
|
||||||
<url>http://clojars.org/repo</url>
|
<url>http://clojars.org/repo</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -46,7 +46,7 @@ public class InstallMojo extends AbstractMojo {
|
|||||||
/**
|
/**
|
||||||
* The location of the AMP file(s) to be installed. If this location is a
|
* The location of the AMP file(s) to be installed. If this location is a
|
||||||
* folder all AMPs contained in the folder are installed, if it's a file it
|
* folder all AMPs contained in the folder are installed, if it's a file it
|
||||||
* get direclty installed on the ${warLocation}
|
* get directly installed on the ${warLocation}
|
||||||
*
|
*
|
||||||
* @parameter property="maven.alfresco.ampLocation" default-value="${project.build.directory}/${project.build.finalName}.amp"
|
* @parameter property="maven.alfresco.ampLocation" default-value="${project.build.directory}/${project.build.finalName}.amp"
|
||||||
*/
|
*/
|
||||||
@@ -54,9 +54,9 @@ public class InstallMojo extends AbstractMojo {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The WAR file or exploded dir to install the AMPs in. If specified
|
* The WAR file or exploded dir to install the AMPs in. If specified
|
||||||
* Defaults to <code>"${project.build.directory}/${project.build.finalName}-war</code>
|
* Defaults to <code>"${app.amp.client.war.folder}</code>
|
||||||
*
|
*
|
||||||
* @parameter property="maven.alfresco.warLocation" default-value="${project.build.directory}/${project.build.finalName}-war"
|
* @parameter property="maven.alfresco.warLocation" default-value="${app.amp.client.war.folder}"
|
||||||
*/
|
*/
|
||||||
private File warLocation;
|
private File warLocation;
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ Introduction
|
|||||||
|
|
||||||
*{{{./install-mojo.html}alfresco:install}} Installs one or multiple AMPs into an Alfresco WAR / exploded WAR folder embedding {{{http://wiki.alfresco.com/wiki/Module_Management_Tool} Alfresco MMT}}
|
*{{{./install-mojo.html}alfresco:install}} Installs one or multiple AMPs into an Alfresco WAR / exploded WAR folder embedding {{{http://wiki.alfresco.com/wiki/Module_Management_Tool} Alfresco MMT}}
|
||||||
|
|
||||||
*{{{./set-version-mojo.html}alfresco:version}} Parses ${project.version} removing literals (for AMP compatibility) and making the <<<$\{noSnapshotVersion\}>>> property available in the POM
|
*{{{./set-version-mojo.html}alfresco:version}} Parses <<<$\{project.version\}>>> removing literals (for AMP compatibility) and making the <<<$\{noSnapshotVersion\}>>> property available in the POM
|
||||||
|
|
||||||
Full information is available at the {{{./plugin-info.html}goals page}}.
|
Full information is available at the {{{./plugin-info.html}goals page}}.
|
||||||
|
|
||||||
|
3
pom.xml
3
pom.xml
@@ -173,7 +173,7 @@
|
|||||||
<extension>
|
<extension>
|
||||||
<groupId>org.apache.maven.wagon</groupId>
|
<groupId>org.apache.maven.wagon</groupId>
|
||||||
<artifactId>wagon-webdav-jackrabbit</artifactId>
|
<artifactId>wagon-webdav-jackrabbit</artifactId>
|
||||||
<version>2.2</version>
|
<version>2.10</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
</build>
|
</build>
|
||||||
@@ -324,6 +324,7 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<!-- Attempt (failed) to retain run.sh permissions. Zip files are bad at this, full stop.
|
<!-- Attempt (failed) to retain run.sh permissions. Zip files are bad at this, full stop.
|
||||||
<profile>
|
<profile>
|
||||||
<id>set-executables-permissions</id>
|
<id>set-executables-permissions</id>
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
<topBarIcon>
|
<topBarIcon>
|
||||||
<name>Alfresco Software</name>
|
<name>Alfresco Software</name>
|
||||||
<alt>Alfresco Software</alt>
|
<alt>Alfresco Software</alt>
|
||||||
<src>http://people.apache.org/~gabriele/Alfresco-logo-transparent-thin.png</src>
|
<src>https://wiki.alfresco.com/skins/alfresco/community_theme/alfresco-org-logo.png</src>
|
||||||
<href>http://www.alfresco.com</href>
|
<href>http://www.alfresco.com</href>
|
||||||
</topBarIcon>
|
</topBarIcon>
|
||||||
<topBarEnabled>true</topBarEnabled>
|
<topBarEnabled>true</topBarEnabled>
|
||||||
|
Reference in New Issue
Block a user