mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-23 11:05:48 +01:00
added ant task to install Vault.jar into local maven repository
This commit is contained in:
parent
79c2dd39b4
commit
f4c53f70c9
12
build.xml
12
build.xml
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project default="main">
|
||||
<project default="main" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
|
||||
|
||||
<property environment="env"/>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
</path>
|
||||
|
||||
<target name="main" depends="clean, compile, compress, javadoc" description="Main target">
|
||||
<target name="main" depends="clean, compile, compress, maven, javadoc" description="Main target">
|
||||
<echo>Building the .jar file.</echo>
|
||||
</target>
|
||||
|
||||
@ -56,4 +56,12 @@
|
||||
</bottom>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<target name ="maven" depends="compress">
|
||||
<artifact:install file="Vault.jar" pomRefId="maven_pom"/>
|
||||
</target>
|
||||
|
||||
<artifact:pom id="maven_pom" file="pom.xml"/>
|
||||
<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.3.jar" />
|
||||
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" />
|
||||
</project>
|
||||
|
BIN
lib/maven-ant-tasks-2.1.3.jar
Normal file
BIN
lib/maven-ant-tasks-2.1.3.jar
Normal file
Binary file not shown.
10
pom.xml
Normal file
10
pom.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<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>net.milkbowl.vault</groupId>
|
||||
<artifactId>Vault</artifactId>
|
||||
<version>1.1.0dev</version>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user