cdm-value-objects-js
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>cdm-value-objects-js</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-js</artifactId>
<dependencies>
<dependency>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>cdm-value-objects-yaml-parser</artifactId>
</dependency>
<dependency>
<groupId>org.codingmatters.value.objects</groupId>
<artifactId>cdm-value-objects-generation-commons</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy-yaml</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/js-test</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/test/resources/</directory>
<include>*.yaml</include>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-package</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/js-test</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/test/resources/</directory>
<include>package.json</include>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-tests</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/js-test/__tests__</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/test/js/</directory>
<include>*.js</include>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>process-test-resources</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>org.codingmatters.value.objects.js.Main</mainClass>
<arguments>
<argument>${project.build.directory}/js-test</argument>
<argument>${project.build.directory}/js-test</argument>
<argument>org.generated</argument>
<argument>--no-sub-package</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<systemPropertyVariables>
<project.build.directory>${project.build.directory}</project.build.directory>
</systemPropertyVariables>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<!-- NOTE: We don't need a groupId specification because the group is org.apache.maven.plugins ...which is assumed by default. -->
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<descriptors>
<descriptor>src/main/resources/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>embedded</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.codingmatters.value.objects.js.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>