geoserver

Форк
0
/
pom.xml 
124 строки · 3.9 Кб
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/xsd/maven-4.0.0.xsd">
3

4
  <modelVersion>4.0.0</modelVersion>
5
  <artifactId>gs-docs</artifactId>
6
  <groupId>org.geoserver.en</groupId>
7
  <version>2.26-SNAPSHOT</version>
8
  <packaging>pom</packaging>
9
  <name>GeoServer Chinese Simplified Documentation</name>
10
  <description>GeoServer Chinese Simplified documentation</description>
11

12
  <licenses>
13
    <license>
14
      <name>Creative Commmons Attribution 4.0 International</name>
15
      <url>https://creativecommons.org/licenses/by/4.0/</url>
16
    </license>
17
  </licenses>
18
  
19
  <dependencies>
20
  </dependencies>
21

22
  <build>
23
    <plugins>
24
      <!-- documentation build -->
25
      <plugin>
26
        <artifactId>maven-antrun-plugin</artifactId>
27
        <version>3.1.0</version>
28
        <dependencies>
29
          <dependency>
30
            <groupId>org.apache.ant</groupId>
31
            <artifactId>ant</artifactId>
32
            <version>1.10.12</version>
33
          </dependency>
34
          <dependency>
35
            <groupId>ant-contrib</groupId>
36
            <artifactId>ant-contrib</artifactId>
37
            <version>1.0b3</version>
38
          </dependency>
39
        </dependencies>
40
        <executions>
41
           <execution>
42
            <id>version</id>
43
            <phase>process-resources</phase>
44
            <configuration>
45
              <target>
46
                 <copy file="../en/release/VERSION.txt" todir="target" filtering="true">
47
                  <filterset begintoken="$${" endtoken="}">
48
                    <filter token="project.version" value="${project.version}"/>
49
                    <filter token="build.revision" value="${build.commit.id}"/>
50
                    <filter token="build.branch" value="${build.branch}"/>
51
                    <filter token="build.timestamp" value="${build.timestamp}"/>
52
                    <filter token="build.hudsonId" value="${build.hudsonId}"/>
53
                  </filterset>
54
                 </copy>
55
              </target>
56
            </configuration>
57
            <goals>
58
              <goal>run</goal>
59
            </goals>
60
          </execution>
61
          <execution>
62
            <id>sphinx</id>
63
            <phase>compile</phase>
64
            <configuration>
65
              <target>
66
                <ant antfile="build.xml" dir="${basedir}" target="${target}">
67
                  <property name="build.directory" value="${project.build.directory}"/>
68
                  <property name="project.version" value="${project.version}"/>
69
                </ant>
70
              </target>
71
            </configuration>
72
            <goals>
73
              <goal>run</goal>
74
            </goals>
75
          </execution>
76
        </executions>
77
      </plugin>
78
      
79
      <plugin>
80
        <groupId>org.apache.maven.plugins</groupId>
81
        <artifactId>maven-assembly-plugin</artifactId>
82
        <version>3.2.0</version>
83
        <configuration>
84
          <finalName>geoserver-${project.version}</finalName>
85
        </configuration>
86
        <executions>
87
          <execution>
88
            <id>user</id>
89
            <phase>package</phase>
90
            <configuration>
91
              <descriptors>
92
                <descriptor>release/user.xml</descriptor>
93
              </descriptors>
94
            </configuration>
95
            <goals>
96
              <goal>single</goal>
97
            </goals>
98
          </execution>
99
          
100
        </executions>
101
      </plugin>
102
    </plugins>
103
  </build>
104
  
105
  <!-- sphinx build targets - default to full -->
106
  <properties>
107
     <target>full</target>
108
  </properties>
109
  <profiles>
110
    <profile>
111
      <id>user</id>
112
      <properties>
113
        <target>user</target>
114
      </properties>
115
    </profile>
116
    <profile>
117
      <id>user-pdf</id>
118
      <properties>
119
        <target>user-pdf</target>
120
      </properties>
121
    </profile>
122
  </profiles>
123
  
124
</project>
125

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.