need to leave repository locations in project POM so it can find the parent POM
[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     <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.3</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         </dependency>
61
62         <!-- Runtime dependencies -->
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>${xerces.groupId}</groupId>
121             <artifactId>xml-apis</artifactId>
122         </dependency>
123         <dependency>
124             <groupId>${xerces.groupId}</groupId>
125             <artifactId>xercesImpl</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>${xerces.groupId}</groupId>
129             <artifactId>serializer</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>xml-resolver</groupId>
133             <artifactId>xml-resolver</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>${xalan.groupId}</groupId>
137             <artifactId>xalan</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>xmlunit</groupId>
141             <artifactId>xmlunit</artifactId>
142         </dependency>
143     </dependencies>
144
145     <build>
146         <plugins>
147             <plugin>
148                 <groupId>org.apache.maven.plugins</groupId>
149                 <artifactId>maven-jar-plugin</artifactId>
150                 <version>2.3.1</version>
151                 <configuration>
152                     <archive>
153                         <index>true</index>
154                         <manifestEntries>
155                             <Main-Class>edu.internet2.middleware.shibboleth.idp.Version</Main-Class>
156                         </manifestEntries>
157                         <manifestSections>
158                             <manifestSection>
159                                 <name>edu/internet2/middleware/shibboleth/idp/</name>
160                                 <manifestEntries>
161                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
162                                     <Implementation-Version>${project.version}</Implementation-Version>
163                                     <Implementation-Vendor>shibboleth.internet2.edu</Implementation-Vendor>
164                                 </manifestEntries>
165                             </manifestSection>
166                         </manifestSections>
167                     </archive>
168                 </configuration>
169             </plugin>
170         </plugins>
171     </build>
172
173     <profiles>
174         <profile>
175             <id>release</id>
176             <build>
177                 <plugins>
178                     <plugin>
179                         <groupId>org.apache.maven.plugins</groupId>
180                         <artifactId>maven-assembly-plugin</artifactId>
181                         <version>2.2.1</version>
182                         <configuration>
183                             <descriptors>
184                                 <descriptor>src/main/assembly/bin.xml</descriptor>
185                             </descriptors>
186                         </configuration>
187                     </plugin>
188                 </plugins>
189             </build>
190         </profile>
191     </profiles>
192
193 </project>