1
|
Compiling
|
2
|
============
|
3
|
|
4
|
### compiling the schema:
|
5
|
|
6
|
mvn jaxb2:generate
|
7
|
|
8
|
the xml schema file contains ``<annox:annotate>`` elements
|
9
|
for the xjc Annotate Plugin which will compile them into java annotations.
|
10
|
See https://github.com/highsource/jaxb2-annotate-plugin for more information.
|
11
|
|
12
|
### compiling wsdl2java
|
13
|
|
14
|
re-enable the disabled dependencies in the pom.xml by un-commenting them. The according section is
|
15
|
between:
|
16
|
|
17
|
<!-- ======================================================================= -->
|
18
|
<!-- Dependencies needed for Apache Axix WSDL2Java (only during development) -->
|
19
|
...
|
20
|
<!-- ======================================================================= -->
|
21
|
|
22
|
then compile the java classes
|
23
|
|
24
|
|
25
|
java -cp $(mvn3 dependency:build-classpath | grep -v "\[") org.apache.axis.wsdl.WSDL2Java <url-to-wsdl-file>
|