Advertisement
Guest User

Untitled

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