forked from ludomp/docs.forgerock.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
110 lines (104 loc) · 2.97 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
<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>
<parent>
<groupId>org.forgerock</groupId>
<artifactId>forgerock-parent</artifactId>
<version>1.1.0</version>
</parent>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.docs</artifactId>
<version>1.2.0</version>
<packaging>pom</packaging>
<name>docs.forgerock.org</name>
<distributionManagement>
<site>
<id>forgerock.org</id>
<name>ForgeRock Community Server</name>
<url>${siteDistributionURL}</url>
</site>
</distributionManagement>
<properties>
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/docs.forgerock.org/httpdocs</siteDistributionURL>
<!-- <siteDistributionURL>file:///Users/mark/Sites/docs.forgerock.org</siteDistributionURL> -->
</properties>
<repositories>
<repository>
<id>forgerock-staging-repository</id>
<name>ForgeRock Release Repository</name>
<url>http://maven.forgerock.org/repo/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>forgerock-snapshots-repository</id>
<name>ForgeRock Snapshot Repository</name>
<url>http://maven.forgerock.org/repo/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.2</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-site</id>
<phase>install</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<resources>
<resource>
<directory>${basedir}</directory>
<excludes>
<exclude>*.gitignore</exclude>
<exclude>.idea/**</exclude>
<exclude>*.iml</exclude>
<exclude>*.project</exclude>
<exclude>*.settings/**</exclude>
<exclude>pom.xml</exclude>
<exclude>README.md</exclude>
<exclude>target/**</exclude>
</excludes>
</resource>
</resources>
<outputDirectory>${basedir}/target</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<configuration>
<inputDirectory>${basedir}/target</inputDirectory>
</configuration>
<executions>
<execution>
<id>upload-docs</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>