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

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