-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
149 lines (143 loc) · 4.89 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
<?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>35</version>
<relativePath />
</parent>
<groupId>org.neo4j.doc</groupId>
<artifactId>neo4j-deckjs</artifactId>
<version>1-SNAPSHOT</version>
<name>Neo4j Docs Integration for Deck.js</name>
<description>Neo4j Documentation Tools Integration for Deck.js example.</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}</docs.upstream>
<docs.importdir>${docs.upstream}/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-SNAPSHOT</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-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>
<dependencies>
<dependency>
<groupId>org.neo4j.doc</groupId>
<artifactId>cypher-executor</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>execute-queries</id>
<phase>generate-sources</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<includeProjectDependencies>false</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies>
<executableDependency>
<groupId>org.neo4j.doc</groupId>
<artifactId>cypher-executor</artifactId>
</executableDependency>
<mainClass>org.neo4j.doc.cypherexecutor.Main</mainClass>
<arguments>
<argument>hello-world</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>execute-asciidoc</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>make</executable>
<arguments>
<argument>deck</argument>
<argument>VERSION=${neo4j.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>
<distributionManagement>
<site>
<id>neo4j-site</id>
<url>scpexe://justgenerateanerrorplease</url>
</site>
</distributionManagement>
</project>