Renaming modules in AIO archetype:

[artifactId]-plaform-jar -> [artifactId]-platform
[artifactId]-share-jar -> [artifactId]-share
integration-tests -> [artifactId]-integration-tests
This commit is contained in:
Piotr Anders
2019-02-07 11:05:05 +01:00
parent 8bb094b61a
commit 2db3051599
59 changed files with 67 additions and 65 deletions

View File

@@ -66,7 +66,7 @@ do is modify the `pom.xml` file of the corresponding docker module / project in
<dependencies>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>sample-module-platform-jar</artifactId>
<artifactId>sample-module-platform</artifactId>
<version>1.0-SNAPSHOT</version>
<type>amp</type>
</dependency>
@@ -91,7 +91,7 @@ do is modify the `pom.xml` file of the corresponding docker module / project in
<artifactItems>
<artifactItem>
<groupId>org.alfresco</groupId>
<artifactId>sample-module-platform-jar</artifactId>
<artifactId>sample-module-platform</artifactId>
<version>1.0-SNAPSHOT</version>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/extensions</outputDirectory>
@@ -180,7 +180,7 @@ Here is an example of how to install Florian Maul's Javascript Console.
<dependencies>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>sample-module-platform-jar</artifactId>
<artifactId>sample-module-platform</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

View File

@@ -100,8 +100,8 @@ the hot reloading tools fail):
- "${acs.debug.port}:8888"
volumes:
- alf-acs-volume:/usr/local/tomcat/alf_data
- ../../../sample-project-platform-jar/target/classes:/usr/local/tomcat/hotswap-agent/sample-project-platform-jar/target/classes
- ../../../integration-tests/target/test-classes:/usr/local/tomcat/hotswap-agent/integration-tests/target/test-classes
- ../../../sample-project-platform/target/classes:/usr/local/tomcat/hotswap-agent/sample-project-platform/target/classes
- ../../../sample-project-integration-tests/target/test-classes:/usr/local/tomcat/hotswap-agent/sample-project-integration-tests/target/test-classes
...
```
@@ -177,8 +177,8 @@ the hot reloading tools fail):
- "${acs.debug.port}:8888"
volumes:
- alf-acs-volume:/usr/local/tomcat/alf_data
- ../../../sample-project-platform-jar/target/classes:/usr/local/tomcat/hotswap-agent/sample-project-platform-jar/target/classes
- ../../../integration-tests/target/test-classes:/usr/local/tomcat/hotswap-agent/integration-tests/target/test-classes
- ../../../sample-project-platform/target/classes:/usr/local/tomcat/hotswap-agent/sample-project-platform/target/classes
- ../../../sample-project-integration-tests/target/test-classes:/usr/local/tomcat/hotswap-agent/sample-project-integration-tests/target/test-classes
...
```
@@ -268,7 +268,7 @@ model.put(“fromJava”,”HelloFromMe”);
A number of log messages appear in the Alfresco project terminal, for example:
```
HOTSWAP AGENT: 14:10:29.887 DEBUG (org.hotswap.agent.watch.nio.WatcherNIO2) - Watch event 'ENTRY_MODIFY' on '/usr/local/tomcat/hotswap-agent/sample-project-platform-jar/target/classes/com/example/platformsample/HelloWorldWebScript.class' --> HelloWorldWebScript.class
HOTSWAP AGENT: 14:10:29.887 DEBUG (org.hotswap.agent.watch.nio.WatcherNIO2) - Watch event 'ENTRY_MODIFY' on '/usr/local/tomcat/hotswap-agent/sample-project-platform/target/classes/com/example/platformsample/HelloWorldWebScript.class' --> HelloWorldWebScript.class
HOTSWAP AGENT: 14:10:30.319 DEBUG (org.hotswap.agent.command.impl.SchedulerImpl) - Executing pluginManager.hotswap([class com.example.platformsample.HelloWorldWebScript])
HOTSWAP AGENT: 14:10:30.368 RELOAD (org.hotswap.agent.config.PluginManager) - Reloading classes [com.example.platformsample.HelloWorldWebScript] (autoHotswap)
HOTSWAP AGENT: 14:10:30.387 DEBUG (org.hotswap.agent.plugin.jdk.JdkPlugin) - Flushing com.example.platformsample.HelloWorldWebScript from introspector

View File

@@ -42,7 +42,7 @@ _Note that a license is required. In this step you will be able to request a tri
![Alt text](../../docassets/images/sdk-jrebel-eclipse-servers.png "Eclipse JRebel remote servers synchronization")
8. Select `Help > JRebel > Configuration > Projects` and select the checkbox to enable JRebel and the remote server support for required projects (the complete
project in case of the Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform-jar` and `integration-tests` modules in case of the All-In-One archetype).
project in case of the Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform` and `PROJECT_ARTEFACTID-integration-tests` modules in case of the All-In-One archetype).
![Alt text](../../docassets/images/sdk-jrebel-eclipse-projects.png "Eclipse JRebel projects configuration")
@@ -65,7 +65,7 @@ _Note that a license is required. In this step you will be able to request a tri
![Alt text](../../docassets/images/sdk-jrebel-intellij-servers.png "Eclipse JRebel remote server configuration")
8. Open the JRebel Panel and select the checkbox to enable JRebel and the remote server support for required projects (the complete project in case of the
Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform-jar` and `integration-tests` modules in case of the All-In-One archetype).
Platform Jar archetype or the `PROJECT_ARTIFACT_ID-platform` and `PROJECT_ARTEFACTID-integration-tests` modules in case of the All-In-One archetype).
![Alt text](../../docassets/images/sdk-jrebel-intellij-projects.png "Eclipse JRebel projects configuration")

View File

@@ -67,7 +67,7 @@ module using the `maven-dependency-plugin`. The configuration is done in the fil
</artifactItem>
<artifactItem>
<groupId>org.alfresco</groupId>
<artifactId>integration-tests</artifactId>
<artifactId>PROJECT_ARTEFACTID-integration-tests</artifactId>
<version>1.0-SNAPSHOT</version>
<classifier>tests</classifier>
<overWrite>false</overWrite>
@@ -149,7 +149,7 @@ the environment.
This integration test verifies the existence of the `DemoComponent` component deployed in the Alfresco Content Services instance. You can find the definition
of the `DemoComponent` as a custom component of a project created with the All-In-One archetype. For more details, see the class definition in
`PROJECT_ARTEFACTID-platform-jar/src/main/java/com/example/platformsample/DemoComponent.java`.
`PROJECT_ARTEFACTID-platform/src/main/java/com/example/platformsample/DemoComponent.java`.
The integration test retrieves the `DemoComponent` bean from the Alfresco Content Services instance (see `testGetCompanyHome()`), and requests the Company
Home component. In addition, some Java assertions check if Company Home is identified correctly and has seven children stored in it.