teavm/pom.xml

397 lines
12 KiB
XML
Raw Normal View History

<?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">
2013-09-24 04:09:15 +08:00
<modelVersion>4.0.0</modelVersion>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
2017-06-20 01:50:19 +08:00
<version>0.6.0-SNAPSHOT</version>
2013-09-24 04:09:15 +08:00
<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>
2013-09-24 04:09:15 +08:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
<html4j.version>1.5</html4j.version>
2018-12-08 00:54:06 +08:00
<jetty.version>9.4.14.v20181114</jetty.version>
<slf4j.version>1.7.7</slf4j.version>
2015-10-09 22:56:38 +08:00
<jackson.version>2.6.2</jackson.version>
2018-10-25 18:15:28 +08:00
<idea.version>2017.3.5</idea.version>
<asm.version>7.1</asm.version>
2018-11-12 23:59:28 +08:00
<java.version>1.8</java.version>
<rhino.version>1.7.11</rhino.version>
2015-10-21 03:27:59 +08:00
<teavm.test.incremental>false</teavm.test.incremental>
<teavm.test.threads>1</teavm.test.threads>
<teavm.test.skip>true</teavm.test.skip>
2013-09-24 04:09:15 +08:00
</properties>
<modules>
<module>metaprogramming/api</module>
2016-08-20 22:04:21 +08:00
<module>interop/core</module>
2015-10-04 16:49:20 +08:00
<module>core</module>
<module>classlib</module>
<module>jso/core</module>
2015-10-04 17:08:01 +08:00
<module>jso/apis</module>
2015-10-04 16:49:20 +08:00
<module>jso/impl</module>
<module>html4j</module>
<module>platform</module>
2019-05-14 19:01:39 +08:00
<module>tools/c-incremental</module>
2015-10-09 22:56:38 +08:00
<module>tools/core</module>
2015-10-04 16:49:20 +08:00
<module>tools/maven</module>
<module>tools/chrome-rdp</module>
<module>tools/junit</module>
2018-12-08 00:54:06 +08:00
<module>tools/devserver</module>
2015-10-04 16:49:20 +08:00
<module>tests</module>
<module>extras-slf4j</module>
<module>metaprogramming/impl</module>
</modules>
2014-03-18 22:02:15 +08:00
<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>
2014-03-18 22:02:15 +08:00
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.3.3</version>
2014-03-18 22:02:15 +08:00
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.3</version>
2014-03-18 22:02:15 +08:00
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.3.3</version>
2014-03-18 22:02:15 +08:00
</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>
2015-10-09 22:56:38 +08:00
<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>
2014-03-18 22:02:15 +08:00
</dependencies>
</dependencyManagement>
2013-09-24 04:09:15 +08:00
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2018-11-12 23:59:28 +08:00
<version>3.8.0</version>
<configuration>
2018-11-12 23:59:28 +08:00
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2018-11-12 23:59:28 +08:00
<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>
<show>protected</show>
<failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
2018-03-29 03:54:55 +08:00
<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>
2014-06-06 22:18:52 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
2018-03-29 03:54:55 +08:00
<version>2.21.0</version>
2014-06-06 22:18:52 +08:00
</plugin>
2014-08-31 03:29:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.16</version>
2014-08-31 03:29:24 +08:00
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
2014-08-31 03:29:24 +08:00
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
2014-10-05 19:45:44 +08:00
<configuration>
<propertyExpansion>config_loc=${basedir}/..</propertyExpansion>
<configLocation>../checkstyle.xml</configLocation>
</configuration>
2014-08-31 03:29:24 +08:00
</plugin>
2015-09-10 17:11:37 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
2018-03-29 03:54:55 +08:00
<version>3.0.2</version>
2015-09-10 17:11:37 +08:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
</plugin>
</plugins>
</pluginManagement>
2013-09-24 04:09:15 +08:00
</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>
2017-11-10 01:10:15 +08:00
2017-02-19 01:18:17 +08:00
<profile>
<id>with-idea</id>
<modules>
<module>tools/idea</module>
</modules>
</profile>
2017-11-10 01:10:15 +08:00
<profile>
<id>with-eclipse</id>
<modules>
<module>tools/eclipse</module>
</modules>
</profile>
2017-02-19 01:18:17 +08:00
<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>
2017-02-17 03:55:30 +08:00
<url>https://api.bintray.com/maven/konsoletyper/teavm/teavm-dev/;publish=1</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>