|
| 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/xsd/maven-4.0.0.xsd"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + <groupId>com.oanda.v20</groupId> |
| 4 | + <artifactId>v20</artifactId> |
| 5 | + <version>3.0.13</version> |
| 6 | + |
| 7 | + <packaging>jar</packaging> |
| 8 | + |
| 9 | + <properties> |
| 10 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 11 | + </properties> |
| 12 | + |
| 13 | + <name>v20 client libraries</name> |
| 14 | + <description>The Java reference implementation of the v20 API</description> |
| 15 | + <url>https://github.com/oanda/v20-java</url> |
| 16 | + |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>The MIT License (MIT)</name> |
| 20 | + <url>https://github.com/oanda/v20-java/blob/master/LICENSE.txt</url> |
| 21 | + </license> |
| 22 | + </licenses> |
| 23 | + |
| 24 | + <organization> |
| 25 | + <name>OANDA Corporation</name> |
| 26 | + <url>https://www.oanda.com</url> |
| 27 | + </organization> |
| 28 | + |
| 29 | + <developers> |
| 30 | + <developer> |
| 31 | + <id>oanda-api</id> |
| 32 | + <name>OANDA API</name> |
| 33 | + |
| 34 | + <roles> |
| 35 | + <role>architect</role> |
| 36 | + <role>developer</role> |
| 37 | + </roles> |
| 38 | + </developer> |
| 39 | + </developers> |
| 40 | + |
| 41 | + <scm> |
| 42 | + <connection>https://github.com/oanda/v20-java.git</connection> |
| 43 | + <developerConnection>https://github.com/oanda/v20-java.git</developerConnection> |
| 44 | + <tag>3.0.13</tag> |
| 45 | + <url>https://github.com/oanda/v20-java</url> |
| 46 | + </scm> |
| 47 | + |
| 48 | + <distributionManagement> |
| 49 | + <snapshotRepository> |
| 50 | + <id>ossrh</id> |
| 51 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 52 | + </snapshotRepository> |
| 53 | + </distributionManagement> |
| 54 | + |
| 55 | + <build> |
| 56 | + <sourceDirectory>src</sourceDirectory> |
| 57 | + <testSourceDirectory>test</testSourceDirectory> |
| 58 | + <resources> |
| 59 | + <resource> |
| 60 | + <directory>src</directory> |
| 61 | + <excludes> |
| 62 | + <exclude>**/*.java</exclude> |
| 63 | + </excludes> |
| 64 | + </resource> |
| 65 | + </resources> |
| 66 | + |
| 67 | + <plugins> |
| 68 | + <plugin> |
| 69 | + <artifactId>maven-compiler-plugin</artifactId> |
| 70 | + <version>3.1</version> |
| 71 | + <configuration> |
| 72 | + <source>1.7</source> |
| 73 | + <target>1.7</target> |
| 74 | + </configuration> |
| 75 | + </plugin> |
| 76 | + |
| 77 | + <plugin> |
| 78 | + <groupId>org.sonatype.plugins</groupId> |
| 79 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 80 | + <version>1.6.7</version> |
| 81 | + <extensions>true</extensions> |
| 82 | + <configuration> |
| 83 | + <serverId>ossrh</serverId> |
| 84 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 85 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 86 | + </configuration> |
| 87 | + </plugin> |
| 88 | + </plugins> |
| 89 | + </build> |
| 90 | + |
| 91 | + <dependencies> |
| 92 | + <dependency> |
| 93 | + <groupId>com.google.code.gson</groupId> |
| 94 | + <artifactId>gson</artifactId> |
| 95 | + <version>2.7</version> |
| 96 | + </dependency> |
| 97 | + <dependency> |
| 98 | + <groupId>org.apache.httpcomponents</groupId> |
| 99 | + <artifactId>httpclient</artifactId> |
| 100 | + <version>4.3.5</version> |
| 101 | + </dependency> |
| 102 | + </dependencies> |
| 103 | + |
| 104 | + <profiles> |
| 105 | + <profile> |
| 106 | + <id>release</id> |
| 107 | + <build> |
| 108 | + <plugins> |
| 109 | + <plugin> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-source-plugin</artifactId> |
| 112 | + <version>2.2.1</version> |
| 113 | + <executions> |
| 114 | + <execution> |
| 115 | + <id>attach-sources</id> |
| 116 | + <goals> |
| 117 | + <goal>jar-no-fork</goal> |
| 118 | + </goals> |
| 119 | + </execution> |
| 120 | + </executions> |
| 121 | + </plugin> |
| 122 | + |
| 123 | + <plugin> |
| 124 | + <groupId>org.apache.maven.plugins</groupId> |
| 125 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 126 | + <version>2.9.1</version> |
| 127 | + <executions> |
| 128 | + <execution> |
| 129 | + <id>attach-javadocs</id> |
| 130 | + <goals> |
| 131 | + <goal>jar</goal> |
| 132 | + </goals> |
| 133 | + </execution> |
| 134 | + </executions> |
| 135 | + </plugin> |
| 136 | + |
| 137 | + <plugin> |
| 138 | + <groupId>org.apache.maven.plugins</groupId> |
| 139 | + <artifactId>maven-gpg-plugin</artifactId> |
| 140 | + <version>1.5</version> |
| 141 | + <executions> |
| 142 | + <execution> |
| 143 | + <id>sign-artifacts</id> |
| 144 | + <phase>verify</phase> |
| 145 | + <goals> |
| 146 | + <goal>sign</goal> |
| 147 | + </goals> |
| 148 | + </execution> |
| 149 | + </executions> |
| 150 | + </plugin> |
| 151 | + </plugins> |
| 152 | + </build> |
| 153 | + </profile> |
| 154 | + |
| 155 | + <profile> |
| 156 | + <id>alternateBuildDir</id> |
| 157 | + <activation> |
| 158 | + <property> |
| 159 | + <name>alt.build.dir</name> |
| 160 | + </property> |
| 161 | + </activation> |
| 162 | + <build> |
| 163 | + <directory>${alt.build.dir}</directory> |
| 164 | + </build> |
| 165 | + </profile> |
| 166 | + |
| 167 | + </profiles> |
| 168 | + |
| 169 | +</project> |
0 commit comments