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