File tree 1 file changed +38
-22
lines changed
1 file changed +38
-22
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<properties >
10
10
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
11
- <maven .compiler.source>17 </maven .compiler.source>
12
- <maven .compiler.target>17 </maven .compiler.target>
11
+ <maven .compiler.source>11 </maven .compiler.source>
12
+ <maven .compiler.target>11 </maven .compiler.target>
13
13
<!-- <exec.mainClass>javaxt.demo.express.JavaxtExpressDemo</exec.mainClass>-->
14
14
15
15
<!-- Ant-style directory layout -->
144
144
</goals >
145
145
</execution >
146
146
147
- <!--
148
- <execution>
149
- <id>download-webcontrols</id>
150
- <phase>install</phase>
151
- <configuration>
152
- <target>
153
- <get
154
- src="http://javaxt.com/webcontrols.js"
155
- dest="${project.basedir}/downloads/javaxt/javaxt-webcontrols.js"
156
- verbose="false"
157
- usetimestamp="true"
158
- skipexisting="true"
159
- />
160
- </target>
161
- </configuration>
162
- <goals>
163
- <goal>run</goal>
164
- </goals>
165
- </execution>
166
- -->
167
147
148
+ <!-- Download JavaXT javascript releases -->
168
149
<execution >
169
150
<id >download-javaxt</id >
170
151
<phase >install</phase >
171
152
<configuration >
172
153
<target >
173
154
155
+ <!-- Create downloads folder -->
156
+ <mkdir dir =" ${project.basedir}/downloads/javaxt" />
157
+
174
158
<!-- Download javaxt-webcontrols -->
175
159
<get
176
160
src =" http://javaxt.com/webcontrols.js"
201
185
/>
202
186
203
187
188
+ <!-- Copy files to the auth demos -->
189
+ <copy
190
+ file =" ${project.basedir}/downloads/javaxt/javaxt-webcontrols.js"
191
+ todir =" ${project.basedir}/demos/auth/basic/javascript/javaxt"
192
+ />
193
+
194
+
204
195
</target >
205
196
</configuration >
206
197
<goals >
214
205
</plugin >
215
206
216
207
208
+ <!-- Delete downloaded files on clean -->
209
+ <plugin >
210
+ <artifactId >maven-clean-plugin</artifactId >
211
+ <version >3.4.0</version >
212
+ <executions >
213
+ <execution >
214
+ <id >delete-downloads</id >
215
+ <phase >clean</phase >
216
+ <goals >
217
+ <goal >clean</goal >
218
+ </goals >
219
+ <configuration >
220
+ <filesets >
221
+ <fileset >
222
+ <directory >${project.basedir} /downloads/javaxt</directory >
223
+ </fileset >
224
+ <fileset >
225
+ <directory >${project.basedir} /demos/cms/Basic/javascript/javaxt</directory >
226
+ </fileset >
227
+ </filesets >
228
+ </configuration >
229
+ </execution >
230
+ </executions >
231
+ </plugin >
232
+
217
233
</plugins >
218
234
</build >
219
235
You can’t perform that action at this time.
0 commit comments