| <?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.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-project</artifactId> |
| <version>1.2-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>idl2k</artifactId> |
| <version>1.2-SNAPSHOT</version> |
| |
| <properties> |
| <kotlin.version>${project.version}</kotlin.version> |
| <antlr.version>4.5.3</antlr.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-stdlib</artifactId> |
| <version>${kotlin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-runtime</artifactId> |
| <version>${antlr.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| <version>1.8.2</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
| <!--<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>--> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-maven-plugin</artifactId> |
| <version>${antlr.version}</version> |
| <executions> |
| <execution> |
| <id>antlr</id> |
| <goals> |
| <goal>antlr4</goal> |
| </goals> |
| <configuration> |
| <visitor>true</visitor> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>kotlin-maven-plugin</artifactId> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <version>${kotlin.version}</version> |
| |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| |
| <execution> |
| <id>test-compile</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>test-compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <id>download-idl</id> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>org.jetbrains.idl2k.dl.DlPackage</mainClass> |
| </configuration> |
| </execution> |
| <execution> |
| <id>idl2k</id> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>org.jetbrains.idl2k.Idl2kPackage</mainClass> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <workingDirectory>${project.basedir}</workingDirectory> |
| <classpathScope>compile</classpathScope> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |