pom.xml 3.8 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.50-SNAPSHOT</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 31
    <dependency>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-annotation</artifactId>
        <version>1.7</version>
    </dependency>
32 33 34 35 36 37 38 39
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>remoting</artifactId>
40
      <!-- specified in the parent -->
41 42 43
    </dependency>
    <dependency>
      <groupId>junit</groupId>
J
Jesse Glick 已提交
44
      <artifactId>junit</artifactId>
45 46 47 48 49
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
50
      <version>1.24</version>
51 52
    </dependency>
    <dependency>
53 54 55 56 57 58 59 60 61 62 63
      <groupId>org.apache.sshd</groupId>
      <artifactId>sshd-core</artifactId>
      <version>1.2.0</version> <!-- TODO 1.3.0 requires Java 8 -->
      <optional>true</optional> <!-- do not expose to core -->
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-nop</artifactId>
      <optional>true</optional> <!-- ditto -->
    </dependency>
    <dependency> <!-- TODO remove and replace PrivateKeyProvider with SecurityUtils.createFileKeyPairProvider() as in SshClient -->
64
      <groupId>org.jenkins-ci</groupId>
65
      <artifactId>trilead-ssh2</artifactId>
66
      <version>build214-jenkins-1</version>
67 68 69
    </dependency>
  </dependencies>

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