forked from ronave/http-notification-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
85 lines (85 loc) · 3.07 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>rodrigo.plugin</groupId>
<artifactId>http-notification</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>rodrigo-notification-plugin</name>
<description>Http notification plugin for rundeck</description>
<properties>
<rundeck-core.version>3.0.13-20190123</rundeck-core.version>
<unirest.version>1.4.9</unirest.version>
<rundeck-plugin.version>1.2</rundeck-plugin.version>
<powermock.version>1.7.1</powermock.version>
<http-client.version>4.3.6</http-client.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.rundeck</groupId>
<artifactId>rundeck-core</artifactId>
<version>${rundeck-core.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${http-client.version}</version>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/lib</outputDirectory>
<excludeTransitive>false</excludeTransitive>
<excludeScope>provided</excludeScope>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<archive>
<manifest>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Rundeck-Plugin-Classnames>com.rodrigo.plugin.notification.HttpNotificationPlugin</Rundeck-Plugin-Classnames>
<Rundeck-Plugin-File-Version>${project.version}</Rundeck-Plugin-File-Version>
<Rundeck-Plugin-Version>${rundeck-plugin.version}</Rundeck-Plugin-Version>
<Rundeck-Plugin-Archive>true</Rundeck-Plugin-Archive>
<Rundeck-Plugin-libs>lib/commons-codec-1.10.jar lib/commons-logging-1.2.jar lib/httpclient-4.3.6.jar lib/httpcore-4.3.3.jar</Rundeck-Plugin-libs>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>