fix up some unit tests
[java-idp.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <groupId>edu.internet2.middleware</groupId>
7     <artifactId>shibboleth-identityprovider</artifactId>
8     <version>2.3.0</version>
9
10     <!-- We bundle as a jar here, the installer creates the WAR -->
11     <packaging>jar</packaging>
12
13     <name>Shibboleth Identity Provider</name>
14     <description>
15         The Shibboleth Identity Provider is used by an organization to securely assert information, via SAML, about
16         their users.  This information is then read and acted upon by Service Providers.
17     </description>
18
19     <properties>
20         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21         <xerces.groupId>org.apache.xerces</xerces.groupId>
22         <xerces.version>2.10.0</xerces.version>
23     </properties>
24
25     <repositories>
26         <repository>
27             <id>shib-release</id>
28             <url>https://shibboleth.net/nexus/content/groups/public</url>
29             <snapshots>
30                 <enabled>false</enabled>
31             </snapshots>
32         </repository>
33         <repository>
34             <id>shib-snapshot</id>
35             <url>https://shibboleth.net/nexus/content/repositories/snapshots</url>
36             <releases>
37                 <enabled>false</enabled>
38             </releases>
39         </repository>
40     </repositories>
41
42     <dependencies>
43         <!-- Compile dependencies -->
44         <dependency>
45             <groupId>edu.internet2.middleware</groupId>
46             <artifactId>shibboleth-common</artifactId>
47             <version>1.3.0</version>
48         </dependency>
49
50         <!-- Provided dependencies -->
51         <dependency>
52             <groupId>javax.servlet</groupId>
53             <artifactId>servlet-api</artifactId>
54             <version>2.4</version>
55         </dependency>
56         <dependency>
57             <groupId>javax.servlet.jsp</groupId>
58             <artifactId>jsp-api</artifactId>
59             <version>2.0</version>
60         </dependency>
61
62         <!-- Runtime dependencies -->
63         <dependency>
64             <groupId>${xerces.groupId}</groupId>
65             <artifactId>xml-apis</artifactId>
66             <version>${xerces.version}</version>
67             <scope>runtime</scope>
68         </dependency>
69         <dependency>
70             <groupId>${xerces.groupId}</groupId>
71             <artifactId>xercesImpl</artifactId>
72             <version>${xerces.version}</version>
73             <scope>runtime</scope>
74         </dependency>
75         <dependency>
76             <groupId>xml-resolver</groupId>
77             <artifactId>xml-resolver</artifactId>
78             <version>1.2</version>
79             <scope>runtime</scope>
80         </dependency>
81         <dependency>
82             <groupId>xalan</groupId>
83             <artifactId>xalan</artifactId>
84             <version>2.7.1</version>
85             <scope>runtime</scope>
86         </dependency>
87         <dependency>
88             <groupId>org.apache.ant</groupId>
89             <artifactId>ant-nodeps</artifactId>
90             <version>1.7.1</version>
91             <scope>runtime</scope>
92         </dependency>
93         <dependency>
94             <groupId>ant-contrib</groupId>
95             <artifactId>ant-contrib</artifactId>
96             <version>1.0b2</version>
97             <scope>runtime</scope>
98             <exclusions>
99                 <exclusion>
100                     <groupId>ant</groupId>
101                     <artifactId>ant</artifactId>
102                 </exclusion>
103             </exclusions>
104         </dependency>
105         <dependency>
106             <groupId>edu.internet2.middleware</groupId>
107             <artifactId>ant-extensions</artifactId>
108             <version>11Jan2011</version>
109             <scope>runtime</scope>
110             <exclusions>
111                 <exclusion>
112                     <groupId>org.bouncycastle</groupId>
113                     <artifactId>bcprov-jdk14</artifactId>
114                 </exclusion>
115             </exclusions>
116         </dependency>
117         <dependency>
118             <groupId>edu.internet2.middleware</groupId>
119             <artifactId>shibboleth-jce</artifactId>
120             <version>1.1.0</version>
121             <scope>runtime</scope>
122         </dependency>
123
124         <!-- Test dependencies -->
125         <dependency>
126             <groupId>junit</groupId>
127             <artifactId>junit</artifactId>
128             <version>3.8.1</version>
129             <scope>test</scope>
130         </dependency>
131         <dependency>
132             <groupId>xmlunit</groupId>
133             <artifactId>xmlunit</artifactId>
134             <version>1.0</version>
135             <scope>test</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.springframework</groupId>
139             <artifactId>spring-test</artifactId>
140             <version>2.5.6.SEC02</version>
141             <scope>test</scope>
142             <exclusions>
143                 <exclusion>
144                     <groupId>commons-logging</groupId>
145                     <artifactId>commons-logging</artifactId>
146                 </exclusion>
147             </exclusions>
148         </dependency>
149     </dependencies>
150
151     <distributionManagement>
152         <repository>
153             <id>release</id>
154             <url>https://shibboleth.net/nexus/content/repositories/releases</url>
155         </repository>
156         <snapshotRepository>
157             <id>snapshot</id>
158             <url>https://shibboleth.net/nexus/content/repositories/snapshots</url>
159         </snapshotRepository>
160     </distributionManagement>
161
162     <build>
163         <plugins>
164             <plugin>
165                 <groupId>org.apache.maven.plugins</groupId>
166                 <artifactId>maven-compiler-plugin</artifactId>
167                 <version>2.3.2</version>
168                 <configuration>
169                     <source>1.5</source>
170                     <target>1.5</target>
171                     <debug>true</debug>
172                 </configuration>
173             </plugin>
174             <plugin>
175                 <groupId>org.apache.maven.plugins</groupId>
176                 <artifactId>maven-assembly-plugin</artifactId>
177                 <version>2.2.1</version>
178                 <configuration>
179                     <descriptors>
180                         <descriptor>src/main/assembly/bin.xml</descriptor>
181                     </descriptors>
182                     <tarLongFileMode>gnu</tarLongFileMode>
183                 </configuration>
184                 <executions>
185                     <execution>
186                         <id>make-assembly</id>
187                         <phase>package</phase>
188                         <goals>
189                             <goal>attached</goal>
190                         </goals>
191                     </execution>
192                 </executions>
193             </plugin>
194             <plugin>
195                 <groupId>org.apache.maven.plugins</groupId>
196                 <artifactId>maven-surefire-plugin</artifactId>
197                 <version>2.8</version>
198                 <configuration>
199                     <argLine>-Xmx256m</argLine>
200                 </configuration>
201             </plugin>
202             <plugin>
203                 <groupId>org.apache.maven.plugins</groupId>
204                 <artifactId>maven-jar-plugin</artifactId>
205                 <version>2.3.1</version>
206                 <configuration>
207                     <archive>
208                         <index>true</index>
209                         <manifestEntries>
210                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
211                         </manifestEntries>
212                         <manifestSections>
213                             <manifestSection>
214                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
215                                 <manifestEntries>
216                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
217                                     <Implementation-Version>${project.version}</Implementation-Version>
218                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
219                                 </manifestEntries>
220                             </manifestSection>
221                         </manifestSections>
222                     </archive>
223                 </configuration>
224             </plugin>
225             <plugin>
226                 <artifactId>maven-source-plugin</artifactId>
227                 <version>2.1.2</version>
228                 <executions>
229                     <execution>
230                         <id>attach-sources</id>
231                         <goals>
232                             <goal>jar</goal>
233                         </goals>
234                     </execution>
235                 </executions>
236             </plugin>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-javadoc-plugin</artifactId>
240                 <version>2.7</version>
241                 <executions>
242                     <execution>
243                         <id>attach-javadocs</id>
244                         <goals>
245                             <goal>jar</goal>
246                         </goals>
247                     </execution>
248                 </executions>
249                 <configuration>
250                     <quiet>true</quiet>
251                 </configuration>
252             </plugin>
253         </plugins>
254     </build>
255
256     <reporting>
257         <plugins>
258             <plugin>
259                 <groupId>org.apache.maven.plugins</groupId>
260                 <artifactId>maven-javadoc-plugin</artifactId>
261                 <version>2.8</version>
262                 <configuration>
263                     <links>
264                         <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
265                         <link>http://joda-time.sourceforge.net/apidocs/</link>
266                         <link>http://static.springsource.org/spring/docs/2.0.x/api/</link>
267                     </links>
268                     <quiet>true</quiet>
269                     <author>false</author>
270                     <version>true</version>
271                     <doctitle>${project.name} ${project.version} Java API.</doctitle>
272                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
273                     <overview>src/main/java/overview.html</overview>
274                 </configuration>
275             </plugin>
276             <plugin>
277                 <groupId>org.apache.maven.plugins</groupId>
278                 <artifactId>maven-jxr-plugin</artifactId>
279                 <version>2.2</version>
280                 <configuration>
281                     <outputDirectory>${project.reporting.outputDirectory}/xref</outputDirectory>
282                     <doctitle>${project.name} ${project.version} Code Cross-Reference</doctitle>
283                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
284                     <javadocDir>${project.reporting.outputDirectory}/apidocs</javadocDir>
285                 </configuration>
286             </plugin>
287             <plugin>
288                 <groupId>org.apache.maven.plugins</groupId>
289                 <artifactId>maven-surefire-report-plugin</artifactId>
290                 <version>2.8.1</version>
291                 <configuration>
292                     <outputDirectory>${project.reporting.outputDirectory}/unitTest</outputDirectory>
293                     <xrefLocation>${project.reporting.outputDirectory}/xref</xrefLocation>
294                 </configuration>
295             </plugin>
296         </plugins>
297     </reporting>
298
299     <profiles>
300         <profile>
301             <id>release</id>
302             <build>
303                 <plugins>
304                     <plugin>
305                         <groupId>org.apache.maven.plugins</groupId>
306                         <artifactId>maven-javadoc-plugin</artifactId>
307                         <executions>
308                             <execution>
309                                 <id>release-javadoc</id>
310                                 <phase>package</phase>
311                                 <goals>
312                                     <goal>javadoc</goal>
313                                 </goals>
314                             </execution>
315                         </executions>
316                     </plugin>
317                     <plugin>
318                         <groupId>org.apache.maven.plugins</groupId>
319                         <artifactId>maven-jxr-plugin</artifactId>
320                         <executions>
321                             <execution>
322                                 <id>release-jxr</id>
323                                 <phase>package</phase>
324                                 <goals>
325                                     <goal>jxr</goal>
326                                 </goals>
327                             </execution>
328                         </executions>
329                     </plugin>
330                     <plugin>
331                         <groupId>org.apache.maven.plugins</groupId>
332                         <artifactId>maven-surefire-report-plugin</artifactId>
333                         <executions>
334                             <execution>
335                                 <id>release-unitTest</id>
336                                 <phase>package</phase>
337                                 <goals>
338                                     <goal>report-only</goal>
339                                 </goals>
340                             </execution>
341                         </executions>
342                     </plugin>
343                     <plugin>
344                         <artifactId>maven-assembly-plugin</artifactId>
345                         <executions>
346                             <execution>
347                                 <id>make-assembly</id>
348                                 <phase>package</phase>
349                                 <goals>
350                                     <goal>attached</goal>
351                                 </goals>
352                             </execution>
353                         </executions>
354                     </plugin>
355                     <plugin>
356                         <groupId>org.apache.maven.plugins</groupId>
357                         <artifactId>maven-gpg-plugin</artifactId>
358                         <executions>
359                             <execution>
360                                 <id>sign-artifacts</id>
361                                 <phase>verify</phase>
362                                 <goals>
363                                     <goal>sign</goal>
364                                 </goals>
365                             </execution>
366                         </executions>
367                     </plugin>
368                 </plugins>
369             </build>
370         </profile>
371     </profiles>
372
373     <!-- Project Metadata -->
374     <url>http://shibboleth.internet2.edu/</url>
375
376     <inceptionYear>2006</inceptionYear>
377
378     <licenses>
379         <license>
380             <name>Apache 2</name>
381             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
382             <distribution>repo</distribution>
383         </license>
384     </licenses>
385
386     <organization>
387         <name>Internet2</name>
388         <url>http://www.internet2.edu/</url>
389     </organization>
390
391     <issueManagement>
392         <system>JIRA</system>
393         <url>http://bugs.internet2.edu/</url>
394     </issueManagement>
395
396     <mailingLists>
397         <mailingList>
398             <name>Shibboleth Announce</name>
399             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
400             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
401             <post>shibboleth-announce@internet2.edu</post>
402             <archive>https://mail.internet2.edu/wws/arc/shibboleth-announce</archive>
403         </mailingList>
404         <mailingList>
405             <name>Shibboleth Users</name>
406             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
407             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
408             <post>shibboleth-users@internet2.edu</post>
409             <archive>https://mail.internet2.edu/wws/arc/shibboleth-users</archive>
410         </mailingList>
411         <mailingList>
412             <name>Shibboleth Development</name>
413             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
414             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
415             <post>shibboleth-dev@internet2.edu</post>
416             <archive>https://mail.internet2.edu/wws/arc/shibboleth-dev</archive>
417         </mailingList>
418     </mailingLists>
419
420     <scm>
421         <connection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</connection>
422         <developerConnection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</developerConnection>
423         <tag>HEAD</tag>
424         <url>http://svn.middleware.georgetown.edu/view/?root=java-idp</url>
425     </scm>
426
427     <developers>
428         <developer>
429             <id>cantor</id>
430             <name>Scott Cantor</name>
431             <organization>The Ohio State University</organization>
432             <organizationUrl>http://www.osu.edu/</organizationUrl>
433             <roles>
434                 <role>developer</role>
435             </roles>
436             <timezone>-5</timezone>
437         </developer>
438         <developer>
439             <id>ndk</id>
440             <name>Nate Klingenstein</name>
441             <organization>Internet2</organization>
442             <organizationUrl>http://www.internet2.edu/</organizationUrl>
443             <roles>
444                 <role>documentation</role>
445             </roles>
446             <timezone>-7</timezone>
447         </developer>
448         <developer>
449             <id>lajoie</id>
450             <name>Chad La Joie</name>
451             <organization>Itumi, LLC</organization>
452             <organizationUrl>http://www.itumi.biz/</organizationUrl>
453             <roles>
454                 <role>developer</role>
455                 <role>documentation</role>
456             </roles>
457             <timezone>-5</timezone>
458         </developer>
459         <developer>
460             <id>wnorris</id>
461             <name>Will Norris</name>
462             <organization>Google, Inc.</organization>
463             <organizationUrl>http://www.google.com/</organizationUrl>
464             <roles>
465                 <role>developer</role>
466             </roles>
467             <timezone>-8</timezone>
468         </developer>
469         <developer>
470             <id>rdw</id>
471             <name>Rod Widdowson</name>
472             <organization>University of Edinburgh</organization>
473             <organizationUrl>http://www.ed.ac.uk/</organizationUrl>
474             <roles>
475                 <role>developer</role>
476             </roles>
477             <timezone>0</timezone>
478         </developer>
479     </developers>
480
481 </project>