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