vinayakb | 6ef7b8e | 2013-04-07 01:38:41 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
vinayakb | 68b25e1 | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
| 5 | <artifactId>asterix</artifactId> |
| 6 | <groupId>edu.uci.ics.asterix</groupId> |
vinayakb | 6ef7b8e | 2013-04-07 01:38:41 +0000 | [diff] [blame] | 7 | <version>0.0.4-SNAPSHOT</version> |
vinayakb | 68b25e1 | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 8 | </parent> |
| 9 | <groupId>edu.uci.ics.asterix</groupId> |
| 10 | <artifactId>asterix-events</artifactId> |
vinayakb | 6ef7b8e | 2013-04-07 01:38:41 +0000 | [diff] [blame] | 11 | <version>0.0.4-SNAPSHOT</version> |
vinayakb | 68b25e1 | 2013-04-06 21:21:29 +0000 | [diff] [blame] | 12 | |
| 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | </properties> |
| 16 | |
| 17 | <build> |
| 18 | <plugins> |
| 19 | <plugin> |
| 20 | <groupId>org.apache.maven.plugins</groupId> |
| 21 | <artifactId>maven-compiler-plugin</artifactId> |
| 22 | <version>2.0.2</version> |
| 23 | <configuration> |
| 24 | <source>1.6</source> |
| 25 | <target>1.6</target> |
| 26 | </configuration> |
| 27 | </plugin> |
| 28 | <plugin> |
| 29 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 30 | <artifactId>maven-jaxb2-plugin</artifactId> |
| 31 | <executions> |
| 32 | <execution> |
| 33 | <id>event</id> |
| 34 | <goals> |
| 35 | <goal>generate</goal> |
| 36 | </goals> |
| 37 | <configuration> |
| 38 | <args> |
| 39 | <arg>-Xsetters</arg> |
| 40 | <arg>-Xvalue-constructor</arg> |
| 41 | </args> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 45 | <artifactId>jaxb2-basics</artifactId> |
| 46 | <version>0.6.2</version> |
| 47 | </plugin> |
| 48 | <plugin> |
| 49 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 50 | <artifactId>jaxb2-value-constructor</artifactId> |
| 51 | <version>3.0</version> |
| 52 | </plugin> |
| 53 | </plugins> |
| 54 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 55 | <schemaIncludes> |
| 56 | <include>event.xsd</include> |
| 57 | </schemaIncludes> |
| 58 | <generatePackage>edu.uci.ics.asterix.event.schema.event</generatePackage> |
| 59 | <generateDirectory>${project.build.directory}/generated-sources/event</generateDirectory> |
| 60 | </configuration> |
| 61 | </execution> |
| 62 | <execution> |
| 63 | <id>pattern</id> |
| 64 | <goals> |
| 65 | <goal>generate</goal> |
| 66 | </goals> |
| 67 | <configuration> |
| 68 | <args> |
| 69 | <arg>-Xsetters</arg> |
| 70 | <arg>-Xvalue-constructor</arg> |
| 71 | </args> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 75 | <artifactId>jaxb2-basics</artifactId> |
| 76 | <version>0.6.2</version> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 80 | <artifactId>jaxb2-value-constructor</artifactId> |
| 81 | <version>3.0</version> |
| 82 | </plugin> |
| 83 | </plugins> |
| 84 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 85 | <schemaIncludes> |
| 86 | <include>pattern.xsd</include> |
| 87 | </schemaIncludes> |
| 88 | <generatePackage>edu.uci.ics.asterix.event.schema.pattern</generatePackage> |
| 89 | <generateDirectory>${project.build.directory}/generated-sources/pattern</generateDirectory> |
| 90 | </configuration> |
| 91 | </execution> |
| 92 | <execution> |
| 93 | <id>cluster</id> |
| 94 | <goals> |
| 95 | <goal>generate</goal> |
| 96 | </goals> |
| 97 | <configuration> |
| 98 | <args> |
| 99 | <arg>-Xsetters</arg> |
| 100 | <arg>-Xvalue-constructor</arg> |
| 101 | </args> |
| 102 | <plugins> |
| 103 | <plugin> |
| 104 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 105 | <artifactId>jaxb2-basics</artifactId> |
| 106 | <version>0.6.2</version> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 110 | <artifactId>jaxb2-value-constructor</artifactId> |
| 111 | <version>3.0</version> |
| 112 | </plugin> |
| 113 | </plugins> |
| 114 | <schemaDirectory>src/main/resources/schema</schemaDirectory> |
| 115 | <schemaIncludes> |
| 116 | <include>cluster.xsd</include> |
| 117 | </schemaIncludes> |
| 118 | <generatePackage>edu.uci.ics.asterix.event.schema.cluster</generatePackage> |
| 119 | <generateDirectory>${project.build.directory}/generated-sources/cluster</generateDirectory> |
| 120 | <bindingDirectory>src/main/resources/schema</bindingDirectory> |
| 121 | <bindingIncludes> |
| 122 | <bindingInclude>jaxb-bindings.xjb</bindingInclude> |
| 123 | </bindingIncludes> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | <plugin> |
| 129 | <artifactId>maven-assembly-plugin</artifactId> |
| 130 | <version>2.2-beta-2</version> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <configuration> |
| 134 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 135 | </configuration> |
| 136 | <phase>package</phase> |
| 137 | <goals> |
| 138 | <goal>attached</goal> |
| 139 | </goals> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | </plugin> |
| 143 | </plugins> |
| 144 | </build> |
| 145 | |
| 146 | <dependencies> |
| 147 | <dependency> |
| 148 | <groupId>junit</groupId> |
| 149 | <artifactId>junit</artifactId> |
| 150 | <version>4.8.1</version> |
| 151 | <scope>test</scope> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>args4j</groupId> |
| 155 | <artifactId>args4j</artifactId> |
| 156 | <version>2.0.12</version> |
| 157 | <type>jar</type> |
| 158 | <scope>compile</scope> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 162 | <artifactId>jaxb2-value-constructor</artifactId> |
| 163 | <version>3.0</version> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>commons-io</groupId> |
| 167 | <artifactId>commons-io</artifactId> |
| 168 | <version>1.4</version> |
| 169 | </dependency> |
| 170 | </dependencies> |
| 171 | </project> |