133 lines
6.3 KiB
XML
133 lines
6.3 KiB
XML
<?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>
|
|
|
|
<groupId>com.jar3b.umms</groupId>
|
|
<artifactId>umms-schemas</artifactId>
|
|
<version>1.0.0</version>
|
|
<description>Umms Schemas</description>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
</properties>
|
|
<build>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>**/*.xjb</exclude>
|
|
<exclude>**/*.cat</exclude>
|
|
<exclude>**/*.xsd</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<!-- COMPILE -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<optimize>true</optimize>
|
|
<compilerArgs>
|
|
<arg>-XDignore.symbol.file</arg>
|
|
</compilerArgs>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Create generated-sources -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<mkdir dir="target/generated-sources"/>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<longModulepath>false</longModulepath>
|
|
<executable>xjc</executable>
|
|
<arguments>
|
|
<argument>-extension</argument>
|
|
<!--<argument>-XautoNameResolution</argument>-->
|
|
<argument>-encoding</argument>
|
|
<argument>utf-8</argument>
|
|
<!--<argument>-p</argument>-->
|
|
<!--<argument>ru.intercon.umms</argument>-->
|
|
<argument>-d</argument>
|
|
<argument>target/generated-sources</argument>
|
|
<argument>-catalog</argument>
|
|
<argument>src/main/resources/xsd/umms/catalog.cat</argument>
|
|
<argument>-b</argument>
|
|
<argument>src/main/resources/xsd/umms/bindings.xjb</argument>
|
|
<!-- Hotel -->
|
|
<argument>src/main/resources/xsd/umms/hotel/core-correction.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/hotel.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/hotel-form5.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/hotel-response.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/migration-staying.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/migration-staying-edit.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/hotel/migration-staying-unreg.xsd</argument>
|
|
<!-- Migration app -->
|
|
<argument>src/main/resources/xsd/umms/app/migration-staying-app.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/migration-staying-unreg-app.xsd</argument>
|
|
<!-- App -->
|
|
<argument>src/main/resources/xsd/umms/app/labormigration-patent.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/payment.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/labormigration-patent-issuance.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/labormigration-patent-renewal.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/registration.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/registration-staying.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/registration-staying-unreg.xsd</argument>
|
|
<argument>src/main/resources/xsd/umms/app/response.xsd</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>target/generated-sources</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |