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