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 6
  <parent>
    <artifactId>pom</artifactId>
7
    <groupId>org.jenkins-ci.main</groupId>
8
    <version>1.580-SNAPSHOT</version>
9
  </parent>
10

11
  <artifactId>cli</artifactId>
12

13
  <name>Jenkins CLI</name>
14

15
  <dependencies>
16 17 18 19 20 21 22 23 24 25
    <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>
26 27 28 29 30 31 32 33
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>remoting</artifactId>
34
      <!-- specified in the parent -->
35 36 37
    </dependency>
    <dependency>
      <groupId>junit</groupId>
J
Jesse Glick 已提交
38
      <artifactId>junit</artifactId>
39 40 41 42 43 44 45 46
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
      <version>1.10</version>
    </dependency>
    <dependency>
47
      <groupId>org.jenkins-ci</groupId>
48
      <artifactId>trilead-ssh2</artifactId>
49
      <version>build214-jenkins-1</version>
50 51 52
    </dependency>
  </dependencies>

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

97
</project>