Update shib-common version and IdP build version.
[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.4-SNAPSHOT</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         <dependency>
57             <groupId>javax.servlet.jsp</groupId>
58             <artifactId>jsp-api</artifactId>
59             <version>2.0</version>
60             <scope>provided</scope>
61         </dependency>
62
63         <!-- Runtime dependencies -->
64         <dependency>
65             <groupId>ant-contrib</groupId>
66             <artifactId>ant-contrib</artifactId>
67             <version>1.0b2</version>
68             <scope>runtime</scope>
69             <exclusions>
70                 <exclusion>
71                     <groupId>ant</groupId>
72                     <artifactId>ant</artifactId>
73                 </exclusion>
74             </exclusions>
75         </dependency>
76         <dependency>
77             <groupId>edu.internet2.middleware</groupId>
78             <artifactId>ant-extensions</artifactId>
79             <version>11Jan2011</version>
80             <scope>runtime</scope>
81             <exclusions>
82                 <exclusion>
83                     <groupId>org.bouncycastle</groupId>
84                     <artifactId>bcprov-jdk14</artifactId>
85                 </exclusion>
86             </exclusions>
87         </dependency>
88         <dependency>
89             <groupId>edu.internet2.middleware</groupId>
90             <artifactId>shibboleth-jce</artifactId>
91             <version>1.1.0</version>
92             <scope>runtime</scope>
93         </dependency>
94
95         <!-- Test dependencies -->
96         <dependency>
97             <groupId>junit</groupId>
98             <artifactId>junit</artifactId>
99             <version>3.8.1</version>
100             <scope>test</scope>
101         </dependency>
102         <dependency>
103             <groupId>org.springframework</groupId>
104             <artifactId>spring-test</artifactId>
105             <version>2.5.6.SEC02</version>
106             <scope>test</scope>
107             <exclusions>
108                 <exclusion>
109                     <groupId>commons-logging</groupId>
110                     <artifactId>commons-logging</artifactId>
111                 </exclusion>
112             </exclusions>
113         </dependency>
114
115         <!-- Managed Dependencies -->
116         <dependency>
117             <groupId>javax.servlet</groupId>
118             <artifactId>servlet-api</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>${xerces.groupId}</groupId>
122             <artifactId>xml-apis</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>${xerces.groupId}</groupId>
126             <artifactId>xercesImpl</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>${xerces.groupId}</groupId>
130             <artifactId>serializer</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>xml-resolver</groupId>
134             <artifactId>xml-resolver</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>${xalan.groupId}</groupId>
138             <artifactId>xalan</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>xmlunit</groupId>
142             <artifactId>xmlunit</artifactId>
143         </dependency>
144     </dependencies>
145
146     <build>
147         <plugins>
148             <plugin>
149                 <groupId>org.apache.maven.plugins</groupId>
150                 <artifactId>maven-jar-plugin</artifactId>
151                 <version>2.3.1</version>
152                 <configuration>
153                     <archive>
154                         <index>true</index>
155                         <manifestEntries>
156                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
157                         </manifestEntries>
158                         <manifestSections>
159                             <manifestSection>
160                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
161                                 <manifestEntries>
162                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
163                                     <Implementation-Version>${project.version}</Implementation-Version>
164                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
165                                 </manifestEntries>
166                             </manifestSection>
167                         </manifestSections>
168                     </archive>
169                 </configuration>
170             </plugin>
171         </plugins>
172     </build>
173
174     <profiles>
175         <profile>
176             <id>release</id>
177             <build>
178                 <plugins>
179                     <plugin>
180                         <groupId>org.apache.maven.plugins</groupId>
181                         <artifactId>maven-assembly-plugin</artifactId>
182                         <version>2.2.1</version>
183                         <configuration>
184                             <descriptors>
185                                 <descriptor>src/main/assembly/bin.xml</descriptor>
186                             </descriptors>
187                         </configuration>
188                     </plugin>
189                 </plugins>
190             </build>
191         </profile>
192     </profiles>
193
194 </project>