Loading archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml +8 −17 Original line number Diff line number Diff line Loading @@ -22,10 +22,11 @@ For more available properties see the alfresco-sdk-parent POM. --> <properties> <!-- The following are default values for data location and Alfresco version. Uncomment if you need to change <alfresco.version>${alfresco.community.default.version}</alfresco.version> <alfresco.data.location>${alfresco.data.location}</alfresco.data.location> --> <!-- The following are default values for data location, Alfresco Community version, and Records Management Module version. Uncomment if you need to change (Note. current default version for Enterprise edition is 5.0.0.5) <alfresco.version>5.0.d</alfresco.version> <alfresco.rm.version>2.3</alfresco.rm.version> <alfresco.data.location>alf_data_dev</alfresco.data.location> --> <!-- This control the root logging level for all apps uncomment and change, defaults to WARN <app.log.root.level>WARN</app.log.root.level> Loading Loading @@ -65,11 +66,11 @@ </plugins> </build> <profiles> <profile> <!-- Invoke your build with -Prun to run the multimodule project and enable rapid dev mode in your IDE. See 'run' profile in the sub modules pom.xml for further behavioral details. --> <profiles> <profile> <id>run</id> <properties> <!-- While running in rapid dev mode with -Prun, we don't want amp web resources Loading @@ -78,15 +79,5 @@ <maven.alfresco.includeWebResources>false</maven.alfresco.includeWebResources> </properties> </profile> <!-- RM profile, manually activated, automatically adds support for RM development (dependencies) and install the RM amps in the WARs --> <profile> <id>rm</id> <properties> <alfresco.rm.version>2.3.a.1</alfresco.rm.version> <app.rm.amps.location>${project.build.directory}/rm-amps</app.rm.amps.location> <app.rm.war.location>${project.build.directory}/${project.build.finalName}.war</app.rm.war.location> <app.rm.artifact>org.alfresco:${alfresco.rm.artifactId}:${alfresco.rm.version}:amp</app.rm.artifact> </properties> </profile> </profiles> </project> No newline at end of file archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/repo-amp/pom.xml +11 −16 Original line number Diff line number Diff line Loading @@ -24,6 +24,16 @@ <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-repository</artifactId> </dependency> <!-- Uncomment if you are using RM (Records Management) module, brings in RM related classes --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <classifier>classes</classifier> </dependency> --> </dependencies> <profiles> Loading @@ -43,22 +53,7 @@ </dependencies> </profile> <!-- RM profile, manually activated, automatically adds support for RM development (dependencies) and install the RM amps in the WARs --> <profile> <id>rm</id> <dependencies> <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <type>jar</type> <classifier>classes</classifier> </dependency> </dependencies> </profile> <!-- If we are running embedded skip unit tests --> <!-- If we are running in embedded Tomcat skip unit tests --> <profile> <id>run</id> <properties> Loading archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/repo/pom.xml +20 −48 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ <version>${project.version}</version> <type>amp</type> </dependency> <!-- Demonstrating the usage of a well known GA AMP (SharePoint Protocol Support) --> <!-- Uncomment if you are using SPP (SharePoint Protocol Support) for Online Edit etc --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> Loading @@ -47,6 +47,15 @@ <type>amp</type> </dependency> --> <!-- Uncomment if you are using the RM (Records Management) module. --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <type>amp</type> </dependency> --> </dependencies> <build> Loading Loading @@ -77,6 +86,7 @@ <artifactId>repo-amp</artifactId> <type>amp</type> </overlay> <!-- Uncomment if you are using SPP --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> Loading @@ -84,11 +94,20 @@ <type>amp</type> </overlay> --> <!-- Uncomment if you are using RM --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <type>amp</type> </overlay> --> </overlays> </configuration> </plugin> </plugins> </build> <profiles> <!-- Overrides the run profile to disable securecomms and add rapid development configuration --> <profile> Loading Loading @@ -153,52 +172,5 @@ </dependency> </dependencies> </profile> <!-- Installs the needed runtime artifact for an RM (Records Management) project --> <profile> <id>rm</id> <properties> <alfresco.rm.artifactId>alfresco-rm</alfresco.rm.artifactId> </properties> <build> <plugins> <!-- Fetch Alfresco RM repo AMP --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>get-rm-repo</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifact>${app.rm.artifact}</artifact> <outputDirectory>${app.rm.amps.location}</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- The current AMP artifact is installed into the Alfresco folder using alfresco-maven-plugin --> <plugin> <groupId>org.alfresco.maven.plugin</groupId> <artifactId>alfresco-maven-plugin</artifactId> <executions> <execution> <id>install-rm-repo</id> <phase>package</phase> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <ampLocation>${app.rm.amps.location}</ampLocation> <warLocation>${app.rm.war.location}</warLocation> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project> archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml +17 −50 Original line number Diff line number Diff line Loading @@ -27,6 +27,15 @@ <version>${project.version}</version> <type>amp</type> </dependency> <!-- Uncomment if you are using RM (Records Management) module --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm-share</artifactId> <version>${alfresco.rm.version}</version> <type>amp</type> </dependency> --> </dependencies> <build> Loading Loading @@ -57,59 +66,17 @@ <artifactId>share-amp</artifactId> <type>amp</type> </overlay> <!-- Uncomment if you are using RM module --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm-share</artifactId> <type>amp</type> </overlay> --> </overlays> </configuration> </plugin> </plugins> </build> <profiles> <!-- Installs the needed runtime component for an Alfresco RM (Records Management) project --> <profile> <id>rm</id> <properties> <alfresco.rm.artifactId>alfresco-rm-share</alfresco.rm.artifactId> </properties> <build> <plugins> <!-- Fetch Alfresco RM repo AMP --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>get-rm-share</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifact>${app.rm.artifact}</artifact> <outputDirectory>${app.rm.amps.location}</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- The current AMP artifact is installed into the Alfresco folder using alfresco-maven-plugin --> <plugin> <groupId>org.alfresco.maven.plugin</groupId> <artifactId>alfresco-maven-plugin</artifactId> <executions> <execution> <id>install-rm-share</id> <phase>package</phase> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <ampLocation>${app.rm.amps.location}</ampLocation> <warLocation>${app.rm.war.location}</warLocation> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project> archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/src/test/resources/alfresco/web-extension/share-config-custom.xml +3 −3 Original line number Diff line number Diff line Loading @@ -3,9 +3,9 @@ <config evaluator="string-compare" condition="WebFramework"> <web-framework> <autowire> <!-- Changing this to 'development' currently breaks the Admin Console so it does not work correctly. During testing we instead disable JS compilation by overriding bean javaScriptProcessor --> <mode>production</mode> <!-- Changing this to 'development' currently breaks the Admin Console. Instead we make a POST to clear Share dependency caches, see 'clear-caches-refresh-ws' profile. --> <mode>production</mode> <!-- not really need in the long run, used for YUI - deprecate --> </autowire> <!-- Loading Loading
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml +8 −17 Original line number Diff line number Diff line Loading @@ -22,10 +22,11 @@ For more available properties see the alfresco-sdk-parent POM. --> <properties> <!-- The following are default values for data location and Alfresco version. Uncomment if you need to change <alfresco.version>${alfresco.community.default.version}</alfresco.version> <alfresco.data.location>${alfresco.data.location}</alfresco.data.location> --> <!-- The following are default values for data location, Alfresco Community version, and Records Management Module version. Uncomment if you need to change (Note. current default version for Enterprise edition is 5.0.0.5) <alfresco.version>5.0.d</alfresco.version> <alfresco.rm.version>2.3</alfresco.rm.version> <alfresco.data.location>alf_data_dev</alfresco.data.location> --> <!-- This control the root logging level for all apps uncomment and change, defaults to WARN <app.log.root.level>WARN</app.log.root.level> Loading Loading @@ -65,11 +66,11 @@ </plugins> </build> <profiles> <profile> <!-- Invoke your build with -Prun to run the multimodule project and enable rapid dev mode in your IDE. See 'run' profile in the sub modules pom.xml for further behavioral details. --> <profiles> <profile> <id>run</id> <properties> <!-- While running in rapid dev mode with -Prun, we don't want amp web resources Loading @@ -78,15 +79,5 @@ <maven.alfresco.includeWebResources>false</maven.alfresco.includeWebResources> </properties> </profile> <!-- RM profile, manually activated, automatically adds support for RM development (dependencies) and install the RM amps in the WARs --> <profile> <id>rm</id> <properties> <alfresco.rm.version>2.3.a.1</alfresco.rm.version> <app.rm.amps.location>${project.build.directory}/rm-amps</app.rm.amps.location> <app.rm.war.location>${project.build.directory}/${project.build.finalName}.war</app.rm.war.location> <app.rm.artifact>org.alfresco:${alfresco.rm.artifactId}:${alfresco.rm.version}:amp</app.rm.artifact> </properties> </profile> </profiles> </project> No newline at end of file
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/repo-amp/pom.xml +11 −16 Original line number Diff line number Diff line Loading @@ -24,6 +24,16 @@ <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-repository</artifactId> </dependency> <!-- Uncomment if you are using RM (Records Management) module, brings in RM related classes --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <classifier>classes</classifier> </dependency> --> </dependencies> <profiles> Loading @@ -43,22 +53,7 @@ </dependencies> </profile> <!-- RM profile, manually activated, automatically adds support for RM development (dependencies) and install the RM amps in the WARs --> <profile> <id>rm</id> <dependencies> <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <type>jar</type> <classifier>classes</classifier> </dependency> </dependencies> </profile> <!-- If we are running embedded skip unit tests --> <!-- If we are running in embedded Tomcat skip unit tests --> <profile> <id>run</id> <properties> Loading
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/repo/pom.xml +20 −48 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ <version>${project.version}</version> <type>amp</type> </dependency> <!-- Demonstrating the usage of a well known GA AMP (SharePoint Protocol Support) --> <!-- Uncomment if you are using SPP (SharePoint Protocol Support) for Online Edit etc --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> Loading @@ -47,6 +47,15 @@ <type>amp</type> </dependency> --> <!-- Uncomment if you are using the RM (Records Management) module. --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <version>${alfresco.rm.version}</version> <type>amp</type> </dependency> --> </dependencies> <build> Loading Loading @@ -77,6 +86,7 @@ <artifactId>repo-amp</artifactId> <type>amp</type> </overlay> <!-- Uncomment if you are using SPP --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> Loading @@ -84,11 +94,20 @@ <type>amp</type> </overlay> --> <!-- Uncomment if you are using RM --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm</artifactId> <type>amp</type> </overlay> --> </overlays> </configuration> </plugin> </plugins> </build> <profiles> <!-- Overrides the run profile to disable securecomms and add rapid development configuration --> <profile> Loading Loading @@ -153,52 +172,5 @@ </dependency> </dependencies> </profile> <!-- Installs the needed runtime artifact for an RM (Records Management) project --> <profile> <id>rm</id> <properties> <alfresco.rm.artifactId>alfresco-rm</alfresco.rm.artifactId> </properties> <build> <plugins> <!-- Fetch Alfresco RM repo AMP --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>get-rm-repo</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifact>${app.rm.artifact}</artifact> <outputDirectory>${app.rm.amps.location}</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- The current AMP artifact is installed into the Alfresco folder using alfresco-maven-plugin --> <plugin> <groupId>org.alfresco.maven.plugin</groupId> <artifactId>alfresco-maven-plugin</artifactId> <executions> <execution> <id>install-rm-repo</id> <phase>package</phase> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <ampLocation>${app.rm.amps.location}</ampLocation> <warLocation>${app.rm.war.location}</warLocation> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml +17 −50 Original line number Diff line number Diff line Loading @@ -27,6 +27,15 @@ <version>${project.version}</version> <type>amp</type> </dependency> <!-- Uncomment if you are using RM (Records Management) module --> <!-- <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm-share</artifactId> <version>${alfresco.rm.version}</version> <type>amp</type> </dependency> --> </dependencies> <build> Loading Loading @@ -57,59 +66,17 @@ <artifactId>share-amp</artifactId> <type>amp</type> </overlay> <!-- Uncomment if you are using RM module --> <!-- <overlay> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-rm-share</artifactId> <type>amp</type> </overlay> --> </overlays> </configuration> </plugin> </plugins> </build> <profiles> <!-- Installs the needed runtime component for an Alfresco RM (Records Management) project --> <profile> <id>rm</id> <properties> <alfresco.rm.artifactId>alfresco-rm-share</alfresco.rm.artifactId> </properties> <build> <plugins> <!-- Fetch Alfresco RM repo AMP --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>get-rm-share</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifact>${app.rm.artifact}</artifact> <outputDirectory>${app.rm.amps.location}</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- The current AMP artifact is installed into the Alfresco folder using alfresco-maven-plugin --> <plugin> <groupId>org.alfresco.maven.plugin</groupId> <artifactId>alfresco-maven-plugin</artifactId> <executions> <execution> <id>install-rm-share</id> <phase>package</phase> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <ampLocation>${app.rm.amps.location}</ampLocation> <warLocation>${app.rm.war.location}</warLocation> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/src/test/resources/alfresco/web-extension/share-config-custom.xml +3 −3 Original line number Diff line number Diff line Loading @@ -3,9 +3,9 @@ <config evaluator="string-compare" condition="WebFramework"> <web-framework> <autowire> <!-- Changing this to 'development' currently breaks the Admin Console so it does not work correctly. During testing we instead disable JS compilation by overriding bean javaScriptProcessor --> <mode>production</mode> <!-- Changing this to 'development' currently breaks the Admin Console. Instead we make a POST to clear Share dependency caches, see 'clear-caches-refresh-ws' profile. --> <mode>production</mode> <!-- not really need in the long run, used for YUI - deprecate --> </autowire> <!-- Loading