mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
I was trying to add the flavor of the retrieve method that reads into an existing instance, when I realized that there are just too many orthogonal axes here to rely on overloaded methods. That calls for a builder pattern, which we already have --- it's called Poster, but it can actually already handle GET and other HTTP requests. So I'm retiring the retrieveXYZ methods and moving the code into Poster. This is the first step.
97 lines
2.8 KiB
XML
97 lines
2.8 KiB
XML
<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>
|
|
<parent>
|
|
<groupId>org.kohsuke</groupId>
|
|
<artifactId>pom</artifactId>
|
|
<version>3</version>
|
|
</parent>
|
|
|
|
<artifactId>github-api</artifactId>
|
|
<version>1.32-SNAPSHOT</version>
|
|
<name>GitHub API for Java</name>
|
|
<url>http://github-api.kohsuke.org/</url>
|
|
<description>GitHub API for Java</description>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com/kohsuke/${project.artifactId}.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/kohsuke/${project.artifactId}.git</developerConnection>
|
|
<url>http://${project.artifactId}.kohsuke.org/</url>
|
|
</scm>
|
|
|
|
<distributionManagement>
|
|
<site>
|
|
<id>github-pages</id>
|
|
<url>gitsite:git@github.com/kohsuke/${project.artifactId}.git</url>
|
|
</site>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.infradna.tool</groupId>
|
|
<artifactId>bridge-method-injector</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jvnet.hudson</groupId>
|
|
<artifactId>htmlunit</artifactId>
|
|
<version>2.6-hudson-2</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<!-- hides JDK DOM classes in Eclipse -->
|
|
<groupId>xml-apis</groupId>
|
|
<artifactId>xml-apis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
<version>1.9.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.infradna.tool</groupId>
|
|
<artifactId>bridge-method-annotation</artifactId>
|
|
<version>1.4</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.kohsuke.stapler</groupId>
|
|
<artifactId>stapler-jetty</artifactId>
|
|
<version>1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|