|
|
<?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>cn.keking</groupId>
|
|
|
<artifactId>office-plugin</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<packaging>jar</packaging>
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
</properties>
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<!-- required for org.hyperic:sigar -->
|
|
|
<id>jboss-public-repository-group</id>
|
|
|
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>1.4</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.openoffice</groupId>
|
|
|
<artifactId>juh</artifactId>
|
|
|
<version>3.2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.openoffice</groupId>
|
|
|
<artifactId>ridl</artifactId>
|
|
|
<version>3.2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.openoffice</groupId>
|
|
|
<artifactId>unoil</artifactId>
|
|
|
<version>3.2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<!-- for the command line tool -->
|
|
|
<groupId>commons-cli</groupId>
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
<version>1.1</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.hyperic</groupId>
|
|
|
<artifactId>sigar</artifactId>
|
|
|
<version>1.6.5.132</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.json</groupId>
|
|
|
<artifactId>json</artifactId>
|
|
|
<version>20090211</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.testng</groupId>
|
|
|
<artifactId>testng</artifactId>
|
|
|
<version>6.0.1</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<!-- 要将源码放上去,需要加入这个插件 -->
|
|
|
<plugin>
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
<version>2.1</version>
|
|
|
<configuration>
|
|
|
<attach>true</attach>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<phase>compile</phase>
|
|
|
<goals>
|
|
|
<goal>jar</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<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>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
<version>2.7.2</version>
|
|
|
<configuration>
|
|
|
<!-- don't run tests in parallel -->
|
|
|
<perCoreThreadCount>false</perCoreThreadCount>
|
|
|
<threadCount>1</threadCount>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
<version>2.3.1</version>
|
|
|
<configuration>
|
|
|
<archive>
|
|
|
<manifest>
|
|
|
<mainClass>org.artofsolving.jodconverter.cli.Convert</mainClass>
|
|
|
<addClasspath>true</addClasspath>
|
|
|
</manifest>
|
|
|
</archive>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
<version>2.2-beta-5</version>
|
|
|
<configuration>
|
|
|
<descriptors>
|
|
|
<descriptor>src/main/assembly/dist.xml</descriptor>
|
|
|
</descriptors>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
<reporting>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
<version>2.7</version>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
<version>2.4</version>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</reporting>
|
|
|
<!-- distribute目录 -->
|
|
|
<distributionManagement>
|
|
|
<repository>
|
|
|
<id>repo</id>
|
|
|
<name>User Project Releases</name>
|
|
|
<url>http://192.168.1.204:8081/nexus/content/repositories/releases</url>
|
|
|
</repository>
|
|
|
<snapshotRepository>
|
|
|
<id>repo</id>
|
|
|
<name>User Project SNAPSHOTS</name>
|
|
|
<url>http://192.168.1.204:8081/nexus/content/repositories/snapshots</url>
|
|
|
</snapshotRepository>
|
|
|
</distributionManagement>
|
|
|
</project>
|