forked from whitesource/whitesource-bamboo-agent
/
pom.xml
174 lines (173 loc) · 5.67 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="utf-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.whitesource.bamboo.plugins</groupId>
<artifactId>whitesource-bamboo-agent</artifactId>
<version>1.0-SNAPSHOT</version>
<organization>
<name>WhiteSource Software Ltd.</name>
<url>http://www.whitesourcesoftware.com/</url>
</organization>
<name>White Source agent for Bamboo</name>
<description>White Source external update agent for Atlassian
Bamboo.</description>
<packaging>atlassian-plugin</packaging>
<properties>
<project.build.sourceEncoding>
UTF-8</project.build.sourceEncoding>
<bamboo.version>4.3</bamboo.version>
<bamboo.data.version>3.2.2</bamboo.data.version>
<amps.version>4.1.4</amps.version>
<useFastdevCli>true</useFastdevCli>
<plugin.testrunner.version>1.1</plugin.testrunner.version>
<atlassian.plugin.key>
${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<atlassian.plugin.directory>
org/whitesource/bamboo/plugins</atlassian.plugin.directory>
<maven.version>3.0.4</maven.version>
<wss.agents.version>1.2.1</wss.agents.version>
</properties>
<dependencies>
<!-- White Source -->
<dependency>
<groupId>org.whitesource</groupId>
<artifactId>wss-agent-api</artifactId>
<version>${wss.agents.version}</version>
</dependency>
<dependency>
<groupId>org.whitesource</groupId>
<artifactId>wss-agent-api-client</artifactId>
<version>${wss.agents.version}</version>
</dependency>
<dependency>
<groupId>org.whitesource</groupId>
<artifactId>wss-agent-report</artifactId>
<version>${wss.agents.version}</version>
</dependency>
<!-- Atlassian -->
<dependency>
<groupId>com.atlassian.bamboo</groupId>
<artifactId>atlassian-bamboo-web</artifactId>
<version>${bamboo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-embedder</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<!-- WIRED TEST RUNNER DEPENDENCIES -->
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
<version>${plugin.testrunner.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.2.2-atlassian-1</version>
</dependency>
<!-- Others -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<version>2.0M8</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-bamboo-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
<configuration>
<productVersion>${bamboo.version}</productVersion>
<productDataVersion>${bamboo.data.version}</productDataVersion>
<!-- <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath> -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>compile</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/test-jars/lib</outputDirectory>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>whitesource</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.whitesource</groupId>
<artifactId>whitesource-maven-plugin</artifactId>
<version>1.1.2</version>
<configuration>
<orgToken>${env.WSS_API_KEY}</orgToken>
</configuration>
<executions>
<execution>
<goals>
<goal>update</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>