Advertisement
Guest User

Untitled

a guest
Aug 10th, 2013
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. <!-- civic project catalog file -->
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  4. <!-- This Project -->
  5. <rewriteSystem systemIdStartString="http://schemas/vehicle/civic/"
  6. rewritePrefix="xsd/" />
  7. <!-- CoreTypes Project -->
  8. <rewriteSystem systemIdStartString="http://schemas/core/types/"
  9. rewritePrefix="classpath:xsd/" />
  10. <!-- Automobile Project -->
  11. <rewriteSystem systemIdStartString="http://schemas/vehicle/automobile/"
  12. rewritePrefix="classpath:xsd/" />
  13. </catalog>
  14.  
  15. <!-- civic project pom file -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19.  
  20. <parent>
  21. <groupId>schemas</groupId>
  22. <artifactId>vehicle</artifactId>
  23. <version>1.0-SNAPSHOT</version>
  24. </parent>
  25.  
  26. <packaging>jar</packaging>
  27.  
  28. <groupId>schemas.vehicle</groupId>
  29. <artifactId>civic</artifactId>
  30.  
  31. <dependencies>
  32. <dependency>
  33. <groupId>schemas.core</groupId>
  34. <artifactId>types</artifactId>
  35. <version>1.0-SNAPSHOT</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>schemas.vehicle</groupId>
  39. <artifactId>automobile</artifactId>
  40. <version>1.0-SNAPSHOT</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.jvnet.jaxb2.maven2</groupId>
  44. <artifactId>maven-jaxb2-plugin</artifactId>
  45. <version>0.8.3</version>
  46. </dependency>
  47. </dependencies>
  48.  
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-compiler-plugin</artifactId>
  54. <version>2.5.1</version>
  55. <configuration>
  56. <source>1.7</source>
  57. <target>1.7</target>
  58. <showDeprecation>true</showDeprecation>
  59. <showWarnings>true</showWarnings>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.jvnet.jaxb2.maven2</groupId>
  64. <artifactId>maven-jaxb2-plugin</artifactId>
  65. <version>0.8.3</version>
  66. <configuration>
  67. <episodes>
  68. <episode>
  69. <groupId>schemas.core</groupId>
  70. <artifactId>types</artifactId>
  71. <version>1.0-SNAPSHOT</version>
  72. </episode>
  73. <episode>
  74. <groupId>schemas.vehicle</groupId>
  75. <artifactId>automobile</artifactId>
  76. <version>1.0-SNAPSHOT</version>
  77. </episode>
  78. </episodes>
  79. <catalog>src/main/resources/catalog.xml</catalog>
  80. <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
  81. <extension>true</extension>
  82. <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory>
  83. <schemaIncludes>
  84. <include>civic.xsd</include>
  85. </schemaIncludes>
  86. <plugins>
  87. <plugin>
  88. <groupId>schemas.core</groupId>
  89. <artifactId>types</artifactId>
  90. <version>1.0-SNAPSHOT</version>
  91. </plugin>
  92. <plugin>
  93. <groupId>schemas.vehicle</groupId>
  94. <artifactId>automobile</artifactId>
  95. <version>1.0-SNAPSHOT</version>
  96. </plugin>
  97. </plugins>
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>generate</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement