SIDP-468
[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.3.0-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.3.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         </dependency>
58         
59         <dependency>
60             <groupId>javax.servlet.jsp</groupId>
61             <artifactId>jsp-api</artifactId>
62             <version>2.0</version>
63         </dependency>
64  
65
66                 
67         <!-- Runtime dependencies -->
68         <dependency>
69             <groupId>${xerces.groupId}</groupId>
70             <artifactId>xml-apis</artifactId>
71             <version>${xerces.version}</version>
72             <scope>runtime</scope>
73         </dependency>
74         <dependency>
75             <groupId>${xerces.groupId}</groupId>
76             <artifactId>xercesImpl</artifactId>
77             <version>${xerces.version}</version>
78             <scope>runtime</scope>
79         </dependency>
80         <dependency>
81             <groupId>${xerces.groupId}</groupId>
82             <artifactId>resolver</artifactId>
83             <version>${xerces.version}</version>
84             <scope>runtime</scope>
85         </dependency>
86         <dependency>
87             <groupId>${xerces.groupId}</groupId>
88             <artifactId>serializer</artifactId>
89             <version>${xerces.version}</version>
90             <scope>runtime</scope>
91         </dependency>
92         <dependency>
93             <groupId>org.apache.xalan</groupId>
94             <artifactId>xalan</artifactId>
95             <version>2.7.1</version>
96             <scope>runtime</scope>
97         </dependency>
98         <dependency>
99             <groupId>org.apache.ant</groupId>
100             <artifactId>ant-nodeps</artifactId>
101             <version>1.7.1</version>
102             <scope>runtime</scope>
103         </dependency>
104         <dependency>
105             <groupId>ant-contrib</groupId>
106             <artifactId>ant-contrib</artifactId>
107             <version>1.0b2</version>
108             <scope>runtime</scope>
109             <exclusions>
110                 <exclusion>
111                     <groupId>ant</groupId>
112                     <artifactId>ant</artifactId>
113                 </exclusion>
114             </exclusions>
115         </dependency>
116         <dependency>
117             <groupId>edu.internet2.middleware</groupId>
118             <artifactId>ant-extensions</artifactId>
119             <version>11Jan2011</version>
120             <scope>runtime</scope>
121             <exclusions>
122                 <exclusion>
123                     <groupId>org.bouncycastle</groupId>
124                     <artifactId>bcprov-jdk14</artifactId>
125                 </exclusion>
126             </exclusions>
127         </dependency>
128         <dependency>
129             <groupId>edu.internet2.middleware</groupId>
130             <artifactId>shibboleth-jce</artifactId>
131             <version>1.1.0</version>
132             <scope>runtime</scope>
133         </dependency>
134         
135         <!-- Test dependencies -->
136         <dependency>
137             <groupId>junit</groupId>
138             <artifactId>junit</artifactId>
139             <version>3.8.1</version>
140             <scope>test</scope>
141         </dependency>
142         <dependency>
143             <groupId>xmlunit</groupId>
144             <artifactId>xmlunit</artifactId>
145             <version>1.0</version>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.springframework</groupId>
150             <artifactId>spring-test</artifactId>
151             <version>2.5.6.SEC02</version>
152             <scope>test</scope>
153             <exclusions>
154                 <exclusion>
155                     <groupId>commons-logging</groupId>
156                     <artifactId>commons-logging</artifactId>
157                 </exclusion>
158             </exclusions>
159         </dependency>
160     </dependencies>
161     
162     <build>
163         <plugins>
164             <plugin>
165                 <groupId>org.apache.maven.plugins</groupId>
166                 <artifactId>maven-resources-plugin</artifactId>
167                 <configuration>
168                     <encoding>UTF-8</encoding>
169                 </configuration>
170             </plugin>
171             <plugin>
172                 <groupId>org.apache.maven.plugins</groupId>
173                 <artifactId>maven-compiler-plugin</artifactId>
174                 <configuration>
175                     <source>1.5</source>
176                     <target>1.5</target>
177                     <debug>true</debug>
178                 </configuration>
179             </plugin>
180             <plugin>
181                 <groupId>org.apache.maven.plugins</groupId>
182                 <artifactId>maven-assembly-plugin</artifactId>
183                 <configuration>
184                     <descriptors>
185                         <descriptor>src/main/assembly/bin.xml</descriptor>
186                     </descriptors>
187                     <tarLongFileMode>gnu</tarLongFileMode>
188                 </configuration>
189                 <executions>
190                     <execution>
191                         <id>make-assembly</id>
192                         <phase>package</phase>
193                         <goals>
194                             <goal>attached</goal>
195                         </goals>
196                     </execution>
197                 </executions>
198             </plugin>
199             <plugin>
200                 <groupId>org.apache.maven.plugins</groupId>
201                 <artifactId>maven-surefire-plugin</artifactId>
202                 <configuration>
203                   <argLine>-Xmx256m</argLine>
204                   <skipTests>true</skipTests>
205                 </configuration>
206             </plugin>
207             <plugin>
208                 <groupId>org.apache.maven.plugins</groupId>
209                 <artifactId>maven-jar-plugin</artifactId>
210                 <configuration>
211                     <archive>
212                         <index>true</index>
213                         <manifestEntries>
214                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
215                         </manifestEntries>
216                         <manifestSections>
217                             <manifestSection>
218                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
219                                 <manifestEntries>
220                                     <Implementation-Title>${pom.artifactId}</Implementation-Title>
221                                     <Implementation-Version>${pom.version}</Implementation-Version>
222                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
223                                 </manifestEntries>
224                             </manifestSection>
225                         </manifestSections>
226                     </archive>
227                 </configuration>
228             </plugin>
229         </plugins>
230     </build>
231
232     <reporting>
233         <plugins>
234             <plugin>
235                 <groupId>org.apache.maven.plugins</groupId>
236                 <artifactId>maven-javadoc-plugin</artifactId>
237                 <configuration>
238                     <links>
239                         <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
240                         <link>http://joda-time.sourceforge.net/apidocs/</link>
241                         <link>http://static.springsource.org/spring/docs/2.0.x/api/</link> 
242                     </links>
243                     <quiet>true</quiet>
244                     <author>false</author>
245                     <version>true</version>
246                     <doctitle>${project.name} ${project.version} Java API.</doctitle>
247                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
248                     <overview>src/main/java/overview.html</overview>
249                 </configuration>
250             </plugin>
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-jxr-plugin</artifactId>
254                 <configuration>
255                     <outputDirectory>${project.reporting.outputDirectory}/xref</outputDirectory>
256                     <doctitle>${project.name} ${project.version} Code Cross-Reference</doctitle>
257                     <windowtitle>${project.name} ${project.version} Java API.</windowtitle>
258                     <javadocDir>${project.reporting.outputDirectory}/apidocs</javadocDir>                    
259                 </configuration>
260             </plugin>
261             <plugin>
262                 <groupId>org.apache.maven.plugins</groupId>
263                 <artifactId>maven-surefire-report-plugin</artifactId>
264                 <configuration>
265                     <outputDirectory>${project.reporting.outputDirectory}/unitTest</outputDirectory>
266                     <xrefLocation>${project.reporting.outputDirectory}/xref</xrefLocation>
267                 </configuration>
268             </plugin>
269         </plugins>
270     </reporting>
271     
272     <profiles>
273         <profile>
274             <id>release</id>
275             <build>
276                 <plugins>
277                     <plugin>
278                         <artifactId>maven-compiler-plugin</artifactId>
279                     </plugin>
280                     <plugin>
281                         <groupId>org.apache.maven.plugins</groupId>
282                         <artifactId>maven-javadoc-plugin</artifactId>
283                         <executions>
284                             <execution>
285                                 <id>release-javadoc</id>
286                                 <phase>package</phase>
287                                 <goals>
288                                     <goal>javadoc</goal>
289                                 </goals>
290                             </execution>
291                         </executions>
292                     </plugin>
293                     <plugin>
294                         <groupId>org.apache.maven.plugins</groupId>
295                         <artifactId>maven-jxr-plugin</artifactId>
296                         <executions>
297                             <execution>
298                                 <id>release-jxr</id>
299                                 <phase>package</phase>
300                                 <goals>
301                                     <goal>jxr</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>http://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.osu.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>Itumi, LLC</organization>
428             <organizationUrl>http://www.itumi.biz/</organizationUrl>
429             <roles>
430                 <role>developer</role>
431                 <role>documentation</role>
432             </roles>
433             <timezone>-5</timezone>
434         </developer>
435         <developer>
436             <id>wnorris</id>
437             <name>Will Norris</name>
438             <organization>Google, Inc.</organization>
439             <organizationUrl>http://www.google.com/</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>