pmml-model
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-model</artifactId>
<version>1.7.7</version>
</dependency><?xml version="1.0" ?>
<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.jpmml</groupId>
<artifactId>jpmml-model</artifactId>
<version>1.7.7</version>
</parent>
<artifactId>pmml-model</artifactId>
<name>JPMML model</name>
<description>JPMML class model</description>
<licenses>
<license>
<name>BSD 3-Clause License</name>
<url>http://opensource.org/licenses/BSD-3-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-agent</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.moxy</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>target/transformed-schema</directory>
<includes>
<include>pmml.xsd</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-javaagent:${basedir}/../pmml-agent/target/pmml-agent-distributable-${project.version}.jar=public=true ${jacoco.agent}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>transform</goal>
</goals>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/main/schema</dir>
<includes>pmml.*</includes>
<outputDir>target/transformed-schema</outputDir>
<stylesheet>src/main/xsl/pmml.xsl</stylesheet>
</transformationSet>
<transformationSet>
<dir>target/transformed-schema</dir>
<includes>pmml.*</includes>
<outputDir>target/transformed-jaxb-schema</outputDir>
<stylesheet>src/main/xsl/pmml-jaxb.xsl</stylesheet>
</transformationSet>
</transformationSets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.evolvedbinary.maven.jvnet</groupId>
<artifactId>jaxb30-maven-plugin</artifactId>
<version>0.16.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<args>
<arg>-no-header</arg>
<arg>-npa</arg>
<!-- Update class hierarchy -->
<arg>-Xinheritance</arg>
<arg>-Xpmml</arg>
<!-- Annotate default types and members (annotation order: JAXB, Jackson, JPMML) -->
<arg>-Xjackson</arg>
<arg>-Xannotate</arg>
<!-- Add custom types and members -->
<arg>-XcopyConstructor</arg>
<arg>-XvalueConstructor</arg>
<arg>-Xvisitor</arg>
<!-- Cleanup -->
<arg>-Xno-javadoc</arg>
</args>
<episode>false</episode>
<extension>true</extension>
<schemaDirectory>target/transformed-jaxb-schema</schemaDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-xjc</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<executions>
<execution>
<id>android-19</id>
<configuration>
<ignores>
<ignore>java.lang.instrument.*</ignore>
<ignore>java.time.*</ignore>
</ignores>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<activation>
<jdk>[16, )</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-javaagent:${basedir}/../pmml-agent/target/pmml-agent-distributable-${project.version}.jar=public=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED ${jacoco.agent}</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>