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