-
Notifications
You must be signed in to change notification settings - Fork 37
Maven Usage
highsource edited this page Dec 24, 2014
·
2 revisions
- Configure
org.hisrc.jsonix:jsonix-schema-compiler
asplugin
. - Configure
-Xjsonix
inargs/arg
. - Configure further
-Xjsonix-...
command-line options.
<project ...>
...
<build>
...
<plugins>
...
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>${maven-jaxb2-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<extension>true</extension>
<args>
<arg>-Xjsonix</arg>
<arg>-Xjsonix-compact</arg>
</args>
<plugins>
<plugin>
<groupId>org.hisrc.jsonix</groupId>
<artifactId>jsonix-schema-compiler</artifactId>
<version>${jsonix-schema-compiler.version}</version>
</plugin>
</plugins>
</configuration>
</execution>
</executions>
</plugin>
...
</plugins>
...
</build>
</project>
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development