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