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