mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-31 12:24:10 -08:00
Developing set-version script
This commit is contained in:
parent
4c4d236653
commit
697bc5ec6c
6
pom.xml
6
pom.xml
|
@ -311,11 +311,5 @@
|
||||||
<module>teavm-samples</module>
|
<module>teavm-samples</module>
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
|
||||||
<id>enable-eclipse</id>
|
|
||||||
<modules>
|
|
||||||
<module>tools/eclipse</module>
|
|
||||||
</modules>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -2,7 +2,15 @@
|
||||||
|
|
||||||
mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
||||||
pushd tools/eclipse
|
pushd tools/eclipse
|
||||||
mvn tycho-versions:set-version -DnewVersion=$1
|
mvn org.eclipse.tycho:tycho-versions-plugin:0.21.0:set-version -DnewVersion=$1
|
||||||
cd core-plugin
|
|
||||||
|
pushd core-plugin
|
||||||
mvn -f dep-pom.xml versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
mvn -f dep-pom.xml versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
||||||
|
sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" build.properties
|
||||||
|
sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd m2e-plugin
|
||||||
|
sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml
|
||||||
|
popd
|
||||||
popd
|
popd
|
|
@ -17,17 +17,17 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<groupId>org.teavm</groupId>
|
||||||
<groupId>org.teavm</groupId>
|
|
||||||
<artifactId>teavm</artifactId>
|
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
|
||||||
<relativePath>../..</relativePath>
|
|
||||||
</parent>
|
|
||||||
<artifactId>teavm-eclipse-core-deps</artifactId>
|
<artifactId>teavm-eclipse-core-deps</artifactId>
|
||||||
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>TeaVM dependencies for Eclipse plugin</name>
|
<name>TeaVM dependencies for Eclipse plugin</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<jetty.version>9.2.1.v20140609</jetty.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.interceptor</groupId>
|
<groupId>javax.interceptor</groupId>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<pluginExecutionFilter>
|
<pluginExecutionFilter>
|
||||||
<groupId>org.teavm</groupId>
|
<groupId>org.teavm</groupId>
|
||||||
<artifactId>teavm-maven-plugin</artifactId>
|
<artifactId>teavm-maven-plugin</artifactId>
|
||||||
<versionRange>1.0.0.qualifier</versionRange>
|
<versionRange>0.0.0</versionRange>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>compile</goal>
|
<goal>compile</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
@ -17,14 +17,10 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<groupId>org.teavm</groupId>
|
||||||
<groupId>org.teavm</groupId>
|
|
||||||
<artifactId>teavm</artifactId>
|
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
|
||||||
<relativePath>../..</relativePath>
|
|
||||||
</parent>
|
|
||||||
<artifactId>teavm-eclipse</artifactId>
|
<artifactId>teavm-eclipse</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<name>TeaVM Eclipse integration</name>
|
<name>TeaVM Eclipse integration</name>
|
||||||
<description>Aggregate project containing all plugins for integration TeaVM with Eclipse</description>
|
<description>Aggregate project containing all plugins for integration TeaVM with Eclipse</description>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user