|
| 1 | +<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"> |
| 2 | + |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <groupId>org.jnetpcap</groupId> |
| 6 | + <artifactId>jnetpcap</artifactId> |
| 7 | + <packaging>nar</packaging> |
| 8 | + <version>1.3.0</version> |
| 9 | + <name>jnetpcap</name> |
| 10 | + <description>Maven NAR Plugin Wrapper around jNetPcap</description> |
| 11 | + <url>http://jnetpcap.com/</url> |
| 12 | + |
| 13 | + <scm> |
| 14 | + <connection>scm:git:git://github.com/sugree/jnetpcap.git</connection> |
| 15 | + <developerConnection>scm:git:git://github.com/sugree/jnetpcap.git</developerConnection> |
| 16 | + <url>https://github.com/sugree/jnetpcap</url> |
| 17 | + </scm> |
| 18 | + |
| 19 | + <distributionManagement> |
| 20 | + <repository> |
| 21 | + <id>libs-release.vm0</id> |
| 22 | + <url>http://vm0.inox.co.th/artifactory/libs-release-local</url> |
| 23 | + </repository> |
| 24 | + </distributionManagement> |
| 25 | + |
| 26 | + <pluginRepositories> |
| 27 | + <pluginRepository> |
| 28 | + <id>plugins-snapshot.vm0</id> |
| 29 | + <url>http://vm0.inox.co.th/artifactory/plugins-snapshot-local</url> |
| 30 | + <snapshots> |
| 31 | + <enabled>true</enabled> |
| 32 | + </snapshots> |
| 33 | + </pluginRepository> |
| 34 | + </pluginRepositories> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>junit</groupId> |
| 39 | + <artifactId>junit</artifactId> |
| 40 | + <version>4.8.1</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + </dependencies> |
| 44 | + |
| 45 | + <build> |
| 46 | + <defaultGoal>integration-test</defaultGoal> |
| 47 | + |
| 48 | + <plugins> |
| 49 | + <plugin> |
| 50 | + <artifactId>maven-nar-plugin</artifactId> |
| 51 | + <version>2.1-SNAPSHOT</version> |
| 52 | + <extensions>true</extensions> |
| 53 | + <configuration> |
| 54 | + <libraries> |
| 55 | + <library> |
| 56 | + <type>jni</type> |
| 57 | + </library> |
| 58 | + </libraries> |
| 59 | + <linker> |
| 60 | + <name>g++</name> |
| 61 | + </linker> |
| 62 | + </configuration> |
| 63 | + </plugin> |
| 64 | + |
| 65 | + <plugin> |
| 66 | + <artifactId>maven-surefire-plugin</artifactId> |
| 67 | + <version>2.11</version> |
| 68 | + <configuration> |
| 69 | + <skip>true</skip> |
| 70 | + </configuration> |
| 71 | + </plugin> |
| 72 | + </plugins> |
| 73 | + </build> |
| 74 | + |
| 75 | + <profiles> |
| 76 | + <profile> |
| 77 | + <id>win32</id> |
| 78 | + <build> |
| 79 | + <plugins> |
| 80 | + <plugin> |
| 81 | + <artifactId>maven-nar-plugin</artifactId> |
| 82 | + <version>2.1-SNAPSHOT</version> |
| 83 | + <configuration> |
| 84 | + <os>Windows</os> |
| 85 | + <architecture>x86</architecture> |
| 86 | + </configuration> |
| 87 | + </plugin> |
| 88 | + </plugins> |
| 89 | + </build> |
| 90 | + </profile> |
| 91 | + |
| 92 | + <profile> |
| 93 | + <id>win64</id> |
| 94 | + <build> |
| 95 | + <plugins> |
| 96 | + <plugin> |
| 97 | + <artifactId>maven-nar-plugin</artifactId> |
| 98 | + <version>2.1-SNAPSHOT</version> |
| 99 | + <configuration> |
| 100 | + <os>Windows</os> |
| 101 | + <architecture>amd64</architecture> |
| 102 | + </configuration> |
| 103 | + </plugin> |
| 104 | + </plugins> |
| 105 | + </build> |
| 106 | + </profile> |
| 107 | + |
| 108 | + <profile> |
| 109 | + <id>linux32</id> |
| 110 | + <build> |
| 111 | + <plugins> |
| 112 | + <plugin> |
| 113 | + <artifactId>maven-nar-plugin</artifactId> |
| 114 | + <version>2.1-SNAPSHOT</version> |
| 115 | + <configuration> |
| 116 | + <os>Linux</os> |
| 117 | + <architecture>i386</architecture> |
| 118 | + </configuration> |
| 119 | + </plugin> |
| 120 | + </plugins> |
| 121 | + </build> |
| 122 | + </profile> |
| 123 | + |
| 124 | + <profile> |
| 125 | + <id>linux64</id> |
| 126 | + <build> |
| 127 | + <plugins> |
| 128 | + <plugin> |
| 129 | + <artifactId>maven-nar-plugin</artifactId> |
| 130 | + <version>2.1-SNAPSHOT</version> |
| 131 | + <configuration> |
| 132 | + <os>Linux</os> |
| 133 | + <architecture>amd64</architecture> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + </plugins> |
| 137 | + </build> |
| 138 | + </profile> |
| 139 | + </profiles> |
| 140 | +</project> |
0 commit comments