1<!--
2  Licensed to the Apache Software Foundation (ASF) under one
3  or more contributor license agreements. See the NOTICE file
4  distributed with this work for additional information
5  regarding copyright ownership. The ASF licenses this file
6  to you under the Apache License, Version 2.0 (the
7  "License"); you may not use this file except in compliance
8  with the License. You may obtain a copy of the License at
9
10  http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing,
13  software distributed under the License is distributed on an
14  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  KIND, either express or implied. See the License for the
16  specific language governing permissions and limitations
17  under the License.
18-->
19<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20    <modelVersion>4.0.0</modelVersion>
21    <groupId>org.apache.santuario</groupId>
22    <artifactId>xmlsec</artifactId>
23    <packaging>bundle</packaging>
24    <name>Apache XML Security for Java</name>
25    <version>1.5.5</version>
26    <description>
27        Apache XML Security for Java supports XML-Signature Syntax and Processing,
28        W3C Recommendation 12 February 2002, and XML Encryption Syntax and
29        Processing, W3C Recommendation 10 December 2002. As of version 1.4,
30        the library supports the standard Java API JSR-105: XML Digital Signature APIs.
31    </description>
32    <url>http://santuario.apache.org/</url>
33    <issueManagement>
34        <system>JIRA</system>
35        <url>https://issues.apache.org/jira/browse/SANTUARIO</url>
36    </issueManagement>
37    <mailingLists>
38        <mailingList>
39            <name>Apache Santuario Developer List</name>
40            <subscribe>dev-subscribe@santuario.apache.org</subscribe>
41            <unsubscribe>
42                dev-unsubscribe@santuario.apache.org
43            </unsubscribe>
44            <post>dev@santuario.apache.org</post>
45            <archive>
46                http://news.gmane.org/gmane.text.xml.security.devel
47            </archive>
48        </mailingList>
49    </mailingLists>
50    <inceptionYear>2000</inceptionYear>
51    <licenses>
52        <license>
53            <name>The Apache Software License, Version 2.0</name>
54            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
55            <distribution>repo</distribution>
56        </license>
57    </licenses>
58    <scm>
59        <connection>
60            scm:svn:http://svn.apache.org/repos/asf/santuario/xml-security-java/tags/1.5.5
61        </connection>
62        <developerConnection>
63            scm:svn:https://svn.apache.org/repos/asf/santuario/xml-security-java/tags/1.5.5
64        </developerConnection>
65        <url>http://svn.apache.org/repos/asf/santuario/xml-security-java/tags/1.5.5</url>
66    </scm>
67    <organization>
68        <name>The Apache Software Foundation</name>
69        <url>http://www.apache.org/</url>
70    </organization>
71
72    <parent>
73        <groupId>org.apache</groupId>
74        <artifactId>apache</artifactId>
75        <version>11</version>
76    </parent>
77
78    <build>
79        <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
80        <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
81        <resources>
82            <resource>
83                <directory>src/main/java</directory>
84                <excludes>
85                    <exclude>**/*.java</exclude>
86                </excludes>
87            </resource>
88        </resources>
89        <testResources>
90            <testResource>
91                <directory>src/test/java</directory>
92                <excludes>
93                    <exclude>**/*.java</exclude>
94                </excludes>
95            </testResource>
96            <testResource>
97                <directory>src/test/resources</directory>
98                <excludes>
99                    <exclude>**/*.java</exclude>
100                </excludes>
101            </testResource>
102        </testResources>
103
104        <plugins>
105            <!--
106            <plugin>
107                <groupId>org.apache.maven.plugins</groupId>
108                <artifactId>maven-pmd-plugin</artifactId>
109                <version>2.5</version>
110                <configuration>
111                    <linkXRef>false</linkXRef>
112                    <failOnViolation>true</failOnViolation>
113                    <verbose>true</verbose>
114                    <targetJdk>1.5</targetJdk>
115                    <excludes>
116                        <exclude>
117                            **/XMLX509SKI.java,**/KeyInfoFactory.java,**/XMLDSigSecurity.java,**/DEREncodedKeyValue.java
118                        </exclude>
119                    </excludes>
120                </configuration>
121                <executions>
122                    <execution>
123                        <id>validate</id>
124                        <phase>validate</phase>
125                        <goals>
126                            <goal>check</goal>
127                        </goals>
128                    </execution>
129                </executions>
130            </plugin>
131            -->
132
133            <plugin>
134                <groupId>org.apache.maven.plugins</groupId>
135                <artifactId>maven-compiler-plugin</artifactId>
136                <version>3.1</version>
137                <configuration>
138                    <source>1.5</source>
139                    <target>1.5</target>
140                </configuration>
141            </plugin>
142
143            <plugin>
144                <groupId>org.apache.maven.plugins</groupId>
145                <artifactId>maven-jar-plugin</artifactId>
146                <version>2.3.1</version>
147                <executions>
148                    <execution>
149                        <phase>test-compile</phase>
150                        <goals>
151                            <goal>jar</goal>
152                            <goal>test-jar</goal>
153                        </goals>
154                        <configuration>
155                            <outputDirectory>${project.build.directory}</outputDirectory>
156                            <testClassesDirectory>${project.build.directory}/test-classes</testClassesDirectory>
157                        </configuration>
158                    </execution>
159                </executions>
160            </plugin>
161
162            <plugin>
163                <groupId>org.apache.felix</groupId>
164                <artifactId>maven-bundle-plugin</artifactId>
165                <version>2.3.4</version>
166                <extensions>true</extensions>
167                <configuration>
168                    <instructions>
169                        <Implementation-Title>Apache XML Security</Implementation-Title>
170                        <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
171                        <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
172                        <Implementation-Version>${project.version}</Implementation-Version>
173                        <Specification-Title>Apache XML Security</Specification-Title>
174                        <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
175                        <Specification-Version>${project.version}</Specification-Version>
176                        <Export-Package>
177                              org.apache.xml.security.*;version="${project.version}",
178                              javax.xml.crypto.*;version="${project.version}",
179                              org.apache.jcp.xml.dsig.internal.*;version="${project.version}",
180                        </Export-Package>
181                        <Import-Package>
182                              !org.apache.xml.security.*,
183                              !javax.xml.crypto.*,
184                              !org.apache.jcp.xml.dsig.internal.*,
185                              org.apache.commons.logging;resolution:=optional;version="[1.1,2)",
186                              org.apache.xml.dtm*;resolution:=optional;version="[2.7,3)",
187                              org.apache.xml.utils*;resolution:=optional;version="[2.7,3)",
188                              org.apache.xpath*;resolution:=optional;version="[2.7,3)",
189                              *
190                        </Import-Package>
191                        <DynamicImport-Package>*</DynamicImport-Package>
192                    </instructions>
193                </configuration>
194            </plugin>
195            <plugin>
196                <groupId>org.apache.maven.plugins</groupId>
197                <artifactId>maven-release-plugin</artifactId>
198                <version>2.2.1</version>
199                <configuration>
200                    <useReleaseProfile>false</useReleaseProfile>
201                    <preparationGoals>clean install</preparationGoals>
202                    <goals>deploy</goals>
203                    <arguments>-Papache-release</arguments>
204                    <autoVersionSubmodules>true</autoVersionSubmodules>
205                </configuration>
206            </plugin>
207        </plugins>
208
209        <pluginManagement>
210            <plugins>
211                <plugin>
212                    <groupId>org.apache.maven.plugins</groupId>
213                    <artifactId>maven-source-plugin</artifactId>
214                    <version>2.1.2</version>
215                    <executions>
216                        <execution>
217                            <goals>
218                                <goal>jar</goal>
219                            </goals>
220                        </execution>
221                    </executions>
222                    <configuration>
223                        <attach>true</attach>
224                    </configuration>
225                </plugin>
226                <plugin>
227                    <groupId>org.apache.maven.plugins</groupId>
228                    <artifactId>maven-javadoc-plugin</artifactId>
229                    <version>2.7</version>
230                    <executions>
231                        <execution>
232                            <goals>
233                                <goal>jar</goal>
234                            </goals>
235                        </execution>
236                    </executions>
237                    <configuration>
238                        <attach>true</attach>
239                    </configuration>
240                </plugin>
241                <plugin>
242                    <groupId>org.apache.maven.plugins</groupId>
243                    <artifactId>maven-surefire-plugin</artifactId>
244                    <version>2.6</version>
245                    <configuration>
246                        <reportFormat>brief</reportFormat>
247                        <useFile>false</useFile>
248                        <forkMode>pertest</forkMode>
249                        <childDelegation>false</childDelegation>
250                        <includes>
251                            <include>**/*Test.java</include>
252                        </includes>
253                        <systemPropertyVariables>
254                            <product.version>${project.version}</product.version>
255                        </systemPropertyVariables>
256                    </configuration>
257                </plugin>
258
259            </plugins>
260        </pluginManagement>
261
262        <defaultGoal>install</defaultGoal>
263    </build>
264
265
266    <profiles>
267        <profile>
268            <id>jdk15</id>
269            <activation>
270                <jdk>1.5</jdk>
271            </activation>
272            <dependencies>
273                <dependency>
274                    <groupId>org.bouncycastle</groupId>
275                    <artifactId>bcprov-jdk15on</artifactId>
276                    <version>${bcprov.version}</version>
277                    <scope>test</scope>
278                </dependency>
279            </dependencies>
280            <build>
281                <plugins>
282                    <plugin>
283                        <groupId>org.apache.maven.plugins</groupId>
284                        <artifactId>maven-compiler-plugin</artifactId>
285                    </plugin>
286                </plugins>
287            </build>
288        </profile>
289        <profile>
290            <id>jdk16</id>
291            <activation>
292                <jdk>1.6</jdk>
293                <activeByDefault>true</activeByDefault>
294            </activation>
295            <dependencies>
296                <dependency>
297                    <groupId>org.bouncycastle</groupId>
298                    <artifactId>bcprov-jdk15on</artifactId>
299                    <version>${bcprov.version}</version>
300                    <scope>test</scope>
301                </dependency>
302            </dependencies>
303        </profile>
304        <profile>
305            <id>release</id>
306            <activation>
307                <property>
308                    <name>release</name>
309                    <value />
310                </property>
311            </activation>
312            <build>
313                <plugins>
314                    <plugin>
315                        <groupId>org.apache.maven.plugins</groupId>
316                        <artifactId>maven-javadoc-plugin</artifactId>
317                        <version>2.7</version>
318                    </plugin>
319                    <plugin>
320                        <groupId>org.apache.maven.plugins</groupId>
321                        <artifactId>maven-source-plugin</artifactId>
322                        <version>2.1.2</version>
323                    </plugin>
324                </plugins>
325            </build>
326        </profile>
327        <profile>
328            <id>fastinstall</id>
329            <properties>
330                <maven.test.skip>true</maven.test.skip>
331            </properties>
332        </profile>
333    </profiles>
334
335    <properties>
336        <xml.apis.version>1.3.04</xml.apis.version>
337        <commons.logging.version>1.1.1</commons.logging.version>
338        <xalan.version>2.7.1</xalan.version>
339        <xerces.version>2.9.1</xerces.version>
340        <junit.version>4.8.2</junit.version>
341        <log4j.version>1.2.17</log4j.version>
342        <bcprov.version>1.47</bcprov.version>
343    </properties>
344
345    <dependencies>
346        <dependency>
347            <groupId>commons-logging</groupId>
348            <artifactId>commons-logging</artifactId>
349            <version>${commons.logging.version}</version>
350            <scope>compile</scope>
351        </dependency>
352        <dependency>
353            <groupId>junit</groupId>
354            <artifactId>junit</artifactId>
355            <version>${junit.version}</version>
356            <scope>test</scope>
357        </dependency>
358        <dependency>
359            <groupId>log4j</groupId>
360            <artifactId>log4j</artifactId>
361            <version>${log4j.version}</version>
362            <scope>test</scope>
363        </dependency>
364        <dependency>
365            <groupId>xalan</groupId>
366            <artifactId>xalan</artifactId>
367            <version>${xalan.version}</version>
368            <scope>provided</scope>
369            <optional>true</optional>
370        </dependency>
371        <dependency>
372            <groupId>xerces</groupId>
373            <artifactId>xercesImpl</artifactId>
374            <version>${xerces.version}</version>
375            <scope>provided</scope>
376            <optional>true</optional>
377        </dependency>
378        <dependency>
379            <groupId>xml-apis</groupId>
380            <artifactId>xml-apis</artifactId>
381            <version>${xml.apis.version}</version>
382            <scope>provided</scope>
383            <optional>true</optional>
384        </dependency>
385    </dependencies>
386
387    <distributionManagement>
388        <repository>
389            <id>apache.releases.https</id>
390            <name>Apache Release Distribution Repository</name>
391            <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
392        </repository>
393        <snapshotRepository>
394            <id>apache.snapshots.https</id>
395            <name>Apache Development Snapshot Repository</name>
396            <url>https://repository.apache.org/content/repositories/snapshots</url>
397            <uniqueVersion>false</uniqueVersion>
398        </snapshotRepository>
399    </distributionManagement>
400
401</project>
402