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