-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
155 lines (152 loc) · 5.01 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
<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>
<groupId>com.github.kristofa</groupId>
<artifactId>plantuml-site-example</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>PlantUML Maven site example</name>
<description>Example Maven site project that includes PlantUML generated diagram as part of site documentation in addition to the known reports (javadoc, tag list, dependencies, project team,...).</description>
<url>https://github.com/kristofa/plantuml-site-example</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:[email protected]:kristofa/plantuml-site-example.git</connection>
<url>[email protected]:kristofa/plantuml-site-example.git</url>
<developerConnection>scm:git:[email protected]:kristofa/plantuml-site-example.git</developerConnection>
</scm>
<distributionManagement>
<site>
<id>site</id>
<!-- Obviously deploying the site will not work with this url...
dav: indicates WebDav protocol. That's also why wagon-webdav-jackrabbit
plugin is added as dependency of maven-site-plugin below...
-->
<url>dav:http://invalidurl.com/${project.artifactId}/${project.version}</url>
</site>
</distributionManagement>
<developers>
<developer>
<id>kristofa</id>
<name>Kristof Adriaenssens</name>
<email>[email protected]</email>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
<executions>
<!-- This execution makes sure we also have reports in child modules for multi module projects.
It makes sure reports are inherited.-->
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<!-- To avoid slow builds. See here: http://whatiscomingtomyhead.wordpress.com/2011/04/20/if-your-maven-site-build-is-too-slow/ -->
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>summary</report>
<report>scm</report>
<report>project-team</report>
<report>dependencies</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tags>
<tag>TODO</tag>
<tag>FIXME</tag>
<tag>@deprecated</tag>
</tags>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<links>
<link>
http://java.sun.com/javase/6/docs/api/
</link>
</links>
<aggregate>true</aggregate>
</configuration>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.github.jeluard</groupId>
<artifactId>plantuml-maven-plugin</artifactId>
<version>7941</version>
<configuration>
<sourceFiles>
<directory>${basedir}</directory>
<includes>
<include>src/plantuml/**/*.txt</include>
</includes>
</sourceFiles>
<outputDirectory>${basedir}/src/site/resources/images</outputDirectory>
</configuration>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>