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