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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 3 4 <modelVersion>4.0.0</modelVersion> 5 <groupId>net.sourceforge.saxon</groupId> 6 <artifactId>saxon</artifactId> 7 <version>9.1.0.8</version> 8 <packaging>jar</packaging> 9 10 <name>SaxonB</name> 11 <url>http://saxon.sourceforge.net/</url> 12 13 <organization> 14 <name>sourceforge</name> 15 <url>http://www.sourceforge.net</url> 16 </organization> 17 18 <description> 19 Saxon a complete and conformant implementation of the XSLT 2.0, XQuery 1.0, and XPath 2.0 Recommendations published on 23 January 2007 by W3C 20 </description> 21 22 <licenses> 23 <license> 24 <name>Mozilla Public License Version 1.0</name> 25 <url>http://www.mozilla.org/MPL/MPL-1.0.txt</url> 26 <comments>See http://saxon.sourceforge.net for other notices files </comments> 27 </license> 28 </licenses> 29 30 31 <scm> 32 <connection>scm:svn:http://saxon.svn.sourceforge.net/viewvc/saxon/tags/9.1.0.8</connection> 33 <developerConnection>scm:svn:http://saxon.svn.sourceforge.net/viewvc/saxon/tags/9.1.0.8</developerConnection> 34 <url>http://saxon.svn.sourceforge.net/viewvc/saxon/tags/9.1.0.8</url> 35 </scm> 36 37 <profiles> 38 39 <!-- ========================================================================== --> 40 <!-- Use this profile to create maven upload bundle --> 41 <!-- Require: saxonb-9.1-0-8j.zip upacked at ${basedir} --> 42 <!-- copy saxonb9-1-0-8source.zip to ${basedir} --> 43 <!-- copy saxon-resources9-1-0-1.zip to ${basedir} --> 44 <!-- ========================================================================== --> 45 <profile> 46 <id>build-maven-upload-bundle</id> 47 <build> 48 <defaultGoal>package</defaultGoal> 49 <plugins> 50 <plugin> 51 <groupId>org.codehaus.mojo</groupId> 52 <artifactId>truezip-maven-plugin</artifactId> 53 <version>1.0-beta-4</version> 54 <executions> 55 <execution> 56 <id>extract-javadoc-from-resource-bundle</id> 57 <phase>generate-sources</phase> 58 <goals> 59 <goal>copy</goal> 60 </goals> 61 <configuration> 62 <fileset> 63 <directory>${basedir}/saxon-resources9-1-0-1.zip/doc/javadoc</directory> 64 <outputDirectory>${project.build.directory}/upload/${project.artifactId}-${project.version}-javadoc.jar</outputDirectory> 65 </fileset> 66 </configuration> 67 </execution> 68 </executions> 69 </plugin> 70 <plugin> 71 <groupId>org.apache.maven.plugins</groupId> 72 <artifactId>maven-antrun-plugin</artifactId> 73 <version>1.2</version> 74 <executions> 75 <execution> 76 <id>copy-main-jars-to-staging-directory</id> 77 <phase>package</phase> 78 <goals> 79 <goal>run</goal> 80 </goals> 81 <configuration> 82 <tasks> 83 <mkdir dir="${project.build.directory}/upload" /> 84 <!-- pom --> 85 <copy file="${basedir}/pom.xml" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}.pom" /> 86 <copy file="${basedir}/saxon9.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}.jar" /> 87 <!-- the rest are classifier jars --> 88 <copy file="${basedir}/saxon9-dom.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-dom.jar" /> 89 <copy file="${basedir}/saxon9-dom4j.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-dom4j.jar" /> 90 <copy file="${basedir}/saxon9-jdom.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-jdom.jar" /> 91 <copy file="${basedir}/saxon9-s9api.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-s9api.jar" /> 92 <copy file="${basedir}/saxon9-sql.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-sql.jar" /> 93 <copy file="${basedir}/saxon9-xom.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-xom.jar" /> 94 <copy file="${basedir}/saxon9-xqj.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-xqj.jar" /> 95 <copy file="${basedir}/saxon9-xpath.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-xpath.jar" /> 96 <copy file="${basedir}/saxon9-xqj.jar" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-xqj.jar" /> 97 <copy file="${basedir}/saxonb9-1-0-8source.zip" tofile="${project.build.directory}/upload/${project.artifactId}-${project.version}-sources.jar" /> 98 99 <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}-bundle.jar" basedir="${project.build.directory}/upload" /> 100 101 </tasks> 102 </configuration> 103 </execution> 104 </executions> 105 </plugin> 106 </plugins> 107 </build> 108 </profile> 109 </profiles> 110 </project> 111 112 113