forked from actframework/actframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
625 lines (552 loc) · 20.9 KB
/
pom.xml
File metadata and controls
625 lines (552 loc) · 20.9 KB
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2013 The ActFramework Project
~
~ The ACT framework Project licenses this file to you under the Apache License,
~ version 2.0 (the "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at:
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
~ License for the specific language governing permissions and limitations
~ under the License.
-->
<!--
********************************************
* version history
********************************************
1.3.4
* #202 `@Output` annotation on controller field is not effective when handler method has no parameters
1.3.3
* #200 It does not put correct content type header when servicing static resource as css file bug fixed
* #199 Error generating error page if `Request.accept()` format is not normal
* #197 `@TemplateUrl` annotation on interceptor class shall not impact the template context of handler action
* #196 page cache key is the same for two action handler methods with the same name in different class
* #193 `MorphiaAdaptiveRecord.putValues(Map<String, Object>)` failure
* #188 Allow page cache key generator create different key by checking useragent for mobile/browser
* #187 NPE triggered on actframework official website
* #186 Add Access-Control-Allow-Credentials in CORS support
1.3.2
* #194 functional test cases break when action handler returns array of elements
1.3.1
* #189 It shall not report server error if no file uploaded
* #190 java.lang.NoClassDefFoundError: javax/persistence/Persistence
1.3.0
* #128 Create a mechanism to cache the GET request result
* #163 Introduce `@TemplateContext` annotation
* #164 Split `@Controller` annotation into `@UrlContext` and `@Port` annotation
* #167 `@Global` doesn't work when put behind the interceptor annotation
* #168 Make all scanner favor the setting of `@Env` annotations
* #169 Regex in route not working
* #170 Make it easy to create global template variable
* #171 Add helper javascript library that extends jQuery
* #174 Support profile specific route configuration
* #175 Create better error message when there are error enhancing classes
* #177 Better error reporting when multiple controller action/interceptor methods have the same name
* #178 When handler returns a primitive type the result is not JSON result when `Accept` header require JSON
* #179 Provide an annotation to mark a field or parameter as template variable
* #180 Setting character encoding in response doesn't effect correctly
* #181 Make redirect favor Controller URL context
* #182 Make app able to run `prod` mode from within IDE
1.2.0
* #161 Add an annotation that indicate an injected field is stateless
* #160 Make `ActionContext` an injectable field in `Controller.Util`
* #159 generated pid file not get deleted when app process is killed
* #157 SEO support on routing
* #156 Compile error is not displayed at dev mode
* #153 When `@NotNull` used along with `@DbBind` it shall return 404 if binding failed
* #152 Allow annotation based interceptor class to be registered as global interceptor
* #136 Allow `@With` annotation to be used on specific handler method
* #124 Improve error reporting on "Unknown accept content type"
1.1.2
- #151 Update version of osgl and other dependencies
- #150 Deadlock while app boot up
1.1.1
- #148 Support get process ID on non-unix environment
- #147 Unnecessary synchronization ReflectedHandlerInvoker.checkTemplate
- #146 When db plugin is configured, it uses empty string as service ID
- #144 `EventBus.bind(Object, SimpleEventListener)` shall check if the object type is `EventObject`
1.1.0
- #142 Always generate pid file when app start in prod mode
- #141 Support context URL path
- #140 Cannot use multiple Job annotations on one job method
- #139 allow SimpleEventHandler to be used to handle event happening before app started
- #138 Update FastJson to 1.2.31
- #135 Provides SqlDbService as a base class for all SQL based DbService solution
- upgrade FastJson to 1.2.31
1.0.7
- #70 Make it able to configure the number of network io threads and work threads
- #120 configuration render.json.output_charset.enabled default value shall be false
- #127 qrcode method problem
- #130 Response outputstream not closed
- #131 ZXingResult call applyAfterCommitHandler twice
- #132 "type not recognized: MODEL_TYPE" Error when using a DaoBase subclass as Controller
- #133 It uses undertow deprecated API to construct HttpOpenListener
- #134 Fine tune undertow configurations
1.0.6
- #121 #115 caused issue that failed to add route mapping in certain case
- Update fastjson to 1.2.30
1.0.5
- * remove version range from pom.xml. See https://issues.apache.org/jira/browse/MNG-3092
1.0.4
- #109 It shall display the exception stack trace tab on template exception page
- #110 Using simplified action path in @fullUrl and @url doesn't work in an free template
- #111 Routing failure on `/{path1}/{path2}/{path3}/{id}.html` style URL path
- #112 Missing embedded object content when PropertySpec is specified
- #113 Exception encountered when first field of post JSON body contains the parameter name
- #115 Router: support inner variables inside URL path
- Update RythmEngine to 1.2.0
- Update joda-time to 2.9.9
1.0.3
- #68 Error enhancing render arguments when break the statement into multiple lines
- #84 @fullUrl and @url tag doesn't work when there is no GET request mapping to the action handler method
- #89 session.ttl setting prevent app from start up
- #94 Invalid encoded characters in Error page
- #97 Act controller not return correct @version "v" for save method when MorphiaDao return the value bug
- #99 Update FastJson version to 1.2.29
- #100 when the browser get a json request, Chinese characters are not displayed properly
- #101 IE doesn't support "application/json" content type
- #104 Incorrectly configured routes should not crash hot-reload
- #106 Reloading View manager might break the hot reload process
- #107 Simplify the use of reverse routing API
- #108 Simplify the use of `@url` and `@fullUrl` tag
1.0.2
- Fix #86 It shall allow `null` value for enum type parameter when do the request parameter binding
- Fix #87 DependencyInjectionListener shall register with sub classes of the target class also
- Fix #88 Controller context break with intermediate non-controller class in the hierarchies
1.0.1
- Fix #79 static action handler method cause NPE
- Fix #81 Duplicate route mapping breaks the hot reloading and application state #81
1.0.0
- First formal release
0.7.0
- Validation refactory
0.6.0
- DAO API change: save(Iterable) now returns list of object been saved
0.5.0
- 0.4.0 reserved for TechEmpower benchmark set
- update dependency versions
- A lot of fix to Adaptive Record
- Dependency Injection improvement on auto binding
- Job parameter binding improvement
0.4.0
- Performance tuning: enable direct io thread processing handler
0.3.1
- ActiveRecord -> AdaptiveRecord
- Performance tuning: enable nonblocking IO
0.3.0
- Catch up update to osgl-mvc 0.6.0: Bind annotation now support specifying multiple Binder implementations
0.2.0
- Make act be java 1.6 compatible
- Big refactoring on
* dependency injection now on Genie
* param loading mechanism
* render arg enhancement now support method call with params, and field
0.1.3
- testapp to implement integration test of ActFramework
0.1.2
- misc bug fixes
0.1.1
- baseline version
-->
<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.actframework</groupId>
<artifactId>act</artifactId>
<packaging>jar</packaging>
<version>1.3.4-SNAPSHOT</version>
<name>ACT Framework</name>
<description>The ACT full stack MVC framework</description>
<url>http://actframework.org/</url>
<inceptionYear>2014</inceptionYear>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<organization>
<name>ActFramework</name>
<url>http://actframework.org</url>
</organization>
<scm>
<connection>scm:git:git@github.com:actframework/actframework.git</connection>
<developerConnection>scm:git:git@github.com:actframework/actframework.git</developerConnection>
<url>git@github.com:actframework/actframework.git</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<fest-assert.version>1.4</fest-assert.version>
<junit.version>4.11</junit.version>
<junit-benchmarks.version>0.7.2</junit-benchmarks.version>
<mockito-core.version>2.0.2-beta</mockito-core.version>
<act-asm.version>5.0.1</act-asm.version>
<cdi-api.version>1.2</cdi-api.version>
<commons-fileupload.version>1.3.2</commons-fileupload.version>
<ecj.version>4.6.1</ecj.version>
<fastjson.version>1.2.32</fastjson.version>
<bval.version>1.1.2</bval.version>
<javax.inject.version>1</javax.inject.version>
<javax.mail.version>1.5.0-b01</javax.mail.version>
<jfiglet.version>0.0.8</jfiglet.version>
<jline.version>2.14.3</jline.version>
<joda-time.version>2.9.9</joda-time.version>
<okhttp.version>3.7.0</okhttp.version>
<osgl-tool.version>1.0.3</osgl-tool.version>
<osgl-genie.version>1.0.2</osgl-genie.version>
<osgl-mvc.version>1.0.6</osgl-mvc.version>
<osgl-storage.version>1.2.0</osgl-storage.version>
<osgl-tool-ext.version>1.0.1</osgl-tool-ext.version>
<reflectasm.version>1.11.3</reflectasm.version>
<rythmengine.version>1.2.0</rythmengine.version>
<validation-api.version>1.1.0.Final</validation-api.version>
<undertow.version>1.4.12.Final</undertow.version>
<zxing.javase.version>3.3.0</zxing.javase.version>
</properties>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/act.scan.list</include>
<include>**/aaa.authenticate.list</include>
<include>**/*.version</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.csv</include>
<include>**/*.txt</include>
<include>**/*.css</include>
<include>**/*.js</include>
<include>**/*.png</include>
<include>**/*.jpg</include>
<include>**/*.gif</include>
<include>**/*.json</include>
<include>rythm/**</include>
<include>*.flf</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.12</version>
<configuration>
<verbose>false</verbose>
</configuration>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<licenseName>apache_v2</licenseName>
<roots>
<root>src/main/java</root>
<root>src/test</root>
</roots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<shortRevisionLength>4</shortRevisionLength>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<stylesheetfile>src/etc/javadoc.css</stylesheetfile>
<quiet />
<doclet>ch.raffael.doclets.pegdown.PegdownDoclet</doclet>
<docletArtifact>
<groupId>ch.raffael.pegdown-doclet</groupId>
<artifactId>pegdown-doclet</artifactId>
<version>1.3</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
<executions>
<execution>
<id>gen-javadoc</id>
<phase>prepare-package</phase>
<goals>
<goal>javadoc</goal>
</goals>
</execution>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>${fest-assert.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
<version>${junit-benchmarks.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${javax.inject.version}</version>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<version>${cdi-api.version}</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${validation-api.version}</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>${zxing.javase.version}</version>
</dependency>
<dependency>
<groupId>com.github.lalyos</groupId>
<artifactId>jfiglet</artifactId>
<version>${jfiglet.version}</version>
</dependency>
<dependency>
<groupId>org.actframework</groupId>
<artifactId>act-asm</artifactId>
<version>${act-asm.version}</version>
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>org.apache.bval.bundle</artifactId>
<version>${bval.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
<version>${undertow.version}</version>
</dependency>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-websockets-jsr</artifactId>
<version>${undertow.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>${jline.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>${ecj.version}</version>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>reflectasm</artifactId>
<version>${reflectasm.version}</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>${commons-fileupload.version}</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<dependency>
<groupId>org.osgl</groupId>
<artifactId>osgl-tool</artifactId>
<version>${osgl-tool.version}</version>
</dependency>
<dependency>
<groupId>org.osgl</groupId>
<artifactId>genie</artifactId>
<version>${osgl-genie.version}</version>
</dependency>
<dependency>
<groupId>org.osgl</groupId>
<artifactId>osgl-mvc</artifactId>
<version>${osgl-mvc.version}</version>
</dependency>
<dependency>
<groupId>org.osgl</groupId>
<artifactId>osgl-storage</artifactId>
<version>${osgl-storage.version}</version>
</dependency>
<dependency>
<groupId>org.osgl</groupId>
<artifactId>osgl-tool-ext</artifactId>
<version>${osgl-tool-ext.version}</version>
</dependency>
<dependency>
<groupId>org.rythmengine</groupId>
<artifactId>rythm-engine</artifactId>
<version>${rythmengine.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dist</id>
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<shortRevisionLength>4</shortRevisionLength>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<descriptors>
<descriptor>${basedir}/assembly-dist.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>${basedir}/assembly-dist.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<header>etc/header.txt</header>
<headerDefinitions>
<headerDefinition>etc/headerStyle.xml</headerDefinition>
</headerDefinitions>
<excludes>
<exclude>**/README</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>