|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>org.jvnet.jaxb</groupId> |
| 7 | + <artifactId>jaxb-annotate-plugin-tests</artifactId> |
| 8 | + <version>2.0.10-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <artifactId>jaxb-annotate-plugin-test-base-dependent</artifactId> |
| 11 | + <packaging>jar</packaging> |
| 12 | + <name>JAXB Tools :: Annotate :: Test [base-dependent]</name> |
| 13 | + <dependencies> |
| 14 | + <dependency> |
| 15 | + <groupId>org.glassfish.jaxb</groupId> |
| 16 | + <artifactId>jaxb-runtime</artifactId> |
| 17 | + </dependency> |
| 18 | + <dependency> |
| 19 | + <groupId>org.glassfish.jaxb</groupId> |
| 20 | + <artifactId>jaxb-xjc</artifactId> |
| 21 | + </dependency> |
| 22 | + <dependency> |
| 23 | + <groupId>org.jvnet.jaxb</groupId> |
| 24 | + <artifactId>jaxb-maven-plugin-testing</artifactId> |
| 25 | + <scope>test</scope> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.jvnet.jaxb</groupId> |
| 29 | + <artifactId>jaxb-basics-annotate</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>javax.validation</groupId> |
| 33 | + <artifactId>validation-api</artifactId> |
| 34 | + <version>2.0.1.Final</version> |
| 35 | + </dependency> |
| 36 | + </dependencies> |
| 37 | + <build> |
| 38 | + <defaultGoal>test</defaultGoal> |
| 39 | + <plugins> |
| 40 | + <plugin> |
| 41 | + <groupId>org.jvnet.jaxb</groupId> |
| 42 | + <artifactId>jaxb-maven-plugin</artifactId> |
| 43 | + <executions> |
| 44 | + <execution> |
| 45 | + <id>base</id> |
| 46 | + <goals> |
| 47 | + <goal>generate</goal> |
| 48 | + </goals> |
| 49 | + <configuration> |
| 50 | + <addIfExistsToEpisodeSchemaBindings>false</addIfExistsToEpisodeSchemaBindings> |
| 51 | + <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory> |
| 52 | + <schemaIncludes> |
| 53 | + <include>base.xsd</include> |
| 54 | + </schemaIncludes> |
| 55 | + <generatePackage>org.test.base</generatePackage> |
| 56 | + <encoding>UTF-8</encoding> |
| 57 | + <extension>true</extension> |
| 58 | + <episode>true</episode> |
| 59 | + <episodeFile>${basedir}/target/generated-sources/xjc/META-INF/base.xjb</episodeFile> |
| 60 | + <args> |
| 61 | + <arg>-Xannotate</arg> |
| 62 | + </args> |
| 63 | + <plugins> |
| 64 | + <dependency> |
| 65 | + <groupId>javax.validation</groupId> |
| 66 | + <artifactId>validation-api</artifactId> |
| 67 | + </dependency> |
| 68 | + <plugin> |
| 69 | + <groupId>org.jvnet.jaxb</groupId> |
| 70 | + <artifactId>jaxb-basics-annotate</artifactId> |
| 71 | + </plugin> |
| 72 | + </plugins> |
| 73 | + </configuration> |
| 74 | + </execution> |
| 75 | + |
| 76 | + <execution> |
| 77 | + <id>dependent</id> |
| 78 | + <goals> |
| 79 | + <goal>generate</goal> |
| 80 | + </goals> |
| 81 | + <configuration> |
| 82 | + <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory> |
| 83 | + <schemaIncludes> |
| 84 | + <include>dependent.xsd</include> |
| 85 | + </schemaIncludes> |
| 86 | + <generatePackage>org.test.dependent</generatePackage> |
| 87 | + <encoding>UTF-8</encoding> |
| 88 | + <bindings> |
| 89 | + <binding> |
| 90 | + <fileset> |
| 91 | + <directory>${basedir}/target/generated-sources/xjc/META-INF</directory> |
| 92 | + <includes> |
| 93 | + <include>*.xjb</include> |
| 94 | + </includes> |
| 95 | + </fileset> |
| 96 | + </binding> |
| 97 | + </bindings> |
| 98 | + <extension>true</extension> |
| 99 | + <episode>true</episode> |
| 100 | + <episodeFile>${basedir}/target/generated-sources/xjc/META-INF/dependent.xjb</episodeFile> |
| 101 | + <args> |
| 102 | + <arg>-Xannotate</arg> |
| 103 | + </args> |
| 104 | + <plugins> |
| 105 | + <dependency> |
| 106 | + <groupId>javax.validation</groupId> |
| 107 | + <artifactId>validation-api</artifactId> |
| 108 | + </dependency> |
| 109 | + <plugin> |
| 110 | + <groupId>org.jvnet.jaxb</groupId> |
| 111 | + <artifactId>jaxb-basics-annotate</artifactId> |
| 112 | + </plugin> |
| 113 | + </plugins> |
| 114 | + </configuration> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
| 118 | + </plugins> |
| 119 | + </build> |
| 120 | +</project> |
0 commit comments