Fork me on GitHub

Example: minimal

This example show how you can activate the plugin so that the required parcel.json file is automatically created. It will contain your artifactId and version as default values.

Activate automatic execution

You can enable the plugin by adding it to your plugin section and add an execution:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>de.wlami</groupId>
        <artifactId>cdmpacker-maven-plugin</artifactId>
        <version>0.2.2</version>
        <executions>
          <execution>
            <goals>
              <goal>generate-parcel-json</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  ...
</project>

After you've enabled the plugin execution you will find the generated files in target/cdmpacker.