mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-21 01:00:54 +08:00
407 lines
13 KiB
XML
407 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2014 Alexey Andreev.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<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>org.teavm</groupId>
|
|
<artifactId>teavm</artifactId>
|
|
<version>0.7.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>TeaVM</name>
|
|
<description>TeaVM aggregate project</description>
|
|
<url>http://teavm.org</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>A business-friendly OSS license</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>konsoletyper</id>
|
|
<name>Alexey Andreev</name>
|
|
<email>konsoletyper@gmail.com</email>
|
|
<timezone>+4</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<url>https://github.com/konsoletyper/teavm</url>
|
|
<connection>scm:git:git@github.com:konsoletyper/teavm.git</connection>
|
|
</scm>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>sonatype-nexus-snapshots</id>
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>sonatype-nexus-staging</id>
|
|
<name>Nexus Release Repository</name>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
|
|
<html4j.version>1.5</html4j.version>
|
|
<jetty.version>9.4.14.v20181114</jetty.version>
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
<jackson.version>2.6.2</jackson.version>
|
|
<idea.version>2018.2.8</idea.version>
|
|
<asm.version>7.2</asm.version>
|
|
<java.version>1.8</java.version>
|
|
<java-tests.version>11</java-tests.version>
|
|
<rhino.version>1.7.11</rhino.version>
|
|
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
|
|
|
<teavm.test.incremental>false</teavm.test.incremental>
|
|
<teavm.test.threads>1</teavm.test.threads>
|
|
<teavm.test.skip>true</teavm.test.skip>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>metaprogramming/api</module>
|
|
<module>interop/core</module>
|
|
<module>core</module>
|
|
<module>classlib</module>
|
|
<module>jso/core</module>
|
|
<module>jso/apis</module>
|
|
<module>jso/impl</module>
|
|
<module>html4j</module>
|
|
<module>platform</module>
|
|
<module>tools/c-incremental</module>
|
|
<module>tools/core</module>
|
|
<module>tools/maven</module>
|
|
<module>tools/chrome-rdp</module>
|
|
<module>tools/junit</module>
|
|
<module>tools/devserver</module>
|
|
<module>tests</module>
|
|
<module>extras-slf4j</module>
|
|
<module>metaprogramming/impl</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>net.java.html.boot</artifactId>
|
|
<version>${html4j.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>net.java.html.json.tck</artifactId>
|
|
<version>${html4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>ko4j</artifactId>
|
|
<version>${html4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-util</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
<version>3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-core</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-artifact</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.websocket</groupId>
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>${jetty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>javax-websocket-server-impl</artifactId>
|
|
<version>${jetty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
<version>${jetty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-client</artifactId>
|
|
<version>${jetty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mozilla</groupId>
|
|
<artifactId>rhino</artifactId>
|
|
<version>${rhino.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>build-javadoc</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>post-integration-test</phase>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<show>protected</show>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.21.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>true</failsOnError>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<propertyExpansion>config_loc=${basedir}/..</propertyExpansion>
|
|
<configLocation>../checkstyle.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>htmlUnit</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<systemProperties>
|
|
<teavm.junit.js.runner>htmlunit</teavm.junit.js.runner>
|
|
</systemProperties>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>with-samples</id>
|
|
<activation>
|
|
<property>
|
|
<name>teavm.build.all</name>
|
|
<value>!false</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>with-cli</id>
|
|
<modules>
|
|
<module>tools/cli</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>with-idea</id>
|
|
<modules>
|
|
<module>tools/idea</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>with-eclipse</id>
|
|
<modules>
|
|
<module>tools/eclipse</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>with-classlib-comparison</id>
|
|
<modules>
|
|
<module>tools/classlib-comparison-gen</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>sign-artifacts</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>deploy-to-bintray</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>bintray-teavm</id>
|
|
<name>Bintray Preview Repository</name>
|
|
<url>https://api.bintray.com/maven/konsoletyper/teavm/teavm-dev/;publish=1</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|