123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <artifactId>gs-docs</artifactId>
- <groupId>org.geoserver.en</groupId>
- <version>2.26-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>GeoServer Chinese Simplified Documentation</name>
- <description>GeoServer Chinese Simplified documentation</description>
- <licenses>
- <license>
- <name>Creative Commmons Attribution 4.0 International</name>
- <url>https://creativecommons.org/licenses/by/4.0/</url>
- </license>
- </licenses>
-
- <dependencies>
- </dependencies>
- <build>
- <plugins>
- <!-- documentation build -->
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.1.0</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.10.12</version>
- </dependency>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>1.0b3</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>version</id>
- <phase>process-resources</phase>
- <configuration>
- <target>
- <copy file="../en/release/VERSION.txt" todir="target" filtering="true">
- <filterset begintoken="$${" endtoken="}">
- <filter token="project.version" value="${project.version}"/>
- <filter token="build.revision" value="${build.commit.id}"/>
- <filter token="build.branch" value="${build.branch}"/>
- <filter token="build.timestamp" value="${build.timestamp}"/>
- <filter token="build.hudsonId" value="${build.hudsonId}"/>
- </filterset>
- </copy>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- <execution>
- <id>sphinx</id>
- <phase>compile</phase>
- <configuration>
- <target>
- <ant antfile="build.xml" dir="${basedir}" target="${target}">
- <property name="build.directory" value="${project.build.directory}"/>
- <property name="project.version" value="${project.version}"/>
- </ant>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>3.2.0</version>
- <configuration>
- <finalName>geoserver-${project.version}</finalName>
- </configuration>
- <executions>
- <execution>
- <id>user</id>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>release/user.xml</descriptor>
- </descriptors>
- </configuration>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
-
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <!-- sphinx build targets - default to full -->
- <properties>
- <target>full</target>
- </properties>
- <profiles>
- <profile>
- <id>user</id>
- <properties>
- <target>user</target>
- </properties>
- </profile>
- <profile>
- <id>user-pdf</id>
- <properties>
- <target>user-pdf</target>
- </properties>
- </profile>
- </profiles>
-
- </project>
|