mirror of
https://github.com/maxkratz/fastutil.git
synced 2024-09-16 11:58:09 +00:00
Fixed for Java 17
This commit is contained in:
parent
d6c4cffd9a
commit
0fda8c3874
1 changed files with 7 additions and 31 deletions
38
build.xml
38
build.xml
|
@ -1,5 +1,4 @@
|
|||
<project name="fastutil" default="jar" basedir="."
|
||||
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
|
||||
<project name="fastutil" default="jar" basedir=".">
|
||||
|
||||
<property name="build.sysclasspath" value="ignore"/>
|
||||
<property file="build.properties"/>
|
||||
|
@ -114,19 +113,9 @@
|
|||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="deploy-core" depends="pom-core,dist-core" description="deploy core snapshot version to Maven snapshot repository (core)">
|
||||
<artifact:mvn>
|
||||
<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
|
||||
<arg value="-Durl=${maven-snapshots-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-snapshots-repository-id}" />
|
||||
<arg value="-DpomFile=${build}/pom-core.xml" />
|
||||
<arg value="-Dfile=${maven-core-jar}" />
|
||||
</artifact:mvn>
|
||||
</target>
|
||||
|
||||
<target name="stage-core" depends="pom-core,dist-core" description="deploy core release version to Maven staging repository (core)">
|
||||
<!-- sign and deploy the main artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -136,7 +125,7 @@
|
|||
</artifact:mvn>
|
||||
|
||||
<!-- sign and deploy the sources artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -147,7 +136,7 @@
|
|||
</artifact:mvn>
|
||||
|
||||
<!-- sign and deploy the javadoc artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -158,19 +147,9 @@
|
|||
</artifact:mvn>
|
||||
</target>
|
||||
|
||||
<target name="deploy" depends="pom,dist" description="deploy snapshot version to Maven snapshot repository">
|
||||
<artifact:mvn>
|
||||
<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
|
||||
<arg value="-Durl=${maven-snapshots-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-snapshots-repository-id}" />
|
||||
<arg value="-DpomFile=${build}/pom.xml" />
|
||||
<arg value="-Dfile=${maven-jar}" />
|
||||
</artifact:mvn>
|
||||
</target>
|
||||
|
||||
<target name="stage" depends="pom,dist" description="deploy release version to Maven staging repository">
|
||||
<!-- sign and deploy the main artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -180,7 +159,7 @@
|
|||
</artifact:mvn>
|
||||
|
||||
<!-- sign and deploy the sources artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -191,7 +170,7 @@
|
|||
</artifact:mvn>
|
||||
|
||||
<!-- sign and deploy the javadoc artifact -->
|
||||
<artifact:mvn>
|
||||
<artifact:mvn fork="true">
|
||||
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
|
||||
<arg value="-Durl=${maven-staging-repository-url}" />
|
||||
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
|
||||
|
@ -202,9 +181,6 @@
|
|||
</artifact:mvn>
|
||||
</target>
|
||||
|
||||
<target name="deploy-all" depends="deploy-core,deploy" description="deploy all release versions to Maven staging repository">
|
||||
</target>
|
||||
|
||||
<target name="stage-all" depends="stage-core,stage" description="stage all release versions to Maven staging repository">
|
||||
</target>
|
||||
<!-- ************************************** END OF MAVEN SH*T ************************************** -->
|
||||
|
|
Loading…
Reference in a new issue