{
  "sha": "4f260c560ec120f4e2c2ed727244690b1f4d5dca",
  "node_id": "MDY6Q29tbWl0MTU0ODUxNDo0ZjI2MGM1NjBlYzEyMGY0ZTJjMmVkNzI3MjQ0NjkwYjFmNGQ1ZGNh",
  "commit": {
    "author": {
      "name": "Jeff Thompson",
      "email": "jeffret.g@gmail.com",
      "date": "2019-02-18T22:52:29Z"
    },
    "committer": {
      "name": "Jeff Thompson",
      "email": "jeffret.g@gmail.com",
      "date": "2019-02-18T22:52:29Z"
    },
    "message": "Enable incrementals.\n\nSince this isn't a plugin, I followed the instructions to do it the hard way. Hopefully it's not too weird to work.",
    "tree": {
      "sha": "575f9abb94a915cfc9fb0fdcc681648aade5cd1f",
      "url": "https://api.github.com/repos/stapler/stapler/git/trees/575f9abb94a915cfc9fb0fdcc681648aade5cd1f"
    },
    "url": "https://api.github.com/repos/stapler/stapler/git/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca",
    "comment_count": 0,
    "verification": {
      "verified": false,
      "reason": "unsigned",
      "signature": null,
      "payload": null
    }
  },
  "url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca",
  "html_url": "https://github.com/stapler/stapler/commit/4f260c560ec120f4e2c2ed727244690b1f4d5dca",
  "comments_url": "https://api.github.com/repos/stapler/stapler/commits/4f260c560ec120f4e2c2ed727244690b1f4d5dca/comments",
  "author": {
    "login": "jeffret-b",
    "id": 37345299,
    "node_id": "MDQ6VXNlcjM3MzQ1Mjk5",
    "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/jeffret-b",
    "html_url": "https://github.com/jeffret-b",
    "followers_url": "https://api.github.com/users/jeffret-b/followers",
    "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}",
    "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions",
    "organizations_url": "https://api.github.com/users/jeffret-b/orgs",
    "repos_url": "https://api.github.com/users/jeffret-b/repos",
    "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}",
    "received_events_url": "https://api.github.com/users/jeffret-b/received_events",
    "type": "User",
    "site_admin": false
  },
  "committer": {
    "login": "jeffret-b",
    "id": 37345299,
    "node_id": "MDQ6VXNlcjM3MzQ1Mjk5",
    "avatar_url": "https://avatars0.githubusercontent.com/u/37345299?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/jeffret-b",
    "html_url": "https://github.com/jeffret-b",
    "followers_url": "https://api.github.com/users/jeffret-b/followers",
    "following_url": "https://api.github.com/users/jeffret-b/following{/other_user}",
    "gists_url": "https://api.github.com/users/jeffret-b/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/jeffret-b/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/jeffret-b/subscriptions",
    "organizations_url": "https://api.github.com/users/jeffret-b/orgs",
    "repos_url": "https://api.github.com/users/jeffret-b/repos",
    "events_url": "https://api.github.com/users/jeffret-b/events{/privacy}",
    "received_events_url": "https://api.github.com/users/jeffret-b/received_events",
    "type": "User",
    "site_admin": false
  },
  "parents": [
    {
      "sha": "a019ca42d01dbe7d88f56deade245d7c0366624c",
      "url": "https://api.github.com/repos/stapler/stapler/commits/a019ca42d01dbe7d88f56deade245d7c0366624c",
      "html_url": "https://github.com/stapler/stapler/commit/a019ca42d01dbe7d88f56deade245d7c0366624c"
    }
  ],
  "stats": {
    "total": 154,
    "additions": 152,
    "deletions": 2
  },
  "files": [
    {
      "sha": "db1d854113d1361cc67d6eba8055554eb1f2e414",
      "filename": ".mvn/extensions.xml",
      "status": "added",
      "additions": 7,
      "deletions": 0,
      "changes": 7,
      "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml",
      "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/extensions.xml",
      "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/extensions.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca",
      "patch": "@@ -0,0 +1,7 @@\n+<extensions xmlns=\"http://maven.apache.org/EXTENSIONS/1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd\">\n+  <extension>\n+    <groupId>io.jenkins.tools.incrementals</groupId>\n+    <artifactId>git-changelist-maven-extension</artifactId>\n+    <version>1.0-beta-2</version>\n+  </extension>\n+</extensions>"
    },
    {
      "sha": "2a0299c4865d58b47a576f7effc4a15f3fcf4ee9",
      "filename": ".mvn/maven.config",
      "status": "added",
      "additions": 2,
      "deletions": 0,
      "changes": 2,
      "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config",
      "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/.mvn/maven.config",
      "contents_url": "https://api.github.com/repos/stapler/stapler/contents/.mvn/maven.config?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca",
      "patch": "@@ -0,0 +1,2 @@\n+-Pconsume-incrementals\n+-Pmight-produce-incrementals"
    },
    {
      "sha": "262410bec1cd8e5c2bb839cf193e8abdf2fc7fbf",
      "filename": "pom.xml",
      "status": "modified",
      "additions": 143,
      "deletions": 2,
      "changes": 145,
      "blob_url": "https://github.com/stapler/stapler/blob/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml",
      "raw_url": "https://github.com/stapler/stapler/raw/4f260c560ec120f4e2c2ed727244690b1f4d5dca/pom.xml",
      "contents_url": "https://api.github.com/repos/stapler/stapler/contents/pom.xml?ref=4f260c560ec120f4e2c2ed727244690b1f4d5dca",
      "patch": "@@ -9,7 +9,7 @@\n   <groupId>org.kohsuke.stapler</groupId>\n   <artifactId>stapler-parent</artifactId>\n   <packaging>pom</packaging>\n-  <version>1.257-SNAPSHOT</version>\n+  <version>${revision}${changelist}</version>\n \n   <name>Stapler</name>\n   <description>Stapler HTTP request handling engine</description>\n@@ -37,7 +37,7 @@\n     <connection>scm:git:git://github.com/stapler/stapler.git</connection>\n     <developerConnection>scm:git:ssh://git@github.com/stapler/stapler.git</developerConnection>\n     <url>https://github.com/stapler/stapler</url>\n-    <tag>HEAD</tag>\n+    <tag>${scmTag}</tag>\n   </scm>\n \n   <prerequisites>\n@@ -84,6 +84,10 @@\n   <properties>\n     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\n     <java.level>8</java.level>\n+    <revision>1.257</revision>\n+    <changelist>-SNAPSHOT</changelist>\n+    <incrementals.url>https://repo.jenkins-ci.org/incrementals/</incrementals.url>\n+    <scmTag>HEAD</scmTag>\n   </properties>\n \n   <build>\n@@ -281,4 +285,141 @@\n     </dependency>\n   </dependencies>\n   </dependencyManagement>\n+\n+  <profiles>\n+    <profile>\n+      <!-- JEP-305 -->\n+      <id>consume-incrementals</id>\n+      <repositories>\n+        <repository>\n+          <id>incrementals</id>\n+          <url>${incrementals.url}</url>\n+          <snapshots>\n+            <enabled>false</enabled>\n+          </snapshots>\n+        </repository>\n+      </repositories>\n+      <pluginRepositories>\n+        <pluginRepository>\n+          <id>incrementals</id>\n+          <url>${incrementals.url}</url>\n+          <snapshots>\n+            <enabled>false</enabled>\n+          </snapshots>\n+        </pluginRepository>\n+      </pluginRepositories>\n+    </profile>\n+    <profile>\n+      <id>might-produce-incrementals</id>\n+      <build>\n+        <plugins>\n+          <plugin>\n+            <groupId>org.codehaus.mojo</groupId>\n+            <artifactId>flatten-maven-plugin</artifactId>\n+            <version>1.0.1</version>\n+            <configuration>\n+              <updatePomFile>true</updatePomFile>\n+            </configuration>\n+            <executions>\n+              <execution>\n+                <id>flatten</id>\n+                <phase>process-resources</phase>\n+                <goals>\n+                  <goal>flatten</goal>\n+                </goals>\n+                <configuration>\n+                  <flattenMode>oss</flattenMode>\n+                  <outputDirectory>${project.build.directory}</outputDirectory>\n+                  <flattenedPomFilename>${project.artifactId}-${project.version}.pom</flattenedPomFilename>\n+                </configuration>\n+              </execution>\n+            </executions>\n+          </plugin>\n+          <plugin>\n+            <artifactId>maven-enforcer-plugin</artifactId>\n+            <executions>\n+              <execution>\n+                <id>display-info</id>\n+                <configuration>\n+                  <rules>\n+                    <requireMavenVersion>\n+                      <version>[3.5.0,)</version>\n+                      <message>3.5.0+ required to use Incrementals.</message>\n+                    </requireMavenVersion>\n+                    <rule implementation=\"io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion\">\n+                      <version>[1.0-beta-4,)</version>\n+                    </rule>\n+                  </rules>\n+                </configuration>\n+              </execution>\n+            </executions>\n+            <dependencies>\n+              <dependency>\n+                <groupId>io.jenkins.tools.incrementals</groupId>\n+                <artifactId>incrementals-enforcer-rules</artifactId>\n+                <version>1.0-beta-4</version>\n+              </dependency>\n+            </dependencies>\n+          </plugin>\n+          <plugin>\n+            <artifactId>maven-release-plugin</artifactId>\n+            <configuration>\n+              <completionGoals>incrementals:reincrementalify</completionGoals>\n+            </configuration>\n+          </plugin>\n+        </plugins>\n+      </build>\n+    </profile>\n+    <profile>\n+      <id>produce-incrementals</id>\n+      <activation>\n+        <property>\n+          <name>set.changelist</name>\n+          <value>true</value>\n+        </property>\n+      </activation>\n+      <distributionManagement>\n+        <repository>\n+          <id>incrementals</id>\n+          <url>${incrementals.url}</url>\n+        </repository>\n+      </distributionManagement>\n+      <build>\n+        <plugins>\n+          <!-- Copied from jenkins-release: -->\n+          <plugin>\n+            <artifactId>maven-source-plugin</artifactId>\n+            <executions>\n+              <execution>\n+                <id>attach-sources</id>\n+                <goals>\n+                  <goal>jar-no-fork</goal>\n+                </goals>\n+              </execution>\n+              <execution>\n+                <id>attach-test-sources</id>\n+                <goals>\n+                  <goal>test-jar-no-fork</goal>\n+                </goals>\n+                <configuration>\n+                  <skipSource>${no-test-jar}</skipSource>\n+                </configuration>\n+              </execution>\n+            </executions>\n+          </plugin>\n+          <plugin>\n+            <artifactId>maven-javadoc-plugin</artifactId>\n+            <executions>\n+              <execution>\n+                <id>attach-javadocs</id>\n+                <goals>\n+                  <goal>jar</goal>\n+                </goals>\n+              </execution>\n+            </executions>\n+          </plugin>\n+        </plugins>\n+      </build>\n+    </profile>\n+  </profiles>\n </project>"
    }
  ]
}