Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.24 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <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">
  3.     <modelVersion>4.0.0</modelVersion>
  4.  
  5.     <parent>
  6.         <groupId>org.jpmml</groupId>
  7.         <artifactId>jpmml-android</artifactId>
  8.         <version>1.0-SNAPSHOT</version>
  9.     </parent>
  10.  
  11.     <groupId>org.jpmml</groupId>
  12.     <artifactId>pmml-android-example</artifactId>
  13. <dependencies>
  14.         <dependency>
  15.             <groupId>org.jpmml</groupId>
  16.             <artifactId>pmml-model</artifactId>
  17.             <version>1.4.13</version>
  18.             <exclusions>
  19.                 <exclusion>
  20.                     <groupId>*</groupId>
  21.                     <artifactId>*</artifactId>
  22.                 </exclusion>
  23.             </exclusions>
  24.         </dependency>
  25.  
  26.         <dependency>
  27.             <groupId>org.glassfish.jaxb</groupId>
  28.             <artifactId>jaxb-runtime</artifactId>
  29.             <version>2.3.2</version>
  30.             <exclusions>
  31.                 <exclusion>
  32.                     <groupId>com.sun.xml.fastinfoset</groupId>
  33.                     <artifactId>FastInfoset</artifactId>
  34.                 </exclusion>
  35.                 <exclusion>
  36.                     <groupId>org.glassfish.jaxb</groupId>
  37.                     <artifactId>txw2</artifactId>
  38.                 </exclusion>
  39.                 <exclusion>
  40.                     <groupId>org.jvnet.staxex</groupId>
  41.                     <artifactId>stax-ex</artifactId>
  42.                 </exclusion>
  43.             </exclusions>
  44.         </dependency>
  45.        
  46.     </dependencies>
  47.  
  48.     <build>
  49.         <plugins>
  50.             <plugin>
  51.                 <groupId>org.jpmml</groupId>
  52.                 <artifactId>pmml-maven-plugin</artifactId>
  53.                 <version>1.4.13</version>
  54.                 <executions>
  55.                     <execution>
  56.                         <phase>process-resources</phase>
  57.                         <goals>
  58.                             <goal>ser</goal>
  59.                         </goals>
  60.                         <configuration>
  61.                             <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
  62.                                 <targetExtension>.pmml.ser</targetExtension>
  63.                             </fileMapper>
  64.                             <modelSets>
  65.                                 <modelSet>
  66.                                     <dir>src/main/pmml</dir>
  67.                                     <outputDir>target/</outputDir>
  68.                                     <includes>
  69.                                         <include>*.pmml</include>
  70.                                     </includes>
  71.                                 </modelSet>
  72.                             </modelSets>
  73.                             <visitorClasses>
  74.                                 <visitorClass>org.jpmml.model.visitors.StringInterner</visitorClass>
  75.                             </visitorClasses>
  76.                         </configuration>
  77.                     </execution>
  78.                 </executions>
  79.             </plugin>
  80.         </plugins>
  81.     </build>
  82. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement