ota-tools-schema-jaxb-2004b-custom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.sourceforge.ota-tools.schema.jaxb</groupId>
<artifactId>ota-tools-schema-jaxb-2004b-custom</artifactId>
<version>1.1.6</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>ota-tools-schema-jaxb</artifactId>
<groupId>net.sourceforge.ota-tools.schema.jaxb</groupId>
<version>1.1.6</version>
</parent>
<groupId>net.sourceforge.ota-tools.schema.jaxb</groupId>
<artifactId>ota-tools-schema-jaxb-2004b-custom</artifactId>
<version>1.1.6</version>
<name>ota-tools-schema-jaxb-2004b-custom (opentravel jaxb of 2004B for all schema)</name>
<url>http://ota-tools.sourceforge.net/</url>
<profiles>
<profile>
<id>jibx</id>
<activation>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jibx</groupId>
<artifactId>maven-jibx-plugin</artifactId>
<version>1.2.2</version>
<executions>
<execution>
<id>generate-java-code-from-schema</id>
<goals>
<goal>schema-codegen</goal>
</goals>
<configuration>
<multi-module>true</multi-module>
<directory>${basedir}/src/main/resources/schema/2004B</directory>
<customizations>
<customization>${basedir}/src/main/resources/schema/2004B/jaxb/custom-full.xml</customization>
</customizations>
<includes>
<include>*.xsd</include>
</includes>
</configuration>
</execution>
<execution>
<id>compile-binding</id>
<goals>
<goal>bind</goal>
</goals>
<configuration>
<multi-module>true</multi-module>
<directory>target/generated-sources</directory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies> <!-- All modules need these -->
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-run</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-extras</artifactId>
<version>1.2.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>jaxb</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>xjc</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>net.sourceforge.ota_tools.jaxb.ota2004b.custom</packageName> <!-- The name of your generated source package -->
<schemaDirectory>${basedir}/src/main/resources/schema/2004B</schemaDirectory>
<bindingDirectory>${basedir}/src/main/resources/schema/2004B/jaxb/binding.xjc</bindingDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>xmlbeans</id>
<activation>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<version>2.3.3</version>
<executions>
<execution>
<goals>
<goal>xmlbeans</goal>
</goals>
</execution>
</executions>
<inherited>true</inherited>
<configuration>
<schemaDirectory>${basedir}/src/main/resources/schema/2004B</schemaDirectory>
<defaultXmlConfigDir>${basedir}/src/main/resources/schema/2004B/jaxb</defaultXmlConfigDir>
<memoryMaximumSize>1024m</memoryMaximumSize>
<download>true</download>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.4.0</version>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>