mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -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>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>enable-eclipse</id>
|
||||
<modules>
|
||||
<module>tools/eclipse</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
|
@ -2,7 +2,15 @@
|
|||
|
||||
mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
||||
pushd tools/eclipse
|
||||
mvn tycho-versions:set-version -DnewVersion=$1
|
||||
cd core-plugin
|
||||
mvn org.eclipse.tycho:tycho-versions-plugin:0.21.0:set-version -DnewVersion=$1
|
||||
|
||||
pushd core-plugin
|
||||
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
|
|
@ -17,17 +17,17 @@
|
|||
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.teavm</groupId>
|
||||
<artifactId>teavm</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm-eclipse-core-deps</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>TeaVM dependencies for Eclipse plugin</name>
|
||||
|
||||
<properties>
|
||||
<jetty.version>9.2.1.v20140609</jetty.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.interceptor</groupId>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<pluginExecutionFilter>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm-maven-plugin</artifactId>
|
||||
<versionRange>1.0.0.qualifier</versionRange>
|
||||
<versionRange>0.0.0</versionRange>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm-eclipse</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
|
||||
<name>TeaVM Eclipse integration</name>
|
||||
<description>Aggregate project containing all plugins for integration TeaVM with Eclipse</description>
|
||||
|
|
Loading…
Reference in New Issue
Block a user