.java-client-api.3.0.4.source-code.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="utf-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>com.marklogic</groupId> <artifactId>java-client-api</artifactId> <packaging>jar</packaging> <version>3.0.4</version> <name>MarkLogic Java Client API</name> <description>The official MarkLogic Java client API.</description> <url>https://github.com/marklogic/java-client-api</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>MarkLogic</name> <email>[email protected]</email> <organization>MarkLogic</organization> <organizationUrl>https://www.marklogic.com</organizationUrl> </developer> <developer> <name>MarkLogic Github Contributors</name> <email>[email protected]</email> <organization>Github Contributors</organization> <organizationUrl>https://github.com/marklogic/java-client-api/graphs/contributors</organizationUrl> </developer> </developers> <scm> <connection>scm:git:[email protected]:marklogic/java-client-api.git</connection> <developerConnection>scm:git:[email protected]:marklogic/java-client-api.git</developerConnection> <url>[email protected]:marklogic/java-client-api.git</url> </scm> <properties> <javadoc-title>${project.name} ${project.version} ${maven.build.timestamp}</javadoc-title> <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <github.global.server>github</github.global.server> </properties> <distributionManagement> <repository> <id>internal.repo</id> <name>Temporary Staging Repository</name> <url>file://${project.build.directory}/mvn-repo</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <configuration> <bottom><![CDATA[Copyright © 2013-2015 MarkLogic Corporation.]]></bottom> <excludePackageNames>*.impl:*.jaxb:*.test:*.test.*</excludePackageNames> <links> <link>http://docs.oracle.com/javase/8/docs/api/</link> </links> <overview>${basedir}/src/main/javadoc/overview.html</overview> <show>public</show> <doctitle>${javadoc-title}</doctitle> <use/> </configuration> <executions> <execution> <id>make-javadoc</id> <phase>prepare-package</phase> <goals> <goal>javadoc</goal> </goals> </execution> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <includes/> <excludes> <exclude>search.xsd</exclude> <exclude>search-bindings.xjb</exclude> <exclude>query-options-template.xml</exclude> <exclude>com/marklogic/client/example/**</exclude> <exclude>data/**</exclude> <exclude>Example.properties</exclude> <exclude>example/**</exclude> <exclude>scripts/**</exclude> <exclude>*.txt</exclude> <exclude>property.xsd</exclude> <exclude>restapi-bindings.xjb</exclude> <exclude>security.xsd</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> <configuration> <includePom>true</includePom> <excludes> <exclude>scripts/**</exclude> <exclude>example/**</exclude> <exclude>data/**</exclude> <exclude>Example.properties</exclude> <exclude>*.xsd</exclude> <exclude>*.xjb</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <filters> <filter>src/assemble/filter.properties</filter> </filters> <descriptors> <descriptor>src/assemble/marklogicdistribution.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.1</version> <configuration> <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository> </configuration> </plugin> <plugin> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.10</version> <configuration> <message>Maven artifacts for ${project.version}</message> <merge>true</merge> <noJekyll>true</noJekyll> <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <branch>refs/heads/mvn-repo</branch> <includes><include>**/*</include></includes> <repositoryName>java-client-api</repositoryName> <repositoryOwner>marklogic</repositoryOwner> </configuration> <executions> <!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --> <execution> <goals> <goal>site</goal> </goals> <phase>deploy</phase> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>Java 8</id> <activation> <jdk>1.8</jdk> </activation> <properties> <!-- Disable Java 8 overly strict javadoc linter when building with Java 8 http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html --> <additionalparam>-Xdoclint:none</additionalparam> </properties> </profile> </profiles> <dependencies> <!-- direct build / run dependencies --> <!-- <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-client</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-apache-client4</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-multipart</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-multipart</artifactId> <version>2.12</version> </dependency> --> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-client</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-apache-client4</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-multipart</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.7</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>org.jvnet.mimepull</groupId> <artifactId>mimepull</artifactId> <version>1.9.4</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.4</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.4.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.4.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.4.1</version> </dependency> <!-- test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <!-- example dependencies --> <dependency> <groupId>org.jdom</groupId> <artifactId>jdom2</artifactId> <version>2.0.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>xom</groupId> <artifactId>xom</artifactId> <version>1.2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.sourceforge.htmlcleaner</groupId> <artifactId>htmlcleaner</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.sf.opencsv</groupId> <artifactId>opencsv</artifactId> <version>2.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.geonames</groupId> <artifactId>geonames</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> <version>2.4.1</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-csv</artifactId> <version>2.4.1</version> <scope>test</scope> </dependency> </dependencies> </project>