File tree 7 files changed +38
-11
lines changed
handlebars-maven-plugin-tests
src/main/java/com/github/jknack/handlebars/server
7 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- java_version : [1.8, 11, 15]
11
+ java_version : [1.8, 11, 15, 17 ]
12
12
os : [ubuntu-latest, windows-latest, macOS-latest]
13
13
14
14
steps :
Original file line number Diff line number Diff line change
1
+ Java 15/17 Migration
2
+
3
+ - Replace pegdown with something else
4
+ - Upgrade spring
Original file line number Diff line number Diff line change 46
46
<scope >test</scope >
47
47
</dependency >
48
48
49
+ <dependency >
50
+ <groupId >org.antlr</groupId >
51
+ <artifactId >antlr4-runtime</artifactId >
52
+ <version >4.9.2</version >
53
+ <exclusions >
54
+ <exclusion >
55
+ <groupId >org.abego.treelayout</groupId >
56
+ <artifactId >org.abego.treelayout.core</artifactId >
57
+ </exclusion >
58
+ </exclusions >
59
+ <scope >test</scope >
60
+ </dependency >
61
+
62
+ <dependency >
63
+ <groupId >org.apache.commons</groupId >
64
+ <artifactId >commons-text</artifactId >
65
+ <scope >test</scope >
66
+ </dependency >
67
+
49
68
</dependencies >
50
69
51
70
</project >
Original file line number Diff line number Diff line change 41
41
</executions >
42
42
</plugin >
43
43
44
+ <plugin >
45
+ <groupId >org.apache.maven.plugins</groupId >
46
+ <artifactId >maven-war-plugin</artifactId >
47
+ <version >3.3.2</version >
48
+ </plugin >
49
+
44
50
<!-- Deploy plugin -->
45
51
<plugin >
46
52
<groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 124
124
<version >${project.version} </version >
125
125
</dependency >
126
126
127
- <dependency >
128
- <groupId >com.github.jknack</groupId >
129
- <artifactId >handlebars-markdown</artifactId >
130
- <version >${project.version} </version >
131
- </dependency >
127
+ <!-- <dependency> -- >
128
+ <!-- <groupId>com.github.jknack</groupId> -- >
129
+ <!-- <artifactId>handlebars-markdown</artifactId> -- >
130
+ <!-- <version>${project.version}</version> -- >
131
+ <!-- </dependency> -- >
132
132
133
133
<dependency >
134
134
<groupId >com.github.jknack</groupId >
Original file line number Diff line number Diff line change 43
43
import org .slf4j .LoggerFactory ;
44
44
45
45
import com .github .jknack .handlebars .Handlebars ;
46
- import com .github .jknack .handlebars .Helper ;
47
46
import com .github .jknack .handlebars .HelperRegistry ;
48
47
import com .github .jknack .handlebars .HumanizeHelper ;
49
48
import com .github .jknack .handlebars .Jackson2Helper ;
50
- import com .github .jknack .handlebars .MarkdownHelper ;
51
49
import com .github .jknack .handlebars .helper .StringHelpers ;
52
50
import com .github .jknack .handlebars .io .FileTemplateLoader ;
53
51
import com .github .jknack .handlebars .io .TemplateLoader ;
@@ -169,7 +167,7 @@ public static void run(final Options args) throws Exception {
169
167
(context , options ) -> new Handlebars .SafeString (options .fn .text ())
170
168
);
171
169
handlebars .registerHelper ("json" , Jackson2Helper .INSTANCE );
172
- handlebars .registerHelper ("md" , new MarkdownHelper ());
170
+ // handlebars.registerHelper("md", new MarkdownHelper());
173
171
// String helpers
174
172
StringHelpers .register (handlebars );
175
173
// Humanize helpers
Original file line number Diff line number Diff line change 17
17
<module >handlebars-helpers</module >
18
18
<!-- <module>handlebars-springmvc</module>-->
19
19
<module >handlebars-jackson2</module >
20
- <module >handlebars-markdown</module >
20
+ <!-- <module>handlebars-markdown</module> -- >
21
21
<module >handlebars-humanize</module >
22
22
<module >handlebars-proto</module >
23
23
<module >handlebars-guava-cache</module >
271
271
<plugin >
272
272
<groupId >org.apache.maven.plugins</groupId >
273
273
<artifactId >maven-deploy-plugin</artifactId >
274
- <version >2.8.2 </version >
274
+ <version >3.0.0-M1 </version >
275
275
</plugin >
276
276
277
277
</plugins >
You can’t perform that action at this time.
0 commit comments