-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
211 lines (196 loc) · 7.48 KB
/
pom.xml
File metadata and controls
211 lines (196 loc) · 7.48 KB
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.cloudera.cdh</groupId>
<artifactId>cdh-root</artifactId>
<version>5.12.0</version>
</parent>
<groupId>com.cloudera.ps</groupId>
<artifactId>webui-authorize</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Hadoop Web UI Authorize Plugin</name>
<url>http://www.cloudera.com</url>
<properties>
<javaVersion>1.7</javaVersion>
<targetJavaVersion>1.7</targetJavaVersion>
<!-- to be able to run a single test case from the main project -->
<failIfNoTests>false</failIfNoTests>
<test.timeout>5400</test.timeout>
<!-- platform encoding override -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
<maven.test.java.opts>-Xmx1024m -da -XX:MaxPermSize=512m</maven.test.java.opts>
<maven.javadoc.opts></maven.javadoc.opts>
<hadoop.version>${cdh.hadoop.version}</hadoop.version>
<clover.license>/home/jenkins/tools/clover/latest/lib/clover.license</clover.license>
<!--
This is required while we support a a pre 0.23 version of Hadoop which does not have
the hadoop-auth artifact. After we phase-out pre 0.23 we can get rid of this property.
-->
<hadoop.auth.version>${cdh.hadoop.version}</hadoop.auth.version>
<curator.version>2.7.1</curator.version>
<log4j.version>1.2.17</log4j.version>
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-auth</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>mina-core</artifactId>
<groupId>org.apache.mina</groupId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
<!-- ApacheDS needed for LDAP unit tests -->
<dependency>
<groupId>org.apache.directory.server</groupId>
<artifactId>apacheds-server-unit</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>cdh.repo</id>
<name>Cloudera Repositories</name>
<url>https://repository.cloudera.com/content/groups/cloudera-repos</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>cdh.snapshots.repo</id>
<name>Cloudera Snapshots Repository</name>
<url>https://repository.cloudera.com/content/repositories/snapshots</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>apache.snapshots.repo</id>
<name>Apache Snapshots Repository</name>
<url>https://repository.apache.org/content/groups/snapshots</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>datanucleus</id>
<name>Datanucleus</name>
<url>http://www.datanucleus.org/downloads/maven2</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>cdh.releases.repo</id>
<name>CDH Releases Repository</name>
<url>https://repository.cloudera.com/content/groups/cdh-releases-rcs</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>java.net repository</id>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>cdh.thirdparty.repo</id>
<name>Cloudera Third Party Repository</name>
<url>https://repository.cloudera.com/content/repositories/third-party</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Central Repository</name>
<url>http://repo.maven.apache.org/maven2</url>
</repository>
</repositories>
<build>
<finalName>webui-authorize</finalName>
<plugins>
<!-- Make the hadoop-login.jar too -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>make-a-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<!-- excluding all as the root POM does the full check-->
<exclude>**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>../src/main/assemblies/empty.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
</project>