File tree Expand file tree Collapse file tree 2 files changed +30
-4
lines changed
examples/extended-wadl-webapp Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ jersey.
1515Contents
1616--------
1717
18- The description of what's done here you'll find in the [ jersey 1
19- wiki] ( https://wikis.oracle.com/display/Jersey/HowToConfigureExtendedWADL ) .
20-
2118The difference in configuration against jersey 1.x is in property
2219configuring the custom WadlGeneratorConfig. Instead of property key
2320'com.sun.jersey.config.property.WadlGeneratorConfig' use the property
@@ -48,6 +45,8 @@ into your existing GlassFish instance, you will need to follow
4845instructions at [ the module README file] ( ../../README.html ) in order to
4946deploy the example.
5047
48+ NOTE: the example must be run with a JDK prior to JDK 13 otherwise javadoc plugin won't work properly.
49+
5150Otherwise, you can run the example using embedded GlassFish as follows:
5251
5352You can run the example using Grizzly as follows:
Original file line number Diff line number Diff line change 132132 <dependency >
133133 <groupId >com.sun.xml.bind</groupId >
134134 <artifactId >jaxb-osgi</artifactId >
135- <scope >test </scope >
135+ <scope >runtime </scope >
136136 </dependency >
137137 <dependency >
138138 <groupId >jakarta.xml.bind</groupId >
301301 <skip >true</skip >
302302 </configuration >
303303 </plugin >
304+ <plugin >
305+ <artifactId >maven-antrun-plugin</artifactId >
306+ <executions >
307+ <execution >
308+ <phase >generate-resources</phase >
309+ <goals >
310+ <goal >run</goal >
311+ </goals >
312+ <configuration >
313+ <target >
314+ <echo >****************************************************</echo >
315+ <echo >****THIS EXAMPLE WORKS ONLY ON JDKs PRIOR to 13!****</echo >
316+ <echo >********CURRENT JDK IS NOT SUPPORTED!***************</echo >
317+ <echo >****************************************************</echo >
318+ </target >
319+ </configuration >
320+ </execution >
321+ </executions >
322+ </plugin >
323+ <plugin >
324+ <groupId >org.jvnet.jaxb2.maven2</groupId >
325+ <artifactId >maven-jaxb2-plugin</artifactId >
326+ <version >0.14.0</version >
327+ <configuration >
328+ <verbose >false</verbose >
329+ </configuration >
330+ </plugin >
304331 </plugins >
305332 </build >
306333 </profile >
You can’t perform that action at this time.
0 commit comments