Set version to 0.5.0-SNAPSHOT. Add configuration to deploy to bintray. Update version number during Travis build.

This commit is contained in:
Alexey Andreev 2017-02-16 21:37:42 +03:00
parent 7b6013992c
commit 55453c9311
45 changed files with 97 additions and 50 deletions

View File

@ -10,6 +10,10 @@ branches:
- /^release-.+$/
env:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
before_install:
- OLD_VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version`
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-build-$TRAVIS_BUILD_NUMBER
- mvn versions:set -DnewVersion=$NEW_VERSION
script: >
mvn -e test \
-Dteavm.junit.target=target/js-tests \
@ -17,5 +21,9 @@ script: >
-Dteavm.junit.js.threads=1 \
-Dteavm.junit.optimized=true \
-Dteavm.junit.minified=true
after_success: >
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ]; then
mvn deploy --settings travis-settings.xml -P deploy-to-bintray
fi
after_script:
- rm -rf $HOME/.m2/repository/org/teavm

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-classlib</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-core</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-extras-slf4j</artifactId>

View File

@ -19,7 +19,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-html4j</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-interop</artifactId>

View File

@ -20,7 +20,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-jso-apis</artifactId>

View File

@ -20,7 +20,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-jso</artifactId>

View File

@ -20,7 +20,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-jso-impl</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-metaprogramming-api</artifactId>

View File

@ -21,7 +21,7 @@
<parent>
<artifactId>teavm</artifactId>
<groupId>org.teavm</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-platform</artifactId>

13
pom.xml
View File

@ -20,7 +20,7 @@
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>TeaVM</name>
@ -319,5 +319,16 @@
</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-preview/teavm/;publish=1</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>

View File

@ -19,7 +19,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-async</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-benchmark</artifactId>
<packaging>war</packaging>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-hello</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-kotlin</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-storage</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-samples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-samples-video</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-tests</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-chrome-rdp</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-cli</artifactId>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-tooling</artifactId>

View File

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TeaVM plugin for Eclipse
Bundle-SymbolicName: teavm-eclipse-core-plugin;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.5.0.qualifier
Bundle-Vendor: Alexey Andreev <konsoletyper@gmail.com>
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ClassPath: .,
@ -37,9 +37,9 @@ Bundle-ClassPath: .,
lib/org.apache.aries.spifly.weaver-internal-1.0.1.jar,
lib/org.apache.aries.util-1.0.0.jar,
lib/slf4j-api-1.7.7.jar,
lib/teavm-chrome-rdp-1.0.0-SNAPSHOT.jar,
lib/teavm-core-1.0.0-SNAPSHOT.jar,
lib/teavm-tooling-1.0.0-SNAPSHOT.jar,
lib/teavm-chrome-rdp-0.5.0-SNAPSHOT.jar,
lib/teavm-core-0.5.0-SNAPSHOT.jar,
lib/teavm-tooling-0.5.0-SNAPSHOT.jar,
lib/websocket-api-9.2.1.v20140609.jar,
lib/websocket-client-9.2.1.v20140609.jar,
lib/websocket-common-9.2.1.v20140609.jar,

View File

@ -34,9 +34,9 @@ bin.includes = META-INF/,\
lib/org.apache.aries.spifly.weaver-internal-1.0.1.jar,\
lib/org.apache.aries.util-1.0.0.jar,\
lib/slf4j-api-1.7.7.jar,\
lib/teavm-chrome-rdp-1.0.0-SNAPSHOT.jar,\
lib/teavm-core-1.0.0-SNAPSHOT.jar,\
lib/teavm-tooling-1.0.0-SNAPSHOT.jar,\
lib/teavm-chrome-rdp-0.5.0-SNAPSHOT.jar,\
lib/teavm-core-0.5.0-SNAPSHOT.jar,\
lib/teavm-tooling-0.5.0-SNAPSHOT.jar,\
lib/websocket-api-9.2.1.v20140609.jar,\
lib/websocket-client-9.2.1.v20140609.jar,\
lib/websocket-common-9.2.1.v20140609.jar,\

View File

@ -19,7 +19,7 @@
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse-core-deps</artifactId>
<version><!-- update -->1.0.0-SNAPSHOT</version>
<version><!-- update -->0.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>TeaVM dependencies for Eclipse plugin</name>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-core-plugin</artifactId>
<packaging>eclipse-plugin</packaging>

View File

@ -2,7 +2,7 @@
<feature
id="teavm-eclipse-feature"
label="TeaVM Eclipse support"
version="1.0.0.qualifier"
version="0.5.0.qualifier"
provider-name="Alexey Andreev &lt;konsoletyper@gmail.com&gt;">
<description url="http://www.example.com/description">
@ -233,14 +233,14 @@
id="teavm-eclipse-plugin"
download-size="0"
install-size="0"
version="1.0.0.qualifier"
version="0.5.0.qualifier"
unpack="false"/>
<plugin
id="teavm-eclipse-core-plugin"
download-size="0"
install-size="0"
version="1.0.0.qualifier"
version="0.5.0.qualifier"
unpack="false"/>
</feature>

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-feature</artifactId>

View File

@ -2,7 +2,7 @@
<feature
id="teavm-eclipse-m2e-feature"
label="TeaVM maven configuration support"
version="1.0.0.qualifier"
version="0.5.0.qualifier"
provider-name="Alexey Andreev &lt;konsoletyper@gmail.com&gt;">
<description url="http://www.example.com/description">

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-m2e-feature</artifactId>

View File

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TeaVM plugin for m2e
Bundle-SymbolicName: teavm-eclipse-m2e-plugin;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.5.0.qualifier
Bundle-Vendor: Alexey Andreev <konsoletyper@gmail.com>
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: teavm-eclipse-plugin;bundle-version="0.0.0",

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-m2e-plugin</artifactId>

View File

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TeaVM plugin for Eclipse
Bundle-SymbolicName: teavm-eclipse-plugin;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 0.5.0.qualifier
Bundle-Vendor: Alexey Andreev <konsoletyper@gmail.com>
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-Activator: org.teavm.eclipse.TeaVMEclipsePlugin

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-plugin</artifactId>

View File

@ -20,7 +20,7 @@
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<name>TeaVM Eclipse integration</name>
<description>Aggregate project containing all plugins for integration TeaVM with Eclipse</description>

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-updatesite</artifactId>

View File

@ -21,7 +21,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../../..</relativePath>
</parent>
<packaging>pom</packaging>

View File

@ -20,7 +20,7 @@
<parent>
<artifactId>teavm</artifactId>
<groupId>org.teavm</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-maven</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>teavm-maven</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-maven</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>
<artifactId>teavm-maven-webapp</artifactId>
<name>TeaVM maven web application archetype</name>

28
travis-settings.xml Normal file
View File

@ -0,0 +1,28 @@
<!--
~ Copyright 2017 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.
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>bintray-teavm</id>
<username>${env.BINTRAY_LOGIN}</username>
<password>${env.BINTRAY_API_KEY}</password>
</server>
</servers>
</settings>