pom.xml 2.4 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.441-SNAPSHOT</version>
9
  </parent>
10

11
  <artifactId>cli</artifactId>
12

13
  <name>Jenkins CLI</name>
14

15 16 17 18 19 20 21 22 23
  <dependencies>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>remoting</artifactId>
24
      <!-- specified in the parent -->
25 26 27
    </dependency>
    <dependency>
      <groupId>junit</groupId>
28
      <artifactId>junit-dep</artifactId>
29 30 31 32 33 34 35 36 37 38 39 40 41 42
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
      <version>1.10</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>trilead-ssh2</artifactId>
      <version>build212-hudson-5</version>
    </dependency>
  </dependencies>

43 44 45 46
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
47
        <!-- version specified in grandparent pom -->
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
        <executions>
          <execution>
            <goals>
              <goal>attached</goal>
            </goals>
            <phase>package</phase>
            <configuration>
              <descriptorId>jar-with-dependencies</descriptorId>
              <archive>
                <manifest>
                  <mainClass>hudson.cli.CLI</mainClass>
                </manifest>
              </archive>
            </configuration>
          </execution>
        </executions>
      </plugin>
K
kohsuke 已提交
65 66 67
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
68
        <!-- version specified in grandparent pom -->
K
kohsuke 已提交
69 70 71 72 73 74 75 76 77 78 79 80
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
81 82 83
    </plugins>
  </build>

84
</project>