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