Demo:
The demo below provisions Wildfly Core feature pack. It uses docker to host a nexus repository and requires building galleo-plugins and wildfly-core projects
- Build Wildfly Core
- Build prospero-galleon-plugin
cd <PROSPERO_HOME> mvn clean install -Dgalleon
- Build galleon-plugins
git clone https://github.com/spyrkob/galleon-plugins.git -b prospero <PATH_TO_GALLEON_PLUGINS> cd <PATH_TO_GALLEON_PLUGINS> mvn clean install -DskipTests
- Build wildfly-core with updated galleon-plugin
git clone https://github.com/spyrkob/wildfly-core.git -b prospero <PATH_TO_WF_CORE> cd <PATH_TO_WF_CORE> mvn clean install -DskipTests
- Build prospero-galleon-plugin
- Setup nexus with channel repository
-
Start and setup nexus container in docker (or other MVN repository)
cd <PROSPERO_HOME> ./scripts/setupNexus.sh
-
Add nexus credential in
~/.m2/settings.xml
<servers> ... <server> <id>nexus2</id> <username>admin</username> <password>admin</password> </server> ... </servers>
-
Deploy artifacts into repositories
WILDFLY_CORE_SRC="<PATH_TO_WF_CORE>" ./scripts/upload-artifacts.sh WILDFLY_CORE_SRC="<PATH_TO_WF_CORE>" \ GALLEON_SRC=<PATH_TO_GALLEON_PLUGINS> \ ./scripts/upload-galleon-.sh
-
- Build prospero-cli
mvn clean install -pl prospero-cli
- Provision server
./prospero install wildfly-core:current/snapshot eap-dev dev-channels.json