Refactor outbound message encoder selection into a distinct method to:
[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                     </links>
221                     <quiet>true</quiet>
222                     <author>false</author>
223                     <version>true</version>
224                     <doctitle>${project.name} ${project.version} Java API.</doctitle>
225                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
226                     <overview>src/main/java/overview.html</overview>
227                 </configuration>
228             </plugin>
229             <plugin>
230                 <groupId>org.apache.maven.plugins</groupId>
231                 <artifactId>maven-jxr-plugin</artifactId>
232                 <configuration>
233                     <outputDirectory>${project.reporting.outputDirectory}/xref</outputDirectory>
234                     <doctitle>${project.name} ${project.version} Code Cross-Reference</doctitle>
235                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
236                     <javadocDir>${project.reporting.outputDirectory}/apidocs</javadocDir>                    
237                 </configuration>
238             </plugin>
239             <plugin>
240                 <groupId>org.apache.maven.plugins</groupId>
241                 <artifactId>maven-checkstyle-plugin</artifactId>
242                 <configuration>
243                     <configLocation>checkstyle.xml</configLocation>
244                     <outputDirectory>${project.reporting.outputDirectory}/style</outputDirectory>
245                     <enableRSS>false</enableRSS>
246                 </configuration>
247             </plugin>
248             <plugin>
249                 <groupId>org.apache.maven.plugins</groupId>
250                 <artifactId>maven-surefire-report-plugin</artifactId>
251                 <configuration>
252                     <outputDirectory>${project.reporting.outputDirectory}/unitTest</outputDirectory>
253                     <xrefLocation>${project.reporting.outputDirectory}/xref</xrefLocation>
254                 </configuration>
255             </plugin>
256         </plugins>
257     </reporting>
258     
259     <profiles>
260         <profile>
261             <id>release</id>
262             <build>
263                 <plugins>
264                     <plugin>
265                         <artifactId>maven-compiler-plugin</artifactId>
266                     </plugin>
267                     <plugin>
268                         <groupId>org.apache.maven.plugins</groupId>
269                         <artifactId>maven-javadoc-plugin</artifactId>
270                         <executions>
271                             <execution>
272                                 <id>release-javadoc</id>
273                                 <phase>package</phase>
274                                 <goals>
275                                     <goal>javadoc</goal>
276                                 </goals>
277                             </execution>
278                         </executions>
279                     </plugin>
280                     <plugin>
281                         <groupId>org.apache.maven.plugins</groupId>
282                         <artifactId>maven-jxr-plugin</artifactId>
283                         <executions>
284                             <execution>
285                                 <id>release-jxr</id>
286                                 <phase>package</phase>
287                                 <goals>
288                                     <goal>jxr</goal>
289                                 </goals>
290                             </execution>
291                         </executions>
292                     </plugin>
293                     <plugin>
294                         <groupId>org.apache.maven.plugins</groupId>
295                         <artifactId>maven-checkstyle-plugin</artifactId>
296                         <executions>
297                             <execution>
298                                 <id>release-checkstyle</id>
299                                 <phase>package</phase>
300                                 <goals>
301                                     <goal>checkstyle</goal>
302                                 </goals>
303                             </execution>
304                         </executions>
305                     </plugin>
306                     <plugin>
307                         <groupId>org.apache.maven.plugins</groupId>
308                         <artifactId>maven-surefire-report-plugin</artifactId>
309                         <executions>
310                             <execution>
311                                 <id>release-unitTest</id>
312                                 <phase>package</phase>
313                                 <goals>
314                                     <goal>report-only</goal>
315                                 </goals>
316                             </execution>
317                         </executions>
318                     </plugin>
319                     <plugin>
320                         <artifactId>maven-assembly-plugin</artifactId>
321                         <executions>
322                             <execution>
323                                 <id>make-assembly</id>
324                                 <phase>package</phase>
325                                 <goals>
326                                     <goal>attached</goal>
327                                 </goals>
328                             </execution>
329                         </executions>
330                     </plugin>
331                     <plugin>
332                         <groupId>org.apache.maven.plugins</groupId>
333                         <artifactId>maven-gpg-plugin</artifactId>
334                         <executions>
335                             <execution>
336                                 <id>sign-artifacts</id>
337                                 <phase>verify</phase>
338                                 <goals>
339                                     <goal>sign</goal>
340                                 </goals>
341                             </execution>
342                         </executions>
343                     </plugin>
344                 </plugins>    
345             </build>            
346         </profile>
347     </profiles>
348     
349     <!-- Project Metadata -->
350     <url>https://shibboleth.internet2.edu/</url>
351     
352     <inceptionYear>2006</inceptionYear>
353     
354     <licenses>
355         <license>
356             <name>Apache 2</name>
357             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
358             <distribution>repo</distribution>
359         </license>
360     </licenses>
361     
362     <organization>
363         <name>Internet2</name>
364         <url>http://www.internet2.edu/</url>
365     </organization>
366     
367     <issueManagement>
368         <system>JIRA</system>
369         <url>http://bugs.internet2.edu/</url>
370     </issueManagement>
371     
372     <mailingLists>
373         <mailingList>
374             <name>Shibboleth Announce</name>
375             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
376             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
377             <post>shibboleth-announce@internet2.edu</post>
378             <archive>https://mail.internet2.edu/wws/arc/shibboleth-announce</archive>
379         </mailingList>
380         <mailingList>
381             <name>Shibboleth Users</name>
382             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
383             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
384             <post>shibboleth-users@internet2.edu</post>
385             <archive>https://mail.internet2.edu/wws/arc/shibboleth-users</archive>
386         </mailingList>
387         <mailingList>
388             <name>Shibboleth Development</name>
389             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
390             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
391             <post>shibboleth-dev@internet2.edu</post>
392             <archive>https://mail.internet2.edu/wws/arc/shibboleth-dev</archive>
393         </mailingList>
394     </mailingLists>
395     
396     <scm>
397         <connection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</connection>
398         <developerConnection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</developerConnection>
399         <tag>HEAD</tag>
400         <url>http://svn.middleware.georgetown.edu/view/?root=java-idp</url>
401     </scm>
402     
403     <developers>
404         <developer>
405             <id>cantor</id>
406             <name>Scott Cantor</name>
407             <organization>The Ohio State University</organization>
408             <organizationUrl>http://www.ohio-state.edu/</organizationUrl>
409             <roles>
410                 <role>developer</role>
411             </roles>
412             <timezone>-5</timezone>
413         </developer>
414         <developer>
415             <id>ndk</id>
416             <name>Nate Klingenstein</name>
417             <organization>Internet2</organization>
418             <organizationUrl>http://www.internet2.edu/</organizationUrl>
419             <roles>
420                 <role>documentation</role>
421             </roles>
422             <timezone>-7</timezone>
423         </developer>
424         <developer>
425             <id>lajoie</id>
426             <name>Chad La Joie</name>
427             <organization>SWITCH</organization>
428             <organizationUrl>http://www.switch.ch/</organizationUrl>
429             <roles>
430                 <role>developer</role>
431                 <role>documentation</role>
432             </roles>
433             <timezone>+1</timezone>
434         </developer>
435         <developer>
436             <id>wnorris</id>
437             <name>Will Norris</name>
438             <organization>University of Southern California</organization>
439             <organizationUrl>http://www.usc.edu/</organizationUrl>
440             <roles>
441                 <role>developer</role>
442             </roles>
443             <timezone>-8</timezone>
444         </developer>
445         <developer>
446             <id>rdw</id>
447             <name>Rod Widdowson</name>
448             <organization>University of Edinburgh</organization>
449             <organizationUrl>http://www.ed.ac.uk/</organizationUrl>
450             <roles>
451                 <role>developer</role>
452             </roles>
453             <timezone>0</timezone>
454         </developer>
455     </developers>
456     
457 </project>