Playground: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 23: Line 23:
==2. Edit <tt>pom.xml</tt>==
==2. Edit <tt>pom.xml</tt>==


* <tt>name</tt>
===<tt>name</tt>===
* <tt>groupId</tt>
 
* <tt>artifactId</tt>
===<tt>groupId</tt>===
* <tt>finalName</tt>
 
The Maven group should follow the playground directory structure:
 
<pre>
    ...
    <groupId>io.novaordis.playground.wildfly.hornetq</groupId>
    ...
</pre>
 
===<tt>artifactId</tt>===
 
===<tt>finalName</tt>===


3. Create an IntelliJ project. Import Project.
3. Create an IntelliJ project. Import Project.

Revision as of 02:20, 7 March 2016

Reference Assets

Reference operations script: playground/project-template/bin/operations. Works with local and remote servers.

New Project

Use the playground project template:


https://github.com/NovaOrdis/playground/tree/master/project-template

This template contains a basic structure and artifacts to be used when starting new playground project. In order to create a new project:

1. Recursively copy the template under a new name, and customize it

cp -r .../project-template .../<your-project-name>
cd .../<your-project-name>
rm -r .idea

2. Edit pom.xml

name

groupId

The Maven group should follow the playground directory structure:

    ...
    <groupId>io.novaordis.playground.wildfly.hornetq</groupId>
    ...

artifactId

finalName

3. Create an IntelliJ project. Import Project.

4. Edit README.md

Operations

deploy --help
undeploy --help