pom.xml 3.9 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
K
kohsuke 已提交
2
<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">
3
  <modelVersion>4.0.0</modelVersion>
4

5
  <parent>
6
    <groupId>org.jenkins-ci.main</groupId>
7
    <artifactId>pom</artifactId>
8
    <version>2.66</version>
9
  </parent>
10

11
  <artifactId>cli</artifactId>
12

13 14
  <name>Jenkins cli</name>
  <description>Command line interface for Jenkins</description>
15

16
  <dependencies>
17 18 19 20 21 22 23 24 25 26
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-api-mockito</artifactId>
      <scope>test</scope>
    </dependency>
27 28 29 30
    <dependency>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-annotation</artifactId>
    </dependency>
31 32 33 34 35
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>
36 37 38 39
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>
40 41 42
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>remoting</artifactId>
43
      <!-- specified in the parent -->
44 45 46
    </dependency>
    <dependency>
      <groupId>junit</groupId>
J
Jesse Glick 已提交
47
      <artifactId>junit</artifactId>
48 49 50 51 52
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
53
      <version>1.24</version>
54 55
    </dependency>
    <dependency>
56 57
      <groupId>org.apache.sshd</groupId>
      <artifactId>sshd-core</artifactId>
58
      <version>1.2.0</version> <!-- TODO 1.3.0 requires Java 8 -->
59 60 61 62
      <optional>true</optional> <!-- do not expose to core -->
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
63
      <artifactId>slf4j-jdk14</artifactId>
64 65 66
      <optional>true</optional> <!-- ditto -->
    </dependency>
    <dependency> <!-- TODO remove and replace PrivateKeyProvider with SecurityUtils.createFileKeyPairProvider() as in SshClient -->
67
      <groupId>org.jenkins-ci</groupId>
68
      <artifactId>trilead-ssh2</artifactId>
69
      <version>build214-jenkins-1</version>
70 71 72
    </dependency>
  </dependencies>

73 74 75 76
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
77
        <!-- version specified in grandparent pom -->
78 79 80 81 82 83 84 85 86 87 88 89
        <executions>
          <execution>
            <goals>
              <goal>attached</goal>
            </goals>
            <phase>package</phase>
            <configuration>
              <descriptorId>jar-with-dependencies</descriptorId>
              <archive>
                <manifest>
                  <mainClass>hudson.cli.CLI</mainClass>
                </manifest>
90 91 92
                <manifestEntries>
                  <Jenkins-CLI-Version>${build.version}</Jenkins-CLI-Version>
                </manifestEntries>
93 94 95 96 97
              </archive>
            </configuration>
          </execution>
        </executions>
      </plugin>
K
kohsuke 已提交
98 99 100
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
101
        <!-- version specified in grandparent pom -->
K
kohsuke 已提交
102 103 104 105 106 107 108 109
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
110
              <accessModifierAnnotations>true</accessModifierAnnotations>
K
kohsuke 已提交
111 112 113 114
            </configuration>
          </execution>
        </executions>
      </plugin>
115 116 117 118
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>
119 120
    </plugins>
  </build>
121
</project>