During the lab, you will be configuring your development environment using Eclipse and Maven.
.m2
in
your user home directory ($USER_HOME
).
repository-training.zip
file into your
$USER_HOME/.m2/
directory. It should create a new
$USER_HOME/.m2/repository-training
directory containing a local
Maven repository pre-populated with the required artifacts for the labs.
$USER_HOME/.m2/settings.xml
to add the Componize Maven servers and
archetype information:
<?xml version="1.0" encoding="UTF-8"?> <settings> <localRepository>C:/Users/JohnDoe/.m2/repository-training</localRepository> <activeProfiles> <activeProfile>archetype</activeProfile> </activeProfiles> <profiles> <profile> <id>archetype</id> <repositories> <repository> <id>archetype</id> <url>https://maven.componize.com/releases/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> </profile> </profiles> <servers> <server> <id>archetype</id> <username>...</username> <password>...</password> </server> <server> <id>componize-public-snapshots</id> <username>...</username> <password>...</password> </server> <server> <id>componize-public-releases</id> <username>...</username> <password>...</password> </server> </servers> </settings>
$USER_HOME/.m2/settings.xml
to add the Alfresco
Maven server:
<server> <id>alfresco-private</id> <username>...</username> <password>...</password> </server>
mvn archetype:generate
eclipse-java-*.zip
file on your computer.
mysql-installer-community-*.msi
to be able to run the Alfresco unit
tests
-Xms1g -Xmx1g -ea -Dmysql.rootPassword=<your-MySQL-password>