48 lines
1.7 KiB
XML
48 lines
1.7 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>
|
|
<parent>
|
|
<groupId>ru.kirillius</groupId>
|
|
<artifactId>XCP</artifactId>
|
|
<version>1.0.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>api-spec-generator</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ru.kirillius</groupId>
|
|
<artifactId>rpc</artifactId>
|
|
<version>1.0.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-spec</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
<configuration>
|
|
<mainClass>ru.kirillius.XCP.ApiGenerator.SpecGenerator</mainClass>
|
|
<arguments>
|
|
<argument>rpc/src/main/java</argument>
|
|
<argument>ru.kirillius.XCP.RPC.Services</argument>
|
|
<argument>api.spec.json</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |