cdm-value-objects-demo
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>cdm-value-objects-demo</artifactId>
<version>1.8.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>codingmatters-value-objects</artifactId>
<version>1.8.0</version>
<relativePath>../</relativePath>
</parent>
<artifactId>cdm-value-objects-demo</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>cdm-value-objects-maven-plugin</artifactId>
<executions>
<execution>
<id>spec1</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
<goal>json</goal>
<goal>puml</goal>
</goals>
<configuration>
<destination-package>org.codingmatters.value.objects.demo.referenced</destination-package>
<input-spec>src/main/resources/spec1.yaml</input-spec>
</configuration>
</execution>
<execution>
<id>spec2</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
<goal>json</goal>
<goal>puml</goal>
</goals>
<configuration>
<destination-package>org.codingmatters.value.objects.demo</destination-package>
<input-spec>src/main/resources/spec2.yaml</input-spec>
</configuration>
</execution>
<execution>
<id>books</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
<goal>json</goal>
<goal>puml</goal>
</goals>
<configuration>
<destination-package>org.codingmatters.value.objects.demo.books</destination-package>
<input-spec>src/main/resources/books.yaml</input-spec>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-generated-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-generated-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>target/generated-resources</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>