Fix warning about character encoding during build
[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         </dependency>
111         <dependency>
112             <groupId>edu.internet2.middleware</groupId>
113             <artifactId>shibboleth-jce</artifactId>
114             <version>1.1.0</version>
115             <scope>runtime</scope>
116         </dependency>
117         
118         <!-- Test dependencies -->
119         <dependency>
120             <groupId>junit</groupId>
121             <artifactId>junit</artifactId>
122             <version>3.8.1</version>
123             <scope>test</scope>
124         </dependency>
125         <dependency>
126             <groupId>xmlunit</groupId>
127             <artifactId>xmlunit</artifactId>
128             <version>1.0</version>
129             <scope>test</scope>
130         </dependency>
131         <dependency>
132             <groupId>org.springframework</groupId>
133             <artifactId>spring-mock</artifactId>
134             <version>2.0.8</version>
135             <scope>test</scope>
136             <exclusions>
137                 <exclusion>
138                     <groupId>commons-logging</groupId>
139                     <artifactId>commons-logging</artifactId>
140                 </exclusion>
141             </exclusions>
142         </dependency>
143     </dependencies>
144     
145     <build>
146         <plugins>
147             <plugin>
148                 <groupId>org.apache.maven.plugins</groupId>
149                 <artifactId>maven-resources-plugin</artifactId>
150                 <configuration>
151                     <encoding>UTF-8</encoding>
152                 </configuration>
153             </plugin>
154             <plugin>
155                 <groupId>org.apache.maven.plugins</groupId>
156                 <artifactId>maven-compiler-plugin</artifactId>
157                 <configuration>
158                     <source>1.5</source>
159                     <target>1.5</target>
160                     <debug>true</debug>
161                 </configuration>
162             </plugin>
163             <plugin>
164                 <groupId>org.apache.maven.plugins</groupId>
165                 <artifactId>maven-assembly-plugin</artifactId>
166                 <configuration>
167                     <descriptors>
168                         <descriptor>src/main/assembly/bin.xml</descriptor>
169                         <descriptor>src/main/assembly/src.xml</descriptor>
170                     </descriptors>
171                     <tarLongFileMode>gnu</tarLongFileMode>
172                 </configuration>
173                 <executions>
174                     <execution>
175                         <id>make-assembly</id>
176                         <phase>package</phase>
177                         <goals>
178                             <goal>attached</goal>
179                         </goals>
180                     </execution>
181                 </executions>
182             </plugin>
183             <plugin>
184                 <groupId>org.apache.maven.plugins</groupId>
185                 <artifactId>maven-surefire-plugin</artifactId>
186                 <configuration>
187                   <argLine>-Xmx256m</argLine>
188                 </configuration>
189             </plugin>
190             <plugin>
191                 <groupId>org.apache.maven.plugins</groupId>
192                 <artifactId>maven-jar-plugin</artifactId>
193                 <configuration>
194                     <archive>
195                         <index>true</index>
196                         <manifestEntries>
197                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
198                         </manifestEntries>
199                         <manifestSections>
200                             <manifestSection>
201                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
202                                 <manifestEntries>
203                                     <Implementation-Title>${pom.artifactId}</Implementation-Title>
204                                     <Implementation-Version>${pom.version}</Implementation-Version>
205                                     <Implementation-Vendor>www.opensaml.org</Implementation-Vendor>
206                                 </manifestEntries>
207                             </manifestSection>
208                         </manifestSections>
209                     </archive>
210                 </configuration>
211             </plugin>
212         </plugins>
213     </build>
214
215     <reporting>
216         <plugins>
217             <plugin>
218                 <groupId>org.apache.maven.plugins</groupId>
219                 <artifactId>maven-javadoc-plugin</artifactId>
220                 <configuration>
221                     <links>
222                         <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
223                         <link>http://joda-time.sourceforge.net/apidocs/</link>
224                         <link>http://static.springsource.org/spring/docs/2.0.x/api/</link> 
225                     </links>
226                     <quiet>true</quiet>
227                     <author>false</author>
228                     <version>true</version>
229                     <doctitle>${project.name} ${project.version} Java API.</doctitle>
230                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
231                     <overview>src/main/java/overview.html</overview>
232                 </configuration>
233             </plugin>
234             <plugin>
235                 <groupId>org.apache.maven.plugins</groupId>
236                 <artifactId>maven-jxr-plugin</artifactId>
237                 <configuration>
238                     <outputDirectory>${project.reporting.outputDirectory}/xref</outputDirectory>
239                     <doctitle>${project.name} ${project.version} Code Cross-Reference</doctitle>
240                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
241                     <javadocDir>${project.reporting.outputDirectory}/apidocs</javadocDir>                    
242                 </configuration>
243             </plugin>
244             <plugin>
245                 <groupId>org.apache.maven.plugins</groupId>
246                 <artifactId>maven-checkstyle-plugin</artifactId>
247                 <configuration>
248                     <configLocation>checkstyle.xml</configLocation>
249                     <outputDirectory>${project.reporting.outputDirectory}/style</outputDirectory>
250                     <enableRSS>false</enableRSS>
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-checkstyle-plugin</artifactId>
301                         <executions>
302                             <execution>
303                                 <id>release-checkstyle</id>
304                                 <phase>package</phase>
305                                 <goals>
306                                     <goal>checkstyle</goal>
307                                 </goals>
308                             </execution>
309                         </executions>
310                     </plugin>
311                     <plugin>
312                         <groupId>org.apache.maven.plugins</groupId>
313                         <artifactId>maven-surefire-report-plugin</artifactId>
314                         <executions>
315                             <execution>
316                                 <id>release-unitTest</id>
317                                 <phase>package</phase>
318                                 <goals>
319                                     <goal>report-only</goal>
320                                 </goals>
321                             </execution>
322                         </executions>
323                     </plugin>
324                     <plugin>
325                         <artifactId>maven-assembly-plugin</artifactId>
326                         <executions>
327                             <execution>
328                                 <id>make-assembly</id>
329                                 <phase>package</phase>
330                                 <goals>
331                                     <goal>attached</goal>
332                                 </goals>
333                             </execution>
334                         </executions>
335                     </plugin>
336                     <plugin>
337                         <groupId>org.apache.maven.plugins</groupId>
338                         <artifactId>maven-gpg-plugin</artifactId>
339                         <executions>
340                             <execution>
341                                 <id>sign-artifacts</id>
342                                 <phase>verify</phase>
343                                 <goals>
344                                     <goal>sign</goal>
345                                 </goals>
346                             </execution>
347                         </executions>
348                     </plugin>
349                 </plugins>    
350             </build>            
351         </profile>
352     </profiles>
353     
354     <!-- Project Metadata -->
355     <url>https://shibboleth.internet2.edu/</url>
356     
357     <inceptionYear>2006</inceptionYear>
358     
359     <licenses>
360         <license>
361             <name>Apache 2</name>
362             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
363             <distribution>repo</distribution>
364         </license>
365     </licenses>
366     
367     <organization>
368         <name>Internet2</name>
369         <url>http://www.internet2.edu/</url>
370     </organization>
371     
372     <issueManagement>
373         <system>JIRA</system>
374         <url>http://bugs.internet2.edu/</url>
375     </issueManagement>
376     
377     <mailingLists>
378         <mailingList>
379             <name>Shibboleth Announce</name>
380             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
381             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
382             <post>shibboleth-announce@internet2.edu</post>
383             <archive>https://mail.internet2.edu/wws/arc/shibboleth-announce</archive>
384         </mailingList>
385         <mailingList>
386             <name>Shibboleth Users</name>
387             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
388             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
389             <post>shibboleth-users@internet2.edu</post>
390             <archive>https://mail.internet2.edu/wws/arc/shibboleth-users</archive>
391         </mailingList>
392         <mailingList>
393             <name>Shibboleth Development</name>
394             <subscribe>http://shibboleth.internet2.edu/support.html#lists</subscribe>
395             <unsubscribe>http://shibboleth.internet2.edu/support.html#lists</unsubscribe>
396             <post>shibboleth-dev@internet2.edu</post>
397             <archive>https://mail.internet2.edu/wws/arc/shibboleth-dev</archive>
398         </mailingList>
399     </mailingLists>
400     
401     <scm>
402         <connection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</connection>
403         <developerConnection>scm:svn:https://svn.middleware.georgetown.edu/java-idp/</developerConnection>
404         <tag>HEAD</tag>
405         <url>http://svn.middleware.georgetown.edu/view/?root=java-idp</url>
406     </scm>
407     
408     <developers>
409         <developer>
410             <id>cantor</id>
411             <name>Scott Cantor</name>
412             <organization>The Ohio State University</organization>
413             <organizationUrl>http://www.ohio-state.edu/</organizationUrl>
414             <roles>
415                 <role>developer</role>
416             </roles>
417             <timezone>-5</timezone>
418         </developer>
419         <developer>
420             <id>ndk</id>
421             <name>Nate Klingenstein</name>
422             <organization>Internet2</organization>
423             <organizationUrl>http://www.internet2.edu/</organizationUrl>
424             <roles>
425                 <role>documentation</role>
426             </roles>
427             <timezone>-7</timezone>
428         </developer>
429         <developer>
430             <id>lajoie</id>
431             <name>Chad La Joie</name>
432             <organization>SWITCH</organization>
433             <organizationUrl>http://www.switch.ch/</organizationUrl>
434             <roles>
435                 <role>developer</role>
436                 <role>documentation</role>
437             </roles>
438             <timezone>+1</timezone>
439         </developer>
440         <developer>
441             <id>wnorris</id>
442             <name>Will Norris</name>
443             <organization>University of Southern California</organization>
444             <organizationUrl>http://www.usc.edu/</organizationUrl>
445             <roles>
446                 <role>developer</role>
447             </roles>
448             <timezone>-8</timezone>
449         </developer>
450         <developer>
451             <id>rdw</id>
452             <name>Rod Widdowson</name>
453             <organization>University of Edinburgh</organization>
454             <organizationUrl>http://www.ed.ac.uk/</organizationUrl>
455             <roles>
456                 <role>developer</role>
457             </roles>
458             <timezone>0</timezone>
459         </developer>
460     </developers>
461     
462 </project>