Added maven-deploy target and separate pom.xml for deploying the
getdown-pro.jar.
This commit is contained in:
@@ -182,4 +182,20 @@
|
||||
keystore="${sign.keystore}" storepass="${sign.storepass}"
|
||||
alias="${sign.alias}" keypass="${sign.keypass}"/>
|
||||
</target>
|
||||
|
||||
<target name="maven-deploy" depends="dist"
|
||||
description="Deploys our build artifacts to a Maven repository.">
|
||||
<fail unless="maven.deploy.repo">
|
||||
Must specify Maven repository with -Dmaven.deploy.repo=file://somepath
|
||||
</fail>
|
||||
<artifact:deploy file="${deploy.dir}/${lib.name}.jar" uniqueVersion="false">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="pom"/>
|
||||
</artifact:deploy>
|
||||
<artifact:pom id="proguard-pom" file="proguard-pom.xml"/>
|
||||
<artifact:deploy file="${deploy.dir}/${ant.project.name}-pro.jar" uniqueVersion="false">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="proguard-pom"/>
|
||||
</artifact:deploy>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.threerings</groupId>
|
||||
<artifactId>getdown-pro</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<name>getdown-pro</name>
|
||||
<description>A dependencies-included version of getdown.jar.</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- none! -->
|
||||
</dependencies>
|
||||
</project>
|
||||
Reference in New Issue
Block a user