moved share-config-custom to common RAD

This commit is contained in:
2021-06-28 23:55:19 -04:00
parent 585b2cf745
commit 05bf7c29e6
2 changed files with 48 additions and 47 deletions

View File

@@ -13,7 +13,7 @@
</activation>
<build>
<plugins>
<!-- This plugin downloads the Share JAR-based extension modules and runtime/test dependencies -->
<!-- This plugin downloads the Share JAR-based extension modules -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
@@ -31,51 +31,6 @@
</execution>
</executions>
</plugin>
<!-- This plugin downloads the Alfresco SDK configuration for Share -->
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<executions>
<execution>
<id>download-share-config</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://raw.githubusercontent.com/Alfresco/alfresco-sdk/alfresco-sdk-aggregator-${alfresco.sdk.version}/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/docker/share-config-custom.xml</url>
<outputDirectory>${project.build.directory}/download</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin configures the Share configuration for the BeeDK -->
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<basedir>${basedir}/target/download</basedir>
<outputBasedir>${basedir}/target/test-classes</outputBasedir>
<file>share-config-custom.xml</file>
<outputDir>alfresco/web-extension</outputDir>
<replacements>
<replacement>
<token>http://\$\{acs\.host\}:8080</token>
<value>${acs-platform.url}</value>
</replacement>
</replacements>
</configuration>
</plugin>
</plugins>
</build>
</profile>
@@ -88,7 +43,6 @@
</activation>
<properties>
<!-- configurable -->
<acs-platform.url>http://${project.artifactId}-acs-platform:8080</acs-platform.url>
<beedk.deploy.share.warFile>${project.build.warFile}</beedk.deploy.share.warFile>
<beedk.deploy.share.classesDirectory>${project.build.outputDirectory}</beedk.deploy.share.classesDirectory>
<beedk.deploy.share.modClassesDirectory>${project.build.directory}/module-classes</beedk.deploy.share.modClassesDirectory>