Skip to content

Commit 40259f7

Browse files
committed
Docs.
1 parent df91774 commit 40259f7

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

README.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,47 @@
1-
jsonix-schema-compiler
2-
======================
1+
# Jsonix Schema Compiler #
32

3+
Generates [Jsonix](https://github.com/highsource/jsonix) mappings for XML Schemas.
44

5+
Please refer to [Wiki](https://github.com/highsource/jsonix-schema-compiler/wiki) for documentation.
6+
7+
## Using in command-line
8+
9+
```
10+
java -jar jsonix-schema-compiler-full.jar
11+
[-compact -logLevel TRACE]
12+
schema.xsd
13+
[-b bindings.xjb]
14+
```
15+
16+
See [Command-Line Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Command-Line-Usage).
17+
18+
## Using with Ant
19+
20+
TBD
21+
22+
See [Ant Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Ant-Usage).
23+
24+
## Using with Maven
25+
26+
```xml
27+
<plugin>
28+
<groupId>org.jvnet.jaxb2.maven2</groupId>
29+
<artifactId>maven-jaxb2-plugin</artifactId>
30+
<configuration>
31+
<extension>true</extension>
32+
<args>
33+
<arg>-Xjsonix</arg>
34+
<arg>-Xjsonix-compact</arg>
35+
</args>
36+
<plugins>
37+
<plugin>
38+
<groupId>org.hisrc.jsonix</groupId>
39+
<artifactId>jsonix-schema-compiler</artifactId>
40+
<version>${jsonix-schema-compiler.version}</version>
41+
</plugin>
42+
</plugins>
43+
</configuration>
44+
</plugin>
45+
```
46+
47+
See [Maven Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Maven-Usage).

0 commit comments

Comments
 (0)