pom.xml 3.3 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.49</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
      <groupId>org.jenkins-ci</groupId>
54
      <artifactId>trilead-ssh2</artifactId>
55
      <version>build214-jenkins-1</version>
56 57 58
    </dependency>
  </dependencies>

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