Pom of org.jenkins-ci.lib:pipeline-model-json-shaded:1.1.3

Back to org.jenkins-ci.lib:pipeline-model-json-shaded:1.1.3

<?xml version="1.0" encoding="UTF-8"?>
<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">
  <parent>
    <artifactId>pipeline-model-parent</artifactId>
    <groupId>org.jenkinsci.plugins</groupId>
    <version>1.1.3</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jenkins-ci.lib</groupId>
  <artifactId>pipeline-model-json-shaded</artifactId>
  <name>Pipeline: Model Shaded JSON Libraries</name>
  <description>Library plugin for Pipeline stage tag metadata</description>
  <url>https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Model+Definition+Plugin</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <id>shade</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>com.github.fge:*</include>
              <include>com.fasterxml*:*</include>
              <include>joda-time:joda-time:*</include>
              <include>com.google.guava:guava:*</include>
              <include>com.googlecode.libphonenumber:*</include>
              <include>org.mozilla:rhino:*</include>
              <include>javax.mail:mailapi:*</include>
              <include>org.json:json:*</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>com.fasterxml</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.com.fasterxml</shadedPattern>
            </relocation>
            <relocation>
              <pattern>org.joda</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.org.joda</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.google.common</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.com.google.common</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.google.i18n.phonenumbers</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.com.google.i18n.phonenumbers</shadedPattern>
            </relocation>
            <relocation>
              <pattern>org.json</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.org.json</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.github.fge</pattern>
              <shadedPattern>org.jenkinsci.plugins.pipeline.modeldefinition.shaded.com.github.fge</shadedPattern>
            </relocation>
          </relocations>
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>1.3.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.7</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
  </dependencies>
</project>