bundlebee:new
Creates a new project.
Coordinates
<plugin>
<groupId>io.yupiik</groupId>
<artifactId>bundlebee-maven-plugin</artifactId>
<version>1.0.32-SNAPSHOT</version>
</plugin>
To call this goal from the command line execute: mvn bundlebee:new.
To bind this goal in the build you can use:
<plugin>
<groupId>io.yupiik</groupId>
<artifactId>bundlebee-maven-plugin</artifactId>
<version>1.0.32-SNAPSHOT</version>
<executions>
<execution>
<id>my-execution</id>
<goals>
<goal>new</goal>
</goals>
<configuration>
<!-- execution specific configuration come there -->
</configuration>
</execution>
</executions>
</plugin>
You can execute this goal particularly with mvn bundlebee:new@my-execution command.
Configuration
-
artifact (
String) -
Bundle artifactId. Default value:
${project.artifactId}. Property:${bundlebee.new.artifact}.
-
customPlaceholders (
Map) -
Custom properties injected in the main, it is often used for placeholders. If the key (tag in pom) starts with
bundlebee-placeholder-importthen the value is resolved as a properties file which is injected in the resulting placeholders (indirect placeholders). Property:${bundlebee.new.customPlaceholders}.
-
dir (
String) -
Where to create the project. If not set it will use the artifact value in current folder. Default value:
${project.build.outputDirectory}. Property:${bundlebee.new.dir}.
-
force (
boolean) -
If
truethe execution runs even if dir already exists. Default value:true. Property:${bundlebee.new.force}.
-
group (
String) -
Bundle groupId. Default value:
${project.groupId}. Property:${bundlebee.new.group}.
-
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 meansfoowill be looked up as such in maven and not$which will work. Default value:false. Property:$`.
-
skipPackaging (
List) -
Skipped packaging types. Default value:
pom. Property:${bundlebee.skipPackaging}.
-
skipPom (
boolean) -
If
trueno pom.xml is generated. Default value:true. Property:${bundlebee.new.skipPom}.
-
skipSamples (
boolean) -
By default a sample alveolus with a config map is generated, if
falseit will be skipped. Default value:true. Property:${bundlebee.new.skipSamples}.
-
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}.
-
version (
String) -
Bundle version. Default value:
${project.version}. Property:${bundlebee.new.version}.