d1eeedec88a6cdccf495e0dd0f1d73109aa43519
[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>2</version>
11     </parent>
12
13     <groupId>edu.internet2.middleware</groupId>
14     <artifactId>shibboleth-identityprovider</artifactId>
15     <version>2.3.4</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     <repositories>
31         <repository>
32             <id>shib-release</id>
33             <url>https://shibboleth.net/nexus/content/groups/public</url>
34             <snapshots>
35                 <enabled>false</enabled>
36             </snapshots>
37         </repository>
38         <repository>
39             <id>shib-snapshot</id>
40             <url>https://shibboleth.net/nexus/content/repositories/snapshots</url>
41             <releases>
42                 <enabled>false</enabled>
43             </releases>
44         </repository>
45     </repositories>
46
47     <dependencies>
48         <!-- Compile dependencies -->
49         <dependency>
50             <groupId>edu.internet2.middleware</groupId>
51             <artifactId>shibboleth-common</artifactId>
52             <version>1.3.4</version>
53         </dependency>
54
55         <!-- Provided dependencies -->
56
57         <!-- Runtime dependencies -->
58         <dependency>
59             <groupId>org.bouncycastle</groupId>
60             <artifactId>bcprov-jdk15</artifactId>
61             <version>1.45</version>
62         </dependency>
63         <dependency>
64             <groupId>ant-contrib</groupId>
65             <artifactId>ant-contrib</artifactId>
66             <version>1.0b2</version>
67             <scope>runtime</scope>
68             <exclusions>
69                 <exclusion>
70                     <groupId>ant</groupId>
71                     <artifactId>ant</artifactId>
72                 </exclusion>
73             </exclusions>
74         </dependency>
75         <dependency>
76             <groupId>edu.internet2.middleware</groupId>
77             <artifactId>ant-extensions</artifactId>
78             <version>11Jan2011</version>
79             <scope>runtime</scope>
80             <exclusions>
81                 <exclusion>
82                     <groupId>org.bouncycastle</groupId>
83                     <artifactId>bcprov-jdk14</artifactId>
84                 </exclusion>
85             </exclusions>
86         </dependency>
87         <dependency>
88             <groupId>edu.internet2.middleware</groupId>
89             <artifactId>shibboleth-jce</artifactId>
90             <version>1.1.0</version>
91             <scope>runtime</scope>
92         </dependency>
93
94         <!-- Test dependencies -->
95         <dependency>
96             <groupId>junit</groupId>
97             <artifactId>junit</artifactId>
98             <version>3.8.1</version>
99             <scope>test</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.springframework</groupId>
103             <artifactId>spring-test</artifactId>
104             <version>2.5.6.SEC02</version>
105             <scope>test</scope>
106             <exclusions>
107                 <exclusion>
108                     <groupId>commons-logging</groupId>
109                     <artifactId>commons-logging</artifactId>
110                 </exclusion>
111             </exclusions>
112         </dependency>
113
114         <!-- Managed Dependencies -->
115         <dependency>
116             <groupId>javax.servlet</groupId>
117             <artifactId>servlet-api</artifactId>
118         </dependency>
119         <dependency>
120             <groupId>javax.servlet.jsp</groupId>
121             <artifactId>jsp-api</artifactId>
122         </dependency>
123         <dependency>
124             <groupId>${xerces.groupId}</groupId>
125             <artifactId>xml-apis</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>${xerces.groupId}</groupId>
129             <artifactId>xercesImpl</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>${xerces.groupId}</groupId>
133             <artifactId>serializer</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>xml-resolver</groupId>
137             <artifactId>xml-resolver</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>${xalan.groupId}</groupId>
141             <artifactId>xalan</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>xmlunit</groupId>
145             <artifactId>xmlunit</artifactId>
146         </dependency>
147     </dependencies>
148
149     <build>
150         <plugins>
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-jar-plugin</artifactId>
154                 <version>2.3.1</version>
155                 <configuration>
156                     <archive>
157                         <index>true</index>
158                         <manifestEntries>
159                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
160                         </manifestEntries>
161                         <manifestSections>
162                             <manifestSection>
163                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
164                                 <manifestEntries>
165                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
166                                     <Implementation-Version>${project.version}</Implementation-Version>
167                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
168                                 </manifestEntries>
169                             </manifestSection>
170                         </manifestSections>
171                     </archive>
172                 </configuration>
173             </plugin>
174         </plugins>
175     </build>
176
177     <profiles>
178         <profile>
179             <id>release</id>
180             <build>
181                 <plugins>
182                     <plugin>
183                         <groupId>org.apache.maven.plugins</groupId>
184                         <artifactId>maven-assembly-plugin</artifactId>
185                         <version>2.2.1</version>
186                         <configuration>
187                             <descriptors>
188                                 <descriptor>src/main/assembly/bin.xml</descriptor>
189                             </descriptors>
190                         </configuration>
191                     </plugin>
192                 </plugins>
193             </build>
194         </profile>
195     </profiles>
196
197 </project>