Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- types project catalog file -->
- <?xml version="1.0" encoding="UTF-8"?>
- <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
- <!-- This Project -->
- <rewriteSystem systemIdStartString="http://schemas/core/types/"
- rewritePrefix="xsd/" />
- </catalog>
- <!-- types project pomg file -->
- <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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>schemas</groupId>
- <artifactId>core</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <packaging>jar</packaging>
- <groupId>schemas.core</groupId>
- <artifactId>types</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.jvnet.jaxb2.maven2</groupId>
- <artifactId>maven-jaxb2-plugin</artifactId>
- <version>0.8.3</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>1.7</source>
- <target>1.7</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jvnet.jaxb2.maven2</groupId>
- <artifactId>maven-jaxb2-plugin</artifactId>
- <version>0.8.3</version>
- <configuration>
- <catalog>src/main/resources/catalog.xml</catalog>
- <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
- <extension>true</extension>
- <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory>
- <schemaIncludes>
- <include>types.xsd</include>
- </schemaIncludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement