A target for deploying our artifacts to a local Maven repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2943 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -130,4 +130,20 @@
|
||||
<jar basedir="${gwtjar.dir}" destfile="${deploy.dir}/${lib.name}-gwt.jar"/>
|
||||
<delete dir="${gwtjar.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="maven-deploy" depends="dist"
|
||||
description="Deploys our build artifacts to a Maven repository.">
|
||||
<fail unless="maven.deploy.repo">
|
||||
You must specify the Maven Repository location via -Dmaven.deploy.repo=file:///path.
|
||||
</fail>
|
||||
<artifact:deploy file="${deploy.dir}/${lib.name}.jar">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="pom"/>
|
||||
</artifact:deploy>
|
||||
<artifact:pom id="gwt-pom" file="gwt-pom.xml"/>
|
||||
<artifact:deploy file="${deploy.dir}/${lib.name}-gwt.jar">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="gwt-pom"/>
|
||||
</artifact:deploy>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+14
@@ -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.samskivert</groupId>
|
||||
<artifactId>samskivert-gwt</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
<name>samskivert-gwt</name>
|
||||
<description>Source for classes that work with GWT.</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- none! -->
|
||||
</dependencies>
|
||||
</project>
|
||||
Reference in New Issue
Block a user