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