forked from 4thline/cling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
121 lines (105 loc) · 5.37 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
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>cling</artifactId>
<groupId>org.fourthline.cling</groupId>
<version>2.1.2</version>
</parent>
<name>Cling Website</name>
<artifactId>cling-website</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>${maven.site.plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>finalize-site</id>
<phase>post-site</phase>
<configuration>
<tasks>
<copy todir="${project.reporting.outputDirectory}/core">
<fileset dir="../core/target/site">
<include name="*.html"/>
<exclude name="project-reports.*"/>
<include name="manual/**/*"/>
<include name="apidocs/**/*"/>
<include name="xref/**/*"/>
<include name="xref-test/**/*"/>
</fileset>
</copy>
<copy todir="${project.reporting.outputDirectory}/support">
<fileset dir="../support/target/site">
<include name="*.html"/>
<exclude name="project-reports.*"/>
<include name="manual/**/*"/>
<include name="apidocs/**/*"/>
<include name="xref/**/*"/>
<include name="xref-test/**/*"/>
</fileset>
</copy>
<copy todir="${project.reporting.outputDirectory}/workbench">
<fileset dir="../workbench/target/site">
<include name="*.html"/>
<exclude name="project-reports.*"/>
<include name="images/**/*"/>
<include name="xref/**/*"/>
</fileset>
</copy>
<copy todir="${project.reporting.outputDirectory}/mediarenderer">
<fileset dir="../mediarenderer/target/site">
<include name="*.html"/>
<exclude name="project-reports.*"/>
<include name="images/**/*"/>
<include name="xref/**/*"/>
</fileset>
</copy>
<!-- The Maven site plugin mangles all filenames, rename them back to .xhtml -->
<move todir="${project.reporting.outputDirectory}">
<fileset dir="${project.reporting.outputDirectory}">
<include name="**/*.html"/>
<exclude name="**/apidocs/**/*"/>
<exclude name="**/xref/**/*"/>
<exclude name="**/xref-test/**/*"/>
</fileset>
<mapper type="glob" from="*.html" to="*.xhtml"/>
</move>
<delete dir="${project.reporting.outputDirectory}/css"/>
<delete dir="${project.reporting.outputDirectory}/images"/>
<delete dir="${project.reporting.outputDirectory}/core/manual/css"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.fourthline.cling</groupId>
<artifactId>cling-workbench</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.fourthline.cling</groupId>
<artifactId>cling-mediarenderer</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>