pom.xml 2.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.17-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 32 33 34
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>remoting</artifactId>
35
      <!-- specified in the parent -->
36 37 38
    </dependency>
    <dependency>
      <groupId>junit</groupId>
J
Jesse Glick 已提交
39
      <artifactId>junit</artifactId>
40 41 42 43 44
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
45
      <version>1.23</version>
46 47
    </dependency>
    <dependency>
48
      <groupId>org.jenkins-ci</groupId>
49
      <artifactId>trilead-ssh2</artifactId>
50
      <version>build214-jenkins-1</version>
51 52 53
    </dependency>
  </dependencies>

54 55 56 57
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
58
        <!-- version specified in grandparent pom -->
59 60 61 62 63 64 65 66 67 68 69 70
        <executions>
          <execution>
            <goals>
              <goal>attached</goal>
            </goals>
            <phase>package</phase>
            <configuration>
              <descriptorId>jar-with-dependencies</descriptorId>
              <archive>
                <manifest>
                  <mainClass>hudson.cli.CLI</mainClass>
                </manifest>
71 72 73
                <manifestEntries>
                  <Jenkins-CLI-Version>${build.version}</Jenkins-CLI-Version>
                </manifestEntries>
74 75 76 77 78
              </archive>
            </configuration>
          </execution>
        </executions>
      </plugin>
K
kohsuke 已提交
79 80 81
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
82
        <!-- version specified in grandparent pom -->
K
kohsuke 已提交
83 84 85 86 87 88 89 90 91 92 93 94
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
95 96
    </plugins>
  </build>
97
</project>