You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -116,9 +116,12 @@ This is just a namespace, there must not necessarily be content there. Treat it
116
116
117
117
Using JAXB2 Annotate Plugin with Maven
118
118
--------------------------------------
119
-
See [this example](https://github.com/highsource/jaxb2-annotate-plugin/tree/master/tests/annox).
120
119
121
-
Note that annotations are first compiled in the `annotations` module and the added to the classpath of the `maven-jaxb2-plugin` in the `schema` module:
120
+
* Add `org.jvnet.jaxb2_commons:jaxb2-basics-annotate` as XJC plugin
121
+
* Turn on the plugin using `-Xannotate` switch
122
+
* Add artifact with your annotations as another XJC plugin
123
+
124
+
Example:
122
125
123
126
````xml
124
127
<plugin>
@@ -134,14 +137,18 @@ Note that annotations are first compiled in the `annotations` module and the add
See [this example](https://github.com/highsource/jaxb2-annotate-plugin/tree/master/tests/annox).
150
+
151
+
Note that annotations are first compiled in the `annotations` module and the added to the classpath of the `maven-jaxb2-plugin` in the `schema` module:
0 commit comments