| CODENOTIFIER | HelpYou are not signed inSign in |
Project: JNA
Revision: 640
Author: twalljava
Date: 14 Aug 2008 10:33:01
Changes:add java.net maven repo plumbing
Files:| ... | ...@@ -67,6 +67,10 @@ | |
| 67 | 67 | <echo>Java version: ${java.version}, compatibility: ${compatibility}</echo> |
| 68 | 68 | <echo>JNA version ${jna.version}, native API version ${jni.version}</echo> |
| 69 | 69 | |
| 70 | <replaceregexp match="(<version>).*(</version>)" | |
| 71 | replace="\1${jna.version}\2" | |
| 72 | file="pom.xml"/> | |
| 73 | ||
| 70 | 74 | <condition property="jar.omitted" value="**/*jnidispatch*" else="jnilib-included"> |
| 71 | 75 | <isset property="omit-jnilib"/> |
| 72 | 76 | </condition> |
| ... | ...@@ -0,0 +1,66 @@ | |
| 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
| 4 | http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 5 | <modelVersion>4.0.0</modelVersion> | |
| 6 | <groupId>net.java.dev.jna</groupId> | |
| 7 | <artifactId>jna</artifactId> | |
| 8 | <packaging>jar</packaging> | |
| 9 | <version>3.0.5</version> | |
| 10 | <name>Java Native Access</name> | |
| 11 | ||
| 12 | <distributionManagement> | |
| 13 | <repository> | |
| 14 | <id>java.net-m2-repository</id> | |
| 15 | <url>java-net:/maven2-repository/trunk/www/repository/</url> | |
| 16 | </repository> | |
| 17 | </distributionManagement> | |
| 18 | ||
| 19 | <build> | |
| 20 | <plugins> | |
| 21 | <!-- fake out maven and install the binary artifact --> | |
| 22 | <plugin> | |
| 23 | <groupId>org.jvnet.maven-antrun-extended-plugin</groupId> | |
| 24 | <artifactId>maven-antrun-extended-plugin</artifactId> | |
| 25 | <executions> | |
| 26 | <execution> | |
| 27 | <phase>package</phase> | |
| 28 | <goals> | |
| 29 | <goal>run</goal> | |
| 30 | </goals> | |
| 31 | <configuration> | |
| 32 | <tasks> | |
| 33 | <!--<ant dir="." target="dist" />--> | |
| 34 | <attachArtifact file="dist/jna.jar" /> | |
| 35 | <attachArtifact file="dist/src-full.zip" classifier="sources" type="jar"/> | |
| 36 | </tasks> | |
| 37 | </configuration> | |
| 38 | </execution> | |
| 39 | </executions> | |
| 40 | </plugin> | |
| 41 | </plugins> | |
| 42 | <extensions> | |
| 43 | <extension> | |
| 44 | <groupId>org.jvnet.wagon-svn</groupId> | |
| 45 | <artifactId>wagon-svn</artifactId> | |
| 46 | <version>1.8</version> | |
| 47 | </extension> | |
| 48 | </extensions> | |
| 49 | </build> | |
| 50 | ||
| 51 | <repositories> | |
| 52 | <repository> | |
| 53 | <id>maven2-repository.dev.java.net</id> | |
| 54 | <name>Java.net Repository for Maven</name> | |
| 55 | <url>http://download.java.net/maven/2/</url> | |
| 56 | </repository> | |
| 57 | </repositories> | |
| 58 | ||
| 59 | <pluginRepositories> | |
| 60 | <pluginRepository> | |
| 61 | <id>maven2-repository.dev.java.net</id> | |
| 62 | <name>Java.net Repository for Maven</name> | |
| 63 | <url>http://download.java.net/maven/2/</url> | |
| 64 | </pluginRepository> | |
| 65 | </pluginRepositories> | |
| 66 | </project> | |
| 0 | 67 | \ No newline at end of file |