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