forked from OSBI/saiku-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
145 lines (141 loc) · 5.63 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
<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>
<groupId>org.saiku</groupId>
<artifactId>saiku-ui</artifactId>
<packaging>pom</packaging>
<version>2.2-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>nl.windgazer</groupId>
<artifactId>jsdoctk-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<srcDir>${basedir}/js/saiku/</srcDir>
<recurse>7</recurse><!-- This is the *level of recursion*, not a boolean -->
</configuration>
<executions>
<execution>
<id>copy-package</id>
<phase>package</phase>
<goals>
<goal>jsdoc</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<nosuffix>true</nosuffix>
<sourceDirectory>${basedir}/js/saiku/</sourceDirectory>
<aggregations>
<aggregation>
<!-- remove files after aggregation (default: false)
<removeIncluded>true</removeIncluded>
-->
<!-- insert new line after each concatenation (default: false) -->
<insertNewLine>true</insertNewLine>
<output>${basedir}/target/all.js</output>
<!-- files to include, path relative to output's directory or absolute path-->
<!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
<includes>
<include>classes/Settings.js</include>
<include>classes/models/Dimension.js</include>
<include>classes/views/DimensionList.js</include>
<include>classes/views/Toolbar.js</include>
<include>classes/views/Modal.js</include>
<include>classes/views/MDXModal.js</include>
<include>classes/views/SelectionsModal.js</include>
<include>classes/views/LoginForm.js</include>
<include>classes/views/AboutModal.js</include>
<include>classes/views/WorkspaceToolbar.js</include>
<include>classes/views/WorkspaceDropZone.js</include>
<include>classes/views/Table.js</include>
<include>classes/views/Workspace.js</include>
<include>classes/views/DeleteQuery.js</include>
<include>classes/views/OpenQuery.js</include>
<include>classes/views/SaveQuery.js</include>
<include>classes/views/Tab.js</include>
<include>classes/models/Repository.js</include>
<include>classes/models/Properties.js</include>
<include>classes/models/Result.js</include>
<include>classes/models/QueryAction.js</include>
<include>classes/models/QueryScenario.js</include>
<include>classes/models/Query.js</include>
<include>classes/models/Session.js</include>
<include>classes/models/SessionWorkspace.js</include>
<include>classes/models/Member.js</include>
<include>classes/Saiku.js</include>
<include>classes/adapters/SaikuServer.js</include>
<include>classes/routers/QueryRouter.js</include>
</includes>
</aggregation>
</aggregations>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>copy-package</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="target/saiku-ui" />
<copy todir="target/saiku-ui">
<fileset dir="${basedir}/">
<exclude name="target/" />
<exclude name="pom.xml" />
<exclude name=".git/" />
<exclude name=".gitignore" />
</fileset>
</copy>
<copy todir="target/saiku-ui/doc/">
<fileset dir="${basedir}/target/jsdoc"/>
</copy>
<zip destfile="target/saiku-ui-${project.version}.zip">
<zipfileset dir="target/saiku-ui/" />
</zip>
<zip destfile="target/saiku-ui-${project.version}.war">
<zipfileset dir="target/saiku-ui/" />
</zip>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>jsdoctk1</id>
<url>http://jsdoctk-plugin.googlecode.com/svn/repo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jsdoctk2</id>
<url>http://jsdoctk-plugin.googlecode.com/svn/repo</url>
</pluginRepository>
<pluginRepository>
<name>oss.sonatype.org</name>
<id>oss.sonatype.org</id>
<url>http://oss.sonatype.org/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
</project>