11ebca4d0e1737c28e8749221b30c5862f30fa67
[docs.git] / pom.xml
1 <project  xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <groupId>org.opendaylight.docs</groupId>
6   <artifactId>root</artifactId>
7   <version>0.1.0-SNAPSHOT</version>
8   <name>OpenDaylight Docs</name>
9   <packaging>pom</packaging>
10   <url>${sitedeploy}</url>
11   <scm>
12     <connection>scm:git:ssh://git.opendaylight.org:29418/documentation.git</connection>
13     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/documentation.git</developerConnection>
14     <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
15     <tag>HEAD</tag>
16   </scm>
17   <properties>
18     <asciidoctor.version>0.1.4</asciidoctor.version>
19     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
20     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21     <sitedeploy>${nexusproxy}/sites/site/${project.groupId}/master/${project.artifactId}</sitedeploy>
22   </properties>
23   <modules>
24     <module>manuals</module>
25   </modules>
26
27   <repositories>
28
29     <!-- OpenDayLight Repo Mirror -->
30     <repository>
31       <id>opendaylight-mirror</id>
32       <name>opendaylight-mirror</name>
33       <url>${nexusproxy}/groups/public/</url>
34       <snapshots>
35           <enabled>false</enabled>
36       </snapshots>
37       <releases>
38           <enabled>true</enabled>
39           <updatePolicy>never</updatePolicy>
40       </releases>
41     </repository>
42     <!-- OpenDayLight Snapshot artifact -->
43     <repository>
44       <id>opendaylight-snapshot</id>
45       <name>opendaylight-snapshot</name>
46       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
47       <snapshots>
48           <enabled>true</enabled>
49       </snapshots>
50       <releases>
51         <enabled>false</enabled>
52       </releases>
53     </repository>
54   </repositories>
55
56   <pluginRepositories>
57     <pluginRepository>
58       <id>central2</id>
59       <name>central2</name>
60       <url>${nexusproxy}/repositories/central2/</url>
61     </pluginRepository>
62     <pluginRepository>
63       <id>opendaylight-snapshot</id>
64       <name>central2</name>
65       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
66     </pluginRepository>
67     <pluginRepository>
68         <id>oss-sonatype</id>
69         <name>oss-sonatype</name>
70         <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
71         <snapshots>
72             <enabled>true</enabled>
73         </snapshots>
74     </pluginRepository>
75   </pluginRepositories>
76
77   <distributionManagement>
78     <!-- OpenDayLight Released artifact -->
79     <repository>
80       <id>opendaylight-release</id>
81       <url>${nexusproxy}/repositories/opendaylight.release/</url>
82     </repository>
83     <!-- OpenDayLight Snapshot artifact -->
84     <snapshotRepository>
85       <id>opendaylight-snapshot</id>
86       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
87     </snapshotRepository>
88     <site>
89       <id>${project.artifactId}-site</id>
90       <url>dav:${sitedeploy}/</url>
91     </site>
92   </distributionManagement>
93   <build>
94     <plugins>
95       <plugin>
96         <groupId>com.inocybe.api</groupId>
97         <artifactId>sdndocs-maven-plugin</artifactId>
98         <version>0.1.0</version>
99       </plugin>
100    </plugins>
101   </build>
102 </project>