e0314c2c6981a9d9a64848f36c1a4f49000271f0
[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
5     <modelVersion>4.0.0</modelVersion>
6
7     <parent>
8         <groupId>net.shibboleth</groupId>
9         <artifactId>parent</artifactId>
10         <version>1</version>
11     </parent>
12
13     <groupId>edu.internet2.middleware</groupId>
14     <artifactId>shibboleth-identityprovider</artifactId>
15     <version>2.3.3</version>
16
17     <!-- We bundle as a jar here, the installer creates the WAR -->
18     <packaging>jar</packaging>
19
20     <name>Shibboleth Identity Provider</name>
21     <description>
22         The Shibboleth Identity Provider is used by an organization to securely assert information, via SAML, about
23         their users.  This information is then read and acted upon by Service Providers.
24     </description>
25
26     <properties>
27         <svn.relative.location>java-shib-idp2</svn.relative.location>
28     </properties>
29
30     <dependencies>
31         <!-- Compile dependencies -->
32         <dependency>
33             <groupId>edu.internet2.middleware</groupId>
34             <artifactId>shibboleth-common</artifactId>
35             <version>1.3.3</version>
36         </dependency>
37
38         <!-- Provided dependencies -->
39         <dependency>
40             <groupId>javax.servlet.jsp</groupId>
41             <artifactId>jsp-api</artifactId>
42             <version>2.0</version>
43         </dependency>
44
45         <!-- Runtime dependencies -->
46         <dependency>
47             <groupId>ant-contrib</groupId>
48             <artifactId>ant-contrib</artifactId>
49             <version>1.0b2</version>
50             <scope>runtime</scope>
51             <exclusions>
52                 <exclusion>
53                     <groupId>ant</groupId>
54                     <artifactId>ant</artifactId>
55                 </exclusion>
56             </exclusions>
57         </dependency>
58         <dependency>
59             <groupId>edu.internet2.middleware</groupId>
60             <artifactId>ant-extensions</artifactId>
61             <version>11Jan2011</version>
62             <scope>runtime</scope>
63             <exclusions>
64                 <exclusion>
65                     <groupId>org.bouncycastle</groupId>
66                     <artifactId>bcprov-jdk14</artifactId>
67                 </exclusion>
68             </exclusions>
69         </dependency>
70         <dependency>
71             <groupId>edu.internet2.middleware</groupId>
72             <artifactId>shibboleth-jce</artifactId>
73             <version>1.1.0</version>
74             <scope>runtime</scope>
75         </dependency>
76
77         <!-- Test dependencies -->
78         <dependency>
79             <groupId>junit</groupId>
80             <artifactId>junit</artifactId>
81             <version>3.8.1</version>
82             <scope>test</scope>
83         </dependency>
84         <dependency>
85             <groupId>org.springframework</groupId>
86             <artifactId>spring-test</artifactId>
87             <version>2.5.6.SEC02</version>
88             <scope>test</scope>
89             <exclusions>
90                 <exclusion>
91                     <groupId>commons-logging</groupId>
92                     <artifactId>commons-logging</artifactId>
93                 </exclusion>
94             </exclusions>
95         </dependency>
96
97         <!-- Managed Dependencies -->
98         <dependency>
99             <groupId>javax.servlet</groupId>
100             <artifactId>servlet-api</artifactId>
101         </dependency>
102         <dependency>
103             <groupId>${xerces.groupId}</groupId>
104             <artifactId>xml-apis</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>${xerces.groupId}</groupId>
108             <artifactId>xercesImpl</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>${xerces.groupId}</groupId>
112             <artifactId>serializer</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>xml-resolver</groupId>
116             <artifactId>xml-resolver</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>${xalan.groupId}</groupId>
120             <artifactId>xalan</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>xmlunit</groupId>
124             <artifactId>xmlunit</artifactId>
125         </dependency>
126     </dependencies>
127
128     <build>
129         <plugins>
130             <plugin>
131                 <groupId>org.apache.maven.plugins</groupId>
132                 <artifactId>maven-jar-plugin</artifactId>
133                 <version>2.3.1</version>
134                 <configuration>
135                     <archive>
136                         <index>true</index>
137                         <manifestEntries>
138                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
139                         </manifestEntries>
140                         <manifestSections>
141                             <manifestSection>
142                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
143                                 <manifestEntries>
144                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
145                                     <Implementation-Version>${project.version}</Implementation-Version>
146                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
147                                 </manifestEntries>
148                             </manifestSection>
149                         </manifestSections>
150                     </archive>
151                 </configuration>
152             </plugin>
153         </plugins>
154     </build>
155
156     <profiles>
157         <profile>
158             <id>release</id>
159             <build>
160                 <plugins>
161                     <plugin>
162                         <groupId>org.apache.maven.plugins</groupId>
163                         <artifactId>maven-assembly-plugin</artifactId>
164                         <version>2.2.1</version>
165                         <configuration>
166                             <descriptors>
167                                 <descriptor>src/main/assembly/bin.xml</descriptor>
168                             </descriptors>
169                         </configuration>
170                     </plugin>
171                 </plugins>
172             </build>
173         </profile>
174     </profiles>
175
176 </project>