Adds a service to the alveoli available in the defined folder. It is a skaffolding command.

Coordinates

<plugin>
  <groupId>io.yupiik</groupId>
  <artifactId>bundlebee-maven-plugin</artifactId>
  <version>1.0.28-SNAPSHOT</version>
</plugin>

To call this goal from the command line execute: mvn bundlebee:add-alveolus.

To bind this goal in the build you can use:

<plugin>
  <groupId>io.yupiik</groupId>
  <artifactId>bundlebee-maven-plugin</artifactId>
  <version>1.0.28-SNAPSHOT</version>
  <executions>
    <execution>
      <id>my-execution</id>
      <goals>
        <goal>add-alveolus</goal>
      </goals>
      <configuration>
        <!-- execution specific configuration come there -->
      </configuration>
    </execution>
  </executions>
</plugin>

You can execute this goal particularly with mvn bundlebee:add-alveolus@my-execution command.

Configuration

alveolus (String)

Alveolus name. Default value: ${project.groupId}:${project.artifactId}:${project.version}. Property: ${bundlebee.add-alveolus.alveolus}.

customPlaceholders (Map)

Custom properties injected in the main, it is often used for placeholders. If the key (tag in pom) starts with bundlebee-placeholder-import then the value is resolved as a properties file which is injected in the resulting placeholders (indirect placeholders). Property: ${bundlebee.add-alveolus.customPlaceholders}.

defaultManifest (String)

Just an alias for the built-in manifest property to ease the pom configuration for all commands. Default value: skip. Property: ${bundlebee.manifest}.

image (String)

Deployment image. Default value: <unset>. Property: ${bundlebee.add-alveolus.image}.

manifest (String)

Manifest to add the aveolus inside. Default value: ${project.build.outputDirectory}/bundlebee/manifest.json. Property: ${bundlebee.add-alveolus.manifest}.

overwrite (boolean)

If false, generated files already existing will be skipped. Default value: false. Property: ${bundlebee.add-alveolus.overwrite}.

packaging (String)

Current module packaging. Default value: ${project.packaging}. Property: ``.

skip (boolean)

Skip execution. Default value: false. Property: ${bundlebee.skip}.

skipMavenForcedFilteringForPlaceholders (boolean)

If true, bundlebee lookup in maven context will be one level only which means foo will be looked up as such in maven and not `${foo} which will work. Default value: false. Property: ${bundlebee.skipMavenForcedFilteringForPlaceholders}.

skipPackaging (List)

Skipped packaging types. Default value: pom. Property: ${bundlebee.skipPackaging}.

type (String)

Alveolus/template type. web will create a ConfigMap, Deployment and Service. Default value: web. Property: ${bundlebee.add-alveolus.type}.

useDefaultLogging (boolean)

Should JUL logging redirected to Maven logging (enable it only if you set up maven to use JUL). Default value: false. Property: ${bundlebee.useDefaultLogging}.