mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-09-10 14:12:12 +00:00
Compare commits
12 Commits
alfresco-s
...
alfresco-s
Author | SHA1 | Date | |
---|---|---|---|
|
9071965850 | ||
|
1e5db412f7 | ||
|
37c26cfaa8 | ||
|
1cd4b82037 | ||
|
758ab83faf | ||
|
8862d67acd | ||
|
e4402a741f | ||
|
b1facc65de | ||
|
7668096829 | ||
|
ce7c374c1e | ||
|
68dda3b211 | ||
|
47a329a762 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ pom.xml.next
|
||||
release.properties
|
||||
**.settings
|
||||
**bin
|
||||
*.DS_Store
|
||||
|
1
archetypes/.gitignore
vendored
Normal file
1
archetypes/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.DS_Store
|
1
archetypes/activiti-jar-archetype/.gitignore
vendored
Normal file
1
archetypes/activiti-jar-archetype/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.DS_Store
|
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<groupId>${groupId}</groupId>
|
||||
<artifactId>${artifactId}</artifactId>
|
||||
<version>${version}</version>
|
||||
<name>AIO - SDK 3.0 Beta</name>
|
||||
<name>AIO - SDK 3.0</name>
|
||||
<description>All-In-One (AIO) project for SDK 3.0</description>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
<!-- Alfresco Platform and Share webapp versions, these are the original Alfresco webapps that will be
|
||||
customized and then deployed and run by the tomcat maven plugin when
|
||||
executing for example $ mvn clean install alfresco:run -->
|
||||
<alfresco.platform.version>5.2.e</alfresco.platform.version>
|
||||
<alfresco.share.version>5.2.d</alfresco.share.version>
|
||||
<alfresco.platform.version>5.2.f</alfresco.platform.version>
|
||||
<alfresco.share.version>5.2.e</alfresco.share.version>
|
||||
|
||||
<!-- Default is to run with a Community edition, change to 'enterprise' if using Enterprise edition -->
|
||||
<maven.alfresco.edition>community</maven.alfresco.edition>
|
||||
|
@@ -96,7 +96,7 @@
|
||||
<description>Access to Alfresco Repository Public API that require user authentication.
|
||||
This makes use of the authentication that is provided by parent 'alfresco' endpoint.</description>
|
||||
<connector-id>alfresco</connector-id>
|
||||
<endpoint-url>${alfresco.repo.url}/alfresco/api</endpoint-url>
|
||||
<endpoint-url>${alfresco.repo.url}/api</endpoint-url>
|
||||
<identity>user</identity>
|
||||
</endpoint>
|
||||
</remote>
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@@ -34,9 +34,9 @@
|
||||
<!-- Alfresco Platform webapp version, this is the original Alfresco webapp that will be
|
||||
customized and then deployed and run by the tomcat maven plugin when
|
||||
executing for example $ mvn clean install alfresco:run -->
|
||||
<alfresco.platform.version>5.2.e</alfresco.platform.version>
|
||||
<alfresco.platform.version>5.2.f</alfresco.platform.version>
|
||||
<!-- Alfresco Share version, so we can bring in correct alfresco-share-services artifact -->
|
||||
<alfresco.share.version>5.2.d</alfresco.share.version>
|
||||
<alfresco.share.version>5.2.e</alfresco.share.version>
|
||||
|
||||
<!-- Default is to run with a Community edition, change to 'enterprise' if using Enterprise edition -->
|
||||
<maven.alfresco.edition>community</maven.alfresco.edition>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
1
modules/.gitignore
vendored
Normal file
1
modules/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.DS_Store
|
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
1
plugins/.gitignore
vendored
Normal file
1
plugins/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.DS_Store
|
@@ -8,7 +8,7 @@
|
||||
<parent>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
<dependency>
|
||||
<groupId>org.alfresco</groupId>
|
||||
<artifactId>alfresco-mmt</artifactId>
|
||||
<version>5.1.g</version>
|
||||
<version>5.1.f</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.alfrescolabs.alfresco-technical-validation</groupId>
|
||||
|
@@ -299,7 +299,7 @@ public abstract class AbstractRunMojo extends AbstractMojo {
|
||||
@Parameter(property = "activiti.groupId", defaultValue = "com.activiti")
|
||||
protected String activitiGroupId;
|
||||
|
||||
@Parameter(property = "alfresco.platform.war.artifactId", defaultValue = "alfresco")
|
||||
@Parameter(property = "alfresco.platform.war.artifactId", defaultValue = "alfresco-platform")
|
||||
protected String alfrescoPlatformWarArtifactId;
|
||||
|
||||
@Parameter(property = "alfresco.share.war.artifactId", defaultValue = "share")
|
||||
@@ -317,10 +317,10 @@ public abstract class AbstractRunMojo extends AbstractMojo {
|
||||
@Parameter(property = "activiti.admin.war.artifactId", defaultValue = "activiti-admin")
|
||||
protected String activitiAdminWarArtifactId;
|
||||
|
||||
@Parameter(property = "alfresco.platform.version", defaultValue = "5.2.e")
|
||||
@Parameter(property = "alfresco.platform.version", defaultValue = "5.2.f")
|
||||
protected String alfrescoPlatformVersion;
|
||||
|
||||
@Parameter(property = "alfresco.share.version", defaultValue = "5.2.d")
|
||||
@Parameter(property = "alfresco.share.version", defaultValue = "5.2.e")
|
||||
protected String alfrescoShareVersion;
|
||||
|
||||
@Parameter(property = "alfresco.api.explorer.version", defaultValue = "5.2.e")
|
||||
@@ -1084,6 +1084,7 @@ public abstract class AbstractRunMojo extends AbstractMojo {
|
||||
// Skip if we are not running a 5.1 version of Alfresco, 'Alfresco Share Services'
|
||||
// was not used in earlier versions
|
||||
if (!isPlatformVersionGtOrEqTo51()) {
|
||||
getLog().info("Skipping alfresco-share-services, only needed for 5.1+");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@@ -1560,18 +1561,44 @@ public abstract class AbstractRunMojo extends AbstractMojo {
|
||||
* Get the Alfresco Platform Webapp artifactId (i.e. for alfresco.war),
|
||||
* it changes from 'alfresco' to 'alfresco-platform' in 5.1.
|
||||
*
|
||||
* Matrix for determining the Alfresco WAR Artifact
|
||||
* 4.2.x Community == alfresco.war
|
||||
* 4.2.x Enterprise == alfresco.war
|
||||
* 5.0.x Community == alfresco.war
|
||||
* 5.0.x Enterprise == alfresco-enterprise.war
|
||||
* 5.1.x Community == alfresco-platform.war
|
||||
* 5.1.x Enterprise == alfresco-platform-enterprise.war
|
||||
*
|
||||
* @return the Maven artifactId for Alfresco Platform webapp
|
||||
*/
|
||||
private String getPlatformWarArtifactId() {
|
||||
// Default alfrescoPlatformWarArtifactId is 'alfresco-platform'
|
||||
|
||||
if (isPlatformVersionGtOrEqTo51() == false) {
|
||||
// We are running version 4.2 or 5.0, so use older artifactId
|
||||
if (isPlatformVersionGtOrEqTo51() == false && alfrescoEdition.equals(ALFRESCO_COMMUNITY_EDITION)) {
|
||||
// We are running version 4.2 or 5.0 in community so use "alfresco"
|
||||
alfrescoPlatformWarArtifactId = "alfresco";
|
||||
} else if (alfrescoEdition.equals(ALFRESCO_ENTERPRISE_EDITION)) {
|
||||
}
|
||||
|
||||
if (isPlatformVersionLtOrEqTo42() == true && alfrescoEdition.equals(ALFRESCO_ENTERPRISE_EDITION)) {
|
||||
// We are running version 4.2 so use "alfresco-enterprise"
|
||||
alfrescoPlatformWarArtifactId = "alfresco";
|
||||
}
|
||||
|
||||
if (getPlatformVersionNumber() == 50 && alfrescoEdition.equals(ALFRESCO_ENTERPRISE_EDITION)) {
|
||||
// We are running version 5.0 in enterprise so use "alfresco-enterprise"
|
||||
alfrescoPlatformWarArtifactId = "alfresco-enterprise";
|
||||
}
|
||||
|
||||
|
||||
if (isPlatformVersionGtOrEqTo51() == true && alfrescoEdition.equals(ALFRESCO_COMMUNITY_EDITION)) {
|
||||
// We are running version 5.1 or greater in community so use "alfresco-platform"
|
||||
alfrescoPlatformWarArtifactId = "alfresco-platform";
|
||||
}
|
||||
|
||||
if (isPlatformVersionGtOrEqTo51() == true && alfrescoEdition.equals(ALFRESCO_ENTERPRISE_EDITION)) {
|
||||
// We are running version 5.1 or greater in enterprise so use "alfresco-platform-enterprise"
|
||||
alfrescoPlatformWarArtifactId = "alfresco-platform-enterprise";
|
||||
}
|
||||
|
||||
return alfrescoPlatformWarArtifactId;
|
||||
}
|
||||
|
||||
|
6
pom.xml
6
pom.xml
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.alfresco.maven</groupId>
|
||||
<artifactId>alfresco-sdk-aggregator</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<name>Alfresco SDK</name>
|
||||
<description>This aggregator Project builds all modules required for the Alfresco SDK</description>
|
||||
<packaging>pom</packaging>
|
||||
@@ -30,7 +30,7 @@
|
||||
<connection>scm:git:${scm.url.base}.git</connection>
|
||||
<developerConnection>scm:git:${scm.url.base}</developerConnection>
|
||||
<url>${scm.url.base}</url>
|
||||
<tag>alfresco-sdk-aggregator-3.0.0</tag>
|
||||
<tag>alfresco-sdk-aggregator-3.0.1</tag>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
@@ -129,7 +129,7 @@
|
||||
<alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude>
|
||||
|
||||
<!-- The following version is needed for alfresco-rad -->
|
||||
<alfresco.community.default.version>5.2.e</alfresco.community.default.version>
|
||||
<alfresco.community.default.version>5.2.f</alfresco.community.default.version>
|
||||
<alfresco.enterprise.default.version>5.2.0</alfresco.enterprise.default.version>
|
||||
<alfresco.sdk.default.edition>community</alfresco.sdk.default.edition>
|
||||
|
||||
|
Reference in New Issue
Block a user