Skip to content

c1 Project Setup

Reguel edited this page Jul 15, 2021 · 20 revisions

Anything that can be coded and wrapped in an Ivy Project, can be served as market product. We will need it as maven compliant workspace in order to distribute it in a secure and effective way. The code, it's build infrastructure and target repository will live for free on Github.

A popular example for the steps being explained is the A-Trust connector.

Here's how to set it up:

Initialize a new Repository

  1. Login to Github.com or create an account in advance if you have yet none.
  2. Create your own product repo by copying from our template. create
  3. Adjust the names in the pom.xml right there on Github
    1. Click on the pom.xml and start editing edit
    2. set your product name and artifactId. edit
    3. save your changes by committing to master edit
  4. Clone the created repository onto your local disc. clone
  5. Import your local repository into the Axon IvyDesigner via Import -> Maven -> Existing Maven Project import

Create your product projects

Use the Axon IvyDesigner to create 3 distinct projects within the local repository. Start creating from the previously imported module project. new

Main Project

Create the main project that contains your product to share. Take care that the name matches the one you entered in the pom.xml back in step 3. new-main

Demo Project

Create a demo project that demonstrates a valid use-case of your product. After clicking Next in the wizard, set the previously created project as dependency. new-demo new-dep

Test Project

Create a test project (created using the New Ivy Test Project wizard), that proofs the quality of the product. new-test

  1. Select the product as project under test. And pick testing flavours you d'like to create. test-flavour
  2. Change the name to end with -test. test-naming

Push to Remote

  1. Add, commit and push the created project files to Github.com.
    1. A Github Action build will run automatically and verify that the projects can be built and published with Maven.
  2. Finally, you can implemented your product, it's Demo and the Tests.
Clone this wiki locally