diff --git a/archetypes/alfresco-allinone-archetype/pom.xml b/archetypes/alfresco-allinone-archetype/pom.xml index a3bca5b8..60746654 100644 --- a/archetypes/alfresco-allinone-archetype/pom.xml +++ b/archetypes/alfresco-allinone-archetype/pom.xml @@ -23,8 +23,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml true @@ -35,8 +33,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml false diff --git a/archetypes/alfresco-platform-jar-archetype/pom.xml b/archetypes/alfresco-platform-jar-archetype/pom.xml index 9ed74b7d..04ec6adb 100644 --- a/archetypes/alfresco-platform-jar-archetype/pom.xml +++ b/archetypes/alfresco-platform-jar-archetype/pom.xml @@ -24,8 +24,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml true @@ -36,8 +34,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml false diff --git a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml index e8d00f36..bcb87182 100644 --- a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml @@ -43,7 +43,6 @@ 8180 - 9898 ${artifactId}-acs 8080 8888 diff --git a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/docker/hotswap-agent.properties b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/docker/hotswap-agent.properties index d94563e7..b86754f3 100644 --- a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/docker/hotswap-agent.properties +++ b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/docker/hotswap-agent.properties @@ -26,12 +26,12 @@ disabledPlugins=Hibernate,Spring # # Load web application resources (such as HTML, JSP, CSS, ...) from this directory prior to default processing. # Use this setting to set to serve resources from source directory directly (e.g. src/main/webapp). -extraWebappContext=/usr/local/tomcat/hotswap-agent/${rootArtifactId}-platform-jar/target/classes/META-INF/resources; +extraWebappContext=/usr/local/tomcat/hotswap-agent/${rootArtifactId}/target/classes/META-INF/resources; # Load static web resources from different directory. # # This setting is dependent on application server plugin(Jetty, Tomcat, JBoss, ...) -webappDir=/usr/local/tomcat/hotswap-agent/${rootArtifactId}-platform-jar/target/classes/META-INF/resources; +webappDir=/usr/local/tomcat/hotswap-agent/${rootArtifactId}/target/classes/META-INF/resources; # Watch for changes in a directory (resources only). # diff --git a/archetypes/alfresco-share-jar-archetype/pom.xml b/archetypes/alfresco-share-jar-archetype/pom.xml index 54f19391..b11da761 100644 --- a/archetypes/alfresco-share-jar-archetype/pom.xml +++ b/archetypes/alfresco-share-jar-archetype/pom.xml @@ -26,8 +26,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml true @@ -38,8 +36,6 @@ archetype-resources/pom.xml archetype-resources/run.sh archetype-resources/run.bat - archetype-resources/debug.sh - archetype-resources/debug.bat META-INF/maven/archetype-metadata.xml false diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index ea9d6425..62c41f07 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -11,12 +11,38 @@ + + docker + + ** + + src/main/assembly ** + + src/main/docker + + Dockerfile + share-config-custom.xml + + + **/*.properties + + + + src/main/docker + + **/*.properties + + + Dockerfile + share-config-custom.xml + + src/main/java @@ -51,18 +77,9 @@ **/__artifactId__-example-widgets.xml - - src/test/resources - - ** - - - - + - debug.sh - debug.bat run.sh run.bat README.md diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.bat b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.bat deleted file mode 100644 index 40ba50e2..00000000 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.bat +++ /dev/null @@ -1,10 +0,0 @@ -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -:: Dev environment startup script for Alfresco Community. :: -:: :: -:: Note. requires Alfresco.war to be running in another :: -:: Tomcat on port 8080. :: -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -@echo off - -mvnDebug clean install alfresco:run - diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.sh b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.sh deleted file mode 100755 index 773d0ac8..00000000 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/debug.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# Note. requires Alfresco.war to be running in another Tomcat on port 8080 - -mvnDebug clean install alfresco:run diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/docker/docker-compose.yml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/docker/docker-compose.yml new file mode 100644 index 00000000..9c9d4961 --- /dev/null +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/docker/docker-compose.yml @@ -0,0 +1,65 @@ +#set( $symbol_dollar = '$' ) +version: '3.4' +services: + ${rootArtifactId}-share: + image: alfresco-share-${rootArtifactId}:development + build: + dockerfile: ./Dockerfile + context: ../../../target + environment: + CATALINA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888" + REPO_HOST: ${rootArtifactId}-acs + REPO_PORT: 8080 + ports: + - "${symbol_dollar}{share.port}:8080" + - "${symbol_dollar}{share.debug.port}:8888" + ${rootArtifactId}-acs: + image: ${symbol_dollar}{docker.acs.image}:${symbol_dollar}{alfresco.platform.version} + environment: + JAVA_OPTS: " + -Ddb.driver=org.postgresql.Driver + -Ddb.username=alfresco + -Ddb.password=alfresco + -Ddb.url=jdbc:postgresql://${rootArtifactId}-postgres:5432/alfresco + -Dsolr.host=${rootArtifactId}-ass + -Dsolr.port=8983 + -Dsolr.secureComms=none + -Dsolr.base.url=/solr + -Dindex.subsystem.name=solr6 + " + ports: + - "${symbol_dollar}{acs.port}:8080" + volumes: + - alf-acs-volume:/usr/local/tomcat/alf_data + depends_on: + - ${rootArtifactId}-postgres + ${rootArtifactId}-postgres: + image: postgres:9.6 + environment: + POSTGRES_DB: alfresco + POSTGRES_USER: alfresco + POSTGRES_PASSWORD: alfresco + ports: + - "${symbol_dollar}{postgres.port}:5432" + volumes: + - alf-db-volume:/var/lib/postgresql/data + ${rootArtifactId}-ass: + image: alfresco/alfresco-search-services:1.2.0 + environment: + SOLR_ALFRESCO_HOST: ${rootArtifactId}-acs + SOLR_ALFRESCO_PORT: 8080 + SOLR_SOLR_HOST: ${rootArtifactId}-ass + SOLR_SOLR_PORT: 8983 + SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive + ports: + - "8983:8983" + volumes: + - alf-ass-volume:/opt/alfresco-search-services/contentstore + - alf-ass-volume:/opt/alfresco-search-services/data +volumes: + alf-acs-volume: + external: true + alf-db-volume: + external: true + alf-ass-volume: + external: true \ No newline at end of file diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml index 8887bc54..c137fca3 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml @@ -5,158 +5,108 @@ ${groupId} ${artifactId} ${version} - ${artifactId} Share Jar Module - SDK 4.0 - Share JAR Module (to be included in the share.war) - SDK 4.0 + ${artifactId} Share JAR Module + Sample Share JAR Module (to be included in the share.war) jar - @@alfresco.sdk.parent.version@@ + @@alfresco.sdk.parent.version@@ UTF-8 org.alfresco + + acs-community-packaging + 6.0.7-ga + 6.0.c + + + + - - 5.2.d - - - community - - - 6.11 - - - 8081 + + + alfresco/alfresco-content-repository-community + alfresco/alfresco-share + + + 1.1.6 - - 1.7 - 1.7 + + 1.8 + 1.8 + + + 8180 + 9898 + ${artifactId}-acs + 8080 + 5555 + + + - ${alfresco.groupId} share - ${alfresco.share.version} classes - provided - - - - org.alfresco.surf - spring-surf-api - ${alfresco.surf.version} - provided + + + + + ${alfresco.groupId} + ${alfresco.bomDependencyArtifactId} + ${alfresco.platform.version} + pom + import + + + + ${alfresco.groupId} + share + ${alfresco.share.version} + war + provided + + + ${alfresco.groupId} + share + ${alfresco.share.version} + classes + provided + + + ${alfresco.groupId} + alfresco-web-framework-commons + ${alfresco.share.version} + classes + provided + + + + + - - - org.alfresco.maven.plugin - alfresco-maven-plugin - ${alfresco.sdk.version} - - - - false - - - true - - - - - - ${project.groupId} - ${project.artifactId} - ${project.version} - - - - - - - - maven-assembly-plugin - 2.6 - - - build-amp-file - package - - single - - - false - src/main/assembly/amp.xml - - - - - - org.alfresco.maven.plugin - alfresco-maven-plugin - ${alfresco.sdk.version} - - - - - - - org.zeroturnaround - jrebel-maven-plugin - ${jrebel.version} - - - generate-rebel-xml - process-resources - - generate - - - - - - - all - - - - - - - - - true - - - + org.apache.maven.plugins maven-resources-plugin @@ -190,6 +140,150 @@ js + + + copy-and-filter-docker-compose-resources + validate + + copy-resources + + + ${project.build.outputDirectory}/docker + + + docker + true + + + + + + copy-and-filter-docker-resources + validate + + copy-resources + + + ${project.build.directory} + + + src/main/docker + true + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.0.2 + + + + copy-repo-extension + pre-integration-test + + copy + + + + + ${groupId} + ${artifactId} + ${version} + false + ${project.build.directory}/extensions + + + + + + + copy-third-party-dependencies + pre-integration-test + + copy-dependencies + + + ${project.build.directory}/extensions + runtime + + + + + + + + + + + org.zeroturnaround + jrebel-maven-plugin + ${jrebel.version} + + + generate-rebel-xml + process-resources + + generate + + + + + + + all + + + ${project.build.outputDirectory} + ${project.build.testOutputDirectory} + + + + + + true + @@ -231,6 +325,7 @@ https://artifacts.alfresco.com/nexus/content/groups/private + alfresco-plugin-public @@ -245,5 +340,4 @@ - - + \ No newline at end of file diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.bat b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.bat index 8c88313b..fa672748 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.bat +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.bat @@ -1,9 +1,91 @@ -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -:: Dev environment startup script for Alfresco Community. :: -:: :: -:: Note. requires Alfresco.war to be running in another :: -:: Tomcat on port 8080. :: -:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -@echo off +#set( $symbol_dollar = '$' ) +@ECHO OFF -mvn clean install alfresco:run +SET COMPOSE_FILE_PATH=%CD%\target\classes\docker\docker-compose.yml + +IF [%1]==[] ( + echo "Usage: %0 {build_start|start|stop|purge|tail|reload_share|build_test|test}" + GOTO END +) + +IF %1==build_start ( + CALL :down + CALL :build + CALL :start + CALL :tail + GOTO END +) +IF %1==start ( + CALL :start + CALL :tail + GOTO END +) +IF %1==stop ( + CALL :down + GOTO END +) +IF %1==purge ( + CALL:down + CALL:purge + GOTO END +) +IF %1==tail ( + CALL :tail + GOTO END +) +IF %1==reload_share ( + CALL :build_share + CALL :start_share + CALL :tail + GOTO END +) +IF %1==build_test ( + CALL :down + CALL :build + CALL :start + CALL :test + CALL :down + GOTO END +) +IF %1==test ( + CALL :test + GOTO END +) +echo "Usage: %0 {build_start|start|stop|purge|tail|reload_share|build_test|test}" +:END +EXIT /B %ERRORLEVEL% + +:start + docker volume create alf-acs-volume + docker volume create alf-db-volume + docker volume create alf-ass-volume + docker-compose -f "%COMPOSE_FILE_PATH%" up --build -d +EXIT /B 0 +:start_share + docker-compose -f "%COMPOSE_FILE_PATH%" up --build -d ${rootArtifactId}-share +EXIT /B 0 +:down + docker-compose -f "%COMPOSE_FILE_PATH%" down +EXIT /B 0 +:build + docker rmi alfresco-content-services-${rootArtifactId}:development + docker rmi alfresco-share-${rootArtifactId}:development + call mvn clean install -DskipTests +EXIT /B 0 +:build_share + docker-compose -f "%COMPOSE_FILE_PATH%" kill ${rootArtifactId}-share + docker-compose -f "%COMPOSE_FILE_PATH%" rm -f ${rootArtifactId}-share + docker rmi alfresco-share-${rootArtifactId}:development + call mvn clean install -DskipTests +EXIT /B 0 +:tail + docker-compose -f "%COMPOSE_FILE_PATH%" logs -f +EXIT /B 0 +:test + call mvn verify -pl +EXIT /B 0 +:purge + docker volume rm alf-acs-volume + docker volume rm alf-db-volume + docker volume rm alf-ass-volume +EXIT /B 0 \ No newline at end of file diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.sh b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.sh index 45abd23a..1ee67489 100755 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.sh +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/run.sh @@ -1,4 +1,85 @@ -#!/bin/bash -# Note. requires Alfresco.war to be running in another Tomcat on port 8080 +#set( $symbol_dollar = '$' ) +#!/bin/sh -mvn clean install alfresco:run +export COMPOSE_FILE_PATH=${symbol_dollar}{PWD}/target/classes/docker/docker-compose.yml + +start() { + docker volume create alf-acs-volume + docker volume create alf-db-volume + docker volume create alf-ass-volume + docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH up --build -d +} + +start_share() { + docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH up --build -d ${rootArtifactId}-share +} + +down() { + docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH down +} + +purge() { + docker volume rm alf-acs-volume + docker volume rm alf-db-volume + docker volume rm alf-ass-volume +} + +build() { + docker rmi alfresco-share-${rootArtifactId}:development + mvn clean install -DskipTests=true +} + +build_share() { + docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH kill ${rootArtifactId}-share + yes | docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH rm -f ${rootArtifactId}-share + docker rmi alfresco-share-${rootArtifactId}:development + mvn clean install -DskipTests=true +} + +tail() { + docker-compose -f ${symbol_dollar}COMPOSE_FILE_PATH logs -f +} + +test() { + mvn verify -pl +} + +case "${symbol_dollar}1" in + build_start) + down + build + start + tail + ;; + start) + start + tail + ;; + stop) + down + ;; + purge) + down + purge + ;; + tail) + tail + ;; + reload_share) + build_share + start_share + tail + ;; + build_test) + down + build + start + test + down + ;; + test) + test + ;; + *) + echo "Usage: ${symbol_dollar}0 {build_start|start|stop|purge|tail|reload_share|build_test|test}" +esac \ No newline at end of file diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/assembly/amp.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/assembly/amp.xml index 9f17de85..512c9071 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/assembly/amp.xml +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/assembly/amp.xml @@ -1,7 +1,7 @@ + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + production + + + + false + + + + + + + + + true + + false + + + + + + + + + + + + + + alfresco-noauth + Alfresco - unauthenticated access + Access to Alfresco Repository WebScripts that do not require authentication + alfresco + http://${acs.host}:8080/alfresco/s + none + + + + alfresco + Alfresco - user access + Access to Alfresco Repository WebScripts that require user authentication + alfresco + http://${acs.host}:8080/alfresco/s + user + + + + alfresco-feed + Alfresco Feed + Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet + http + http://${acs.host}:8080/alfresco/s + true + user + + + + activiti-admin + Activiti Admin UI - user access + Access to Activiti Admin UI, that requires user authentication + activiti-admin-connector + http://${acs.host}:8080/alfresco/activiti-admin + user + + + + alfresco-api + alfresco + Alfresco Public API - user access + Access to Alfresco Repository Public API that require user authentication. + This makes use of the authentication that is provided by parent 'alfresco' endpoint. + alfresco + http://${acs.host}:8080/alfresco/api + user + + + + + diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/TemplateWidget.js b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/TemplateWidget.js similarity index 100% rename from archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/TemplateWidget.js rename to archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/TemplateWidget.js diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/css/TemplateWidget.css b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/css/TemplateWidget.css similarity index 100% rename from archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/css/TemplateWidget.css rename to archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/css/TemplateWidget.css diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/i18n/TemplateWidget.properties b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/i18n/TemplateWidget.properties similarity index 100% rename from archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/i18n/TemplateWidget.properties rename to archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/i18n/TemplateWidget.properties diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/templates/TemplateWidget.html b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/templates/TemplateWidget.html similarity index 100% rename from archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__artifactId__/js/tutorials/widgets/templates/TemplateWidget.html rename to archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/__rootArtifactId__-share-jar/js/tutorials/widgets/templates/TemplateWidget.html diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/share-config-custom.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/share-config-custom.xml index b7270ba9..0340f294 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/share-config-custom.xml +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/share-config-custom.xml @@ -11,10 +11,10 @@ --> + Make custom types and aspects visible in "Change Type" and "Manage Aspects" actions. + This will also make them visible when creating rules. + (will be merged with out-of-the-box configured types and aspects) + =============================================================================================================--> diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/module/__artifactId__/module.properties b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/module/__rootArtifactId__-share-jar/module.properties similarity index 100% rename from archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/module/__artifactId__/module.properties rename to archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/module/__rootArtifactId__-share-jar/module.properties diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/web-extension/__artifactId__-slingshot-application-context.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/web-extension/__artifactId__-slingshot-application-context.xml index 22741e02..277751fa 100644 --- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/web-extension/__artifactId__-slingshot-application-context.xml +++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/src/main/resources/alfresco/web-extension/__artifactId__-slingshot-application-context.xml @@ -17,7 +17,7 @@ --> -