-
Notifications
You must be signed in to change notification settings - Fork 6
/
pom.xml
157 lines (150 loc) · 4.87 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?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>
<parent>
<groupId>org.neo4j.build</groupId>
<artifactId>parent-central</artifactId>
<version>36</version>
<relativePath />
</parent>
<groupId>org.neo4j.doc</groupId>
<artifactId>neo4j-manual-fr</artifactId>
<version>1.9-SNAPSHOT</version>
<name>The Neo4j Manual in French</name>
<description>The Neo4j Manual in French.</description>
<url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>
<packaging>pom</packaging>
<properties>
<neo4j.version>1.9-SNAPSHOT</neo4j.version>
<docs.tools>${project.build.directory}/tools</docs.tools>
<docs.upstream>${project.build.directory}/original</docs.upstream>
<docs.translated>${project.build.directory}</docs.translated>
<docs.importdir>${docs.translated}/docs</docs.importdir>
<docs-plugin.skip>true</docs-plugin.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.neo4j.build.plugins</groupId>
<artifactId>neo4j-doctools</artifactId>
<version>1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.neo4j.doc</groupId>
<artifactId>neo4j-manual</artifactId>
<version>${neo4j.version}</version>
<classifier>contents</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-doctools</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeArtifactIds>neo4j-doctools</includeArtifactIds>
<outputDirectory>${docs.tools}</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-upstream-manual</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeClassifiers>contents</includeClassifiers>
<includeArtifactIds>neo4j-manual</includeArtifactIds>
<outputDirectory>${docs.upstream}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>execute-asciidoc</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>make</executable>
<arguments>
<argument>init</argument>
<argument>preview</argument>
<argument>VERSION=${project.version}</argument>
<argument>IMPORTDIR=${docs.importdir}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.neo4j.build.plugins</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>attach-docs</id>
<phase>none</phase>
</execution>
<execution>
<id>attach-test-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>publish-manual</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>publish-manual</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>upload-to-servers</id>
<phase>deploy</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${project.build.directory}/../conf/upload.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<site>
<id>neo4j-site</id>
<url>scpexe://justgenerateanerrorplease</url>
</site>
</distributionManagement>
</project>