|
| 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/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <relativePath>../org.getaviz.parent/pom.xml</relativePath> |
| 7 | + <groupId>org.getaviz</groupId> |
| 8 | + <artifactId>org.getaviz.parent</artifactId> |
| 9 | + <version>1.0.0-SNAPSHOT</version> |
| 10 | + </parent> |
| 11 | + <artifactId>org.getaviz.generator</artifactId> |
| 12 | + <name>Getaviz Generator</name> |
| 13 | + <distributionManagement> |
| 14 | + <site> |
| 15 | + <id>${project.artifactId}-site</id> |
| 16 | + <url>${project.baseUri}</url> |
| 17 | + </site> |
| 18 | + </distributionManagement> |
| 19 | + <dependencies> |
| 20 | + <!-- Internal Dependencies --> |
| 21 | + <dependency> |
| 22 | + <groupId>org.getaviz.lib.database</groupId> |
| 23 | + <artifactId>org.getaviz.lib.database</artifactId> |
| 24 | + <version>1.0.0-SNAPSHOT</version> |
| 25 | + </dependency> |
| 26 | + <!-- External Dependencies --> |
| 27 | + |
| 28 | + <!-- Apache Commons --> |
| 29 | + <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging --> |
| 30 | + <dependency> |
| 31 | + <groupId>commons-logging</groupId> |
| 32 | + <artifactId>commons-logging</artifactId> |
| 33 | + <version>1.2</version> |
| 34 | + </dependency> |
| 35 | + <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text --> |
| 36 | + <dependency> |
| 37 | + <groupId>org.apache.commons</groupId> |
| 38 | + <artifactId>commons-text</artifactId> |
| 39 | + <version>1.6</version> |
| 40 | + </dependency> |
| 41 | + <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
| 42 | + <dependency> |
| 43 | + <groupId>org.apache.commons</groupId> |
| 44 | + <artifactId>commons-lang3</artifactId> |
| 45 | + <version>3.8.1</version> |
| 46 | + </dependency> |
| 47 | + <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> |
| 48 | + <dependency> |
| 49 | + <groupId>commons-codec</groupId> |
| 50 | + <artifactId>commons-codec</artifactId> |
| 51 | + <version>1.11</version> |
| 52 | + </dependency> |
| 53 | + <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-configuration2 --> |
| 54 | + <dependency> |
| 55 | + <groupId>org.apache.commons</groupId> |
| 56 | + <artifactId>commons-configuration2</artifactId> |
| 57 | + <version>2.4</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <!-- Other --> |
| 61 | + <!-- https://mvnrepository.com/artifact/org.eclipse.xtend/org.eclipse.xtend.lib --> |
| 62 | + <dependency> |
| 63 | + <groupId>org.eclipse.xtend</groupId> |
| 64 | + <artifactId>org.eclipse.xtend.lib</artifactId> |
| 65 | + <version>${xtend.version}</version> |
| 66 | + </dependency> |
| 67 | + <dependency> |
| 68 | + <groupId>com.google.guava</groupId> |
| 69 | + <artifactId>guava</artifactId> |
| 70 | + <version>19.0-rc3</version> |
| 71 | + </dependency> |
| 72 | + <!-- https://mvnrepository.com/artifact/org.neo4j/neo4j-graphdb-api --> |
| 73 | + <dependency> |
| 74 | + <groupId>org.neo4j</groupId> |
| 75 | + <artifactId>neo4j-graphdb-api</artifactId> |
| 76 | + <version>${neo4j.version}</version> |
| 77 | + </dependency> |
| 78 | + <!-- https://mvnrepository.com/artifact/org.neo4j/neo4j-resource --> |
| 79 | + <dependency> |
| 80 | + <groupId>org.neo4j</groupId> |
| 81 | + <artifactId>neo4j-resource</artifactId> |
| 82 | + <version>${neo4j.version}</version> |
| 83 | + </dependency> |
| 84 | + <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --> |
| 85 | + <dependency> |
| 86 | + <groupId>commons-beanutils</groupId> |
| 87 | + <artifactId>commons-beanutils</artifactId> |
| 88 | + <version>1.9.3</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>com.vividsolutions</groupId> |
| 92 | + <artifactId>jts</artifactId> |
| 93 | + <version>1.13</version> |
| 94 | + </dependency> |
| 95 | + <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> |
| 96 | + <dependency> |
| 97 | + <groupId>org.junit.jupiter</groupId> |
| 98 | + <artifactId>junit-jupiter-api</artifactId> |
| 99 | + <version>5.3.1</version> |
| 100 | + <scope>test</scope> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>org.junit.jupiter</groupId> |
| 104 | + <artifactId>junit-jupiter-engine</artifactId> |
| 105 | + <version>5.3.1</version> |
| 106 | + <scope>test</scope> |
| 107 | + </dependency> |
| 108 | + <dependency> |
| 109 | + <groupId>org.junit.vintage</groupId> |
| 110 | + <artifactId>junit-vintage-engine</artifactId> |
| 111 | + <version>5.3.1</version> |
| 112 | + <scope>test</scope> |
| 113 | + </dependency> |
| 114 | + <dependency> |
| 115 | + <groupId>org.junit.platform</groupId> |
| 116 | + <artifactId>junit-platform-launcher</artifactId> |
| 117 | + <version>1.1.0</version> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>org.junit.platform</groupId> |
| 122 | + <artifactId>junit-platform-runner</artifactId> |
| 123 | + <version>1.1.0</version> |
| 124 | + <scope>test</scope> |
| 125 | + </dependency> |
| 126 | + <!-- https://mvnrepository.com/artifact/org.neo4j.test/neo4j-harness --> |
| 127 | +<dependency> |
| 128 | + <groupId>org.neo4j.test</groupId> |
| 129 | + <artifactId>neo4j-harness</artifactId> |
| 130 | + <version>3.4.9</version> |
| 131 | + <scope>test</scope> |
| 132 | +</dependency> |
| 133 | + |
| 134 | + |
| 135 | + </dependencies> |
| 136 | + <build> |
| 137 | + <sourceDirectory>src</sourceDirectory> |
| 138 | + <plugins> |
| 139 | + <plugin> |
| 140 | + <groupId>org.eclipse.xtend</groupId> |
| 141 | + <artifactId>xtend-maven-plugin</artifactId> |
| 142 | + </plugin> |
| 143 | + <plugin> |
| 144 | + <artifactId>maven-compiler-plugin</artifactId> |
| 145 | + <!-- <executions> --> |
| 146 | + <!-- <execution> --> |
| 147 | + <!-- <id>default-testCompile</id> --> |
| 148 | + <!-- <phase>none</phase> --> |
| 149 | + <!-- </execution> --> |
| 150 | + <!-- </executions> --> |
| 151 | + </plugin> |
| 152 | + <!-- disable test execution --> |
| 153 | + <plugin> |
| 154 | + <groupId>org.apache.maven.plugins</groupId> |
| 155 | + <artifactId>maven-surefire-plugin</artifactId> |
| 156 | + <version>2.19.1</version> |
| 157 | + <dependencies> |
| 158 | + <dependency> |
| 159 | + <groupId>org.junit.platform</groupId> |
| 160 | + <artifactId>junit-platform-surefire-provider</artifactId> |
| 161 | + <version>1.1.0</version> |
| 162 | + </dependency> |
| 163 | + <dependency> |
| 164 | + <groupId>org.junit.jupiter</groupId> |
| 165 | + <artifactId>junit-jupiter-engine</artifactId> |
| 166 | + <version>5.3.1</version> |
| 167 | + </dependency> |
| 168 | + </dependencies> |
| 169 | +</plugin> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.maven.plugins</groupId> |
| 172 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 173 | + <version>2.10.3</version> |
| 174 | + <configuration> |
| 175 | + <sourcepath>${basedir}/xtend-gen/:${basedir}/src/</sourcepath> |
| 176 | + <skip>false</skip> |
| 177 | + <quiet>true</quiet> |
| 178 | + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 179 | + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 180 | + </configuration> |
| 181 | + </plugin> |
| 182 | + <plugin> |
| 183 | + <groupId>org.codehaus.mojo</groupId> |
| 184 | + <artifactId>exec-maven-plugin</artifactId> |
| 185 | + <version>1.4.0</version> |
| 186 | + <executions> |
| 187 | + <execution> |
| 188 | + <phase>deploy</phase> |
| 189 | + <goals> |
| 190 | + <goal>java</goal> |
| 191 | + </goals> |
| 192 | + </execution> |
| 193 | + </executions> |
| 194 | + <configuration> |
| 195 | + <executable>java</executable> |
| 196 | + <includeProjectDependencies>true</includeProjectDependencies> |
| 197 | + <includePluginDependencies>true</includePluginDependencies> |
| 198 | + <arguments> |
| 199 | + <!-- uncomment to increase java heap size --> |
| 200 | + <argument>-Xmx8g</argument> |
| 201 | + <argument>-classpath</argument> |
| 202 | + <classpath /> |
| 203 | + <argument>org.getaviz.generator.Generator</argument> |
| 204 | + <argument>-p</argument> |
| 205 | + <argument>runtimeProject=${project.basedir}</argument> |
| 206 | + </arguments> |
| 207 | + </configuration> |
| 208 | + </plugin> |
| 209 | + </plugins> |
| 210 | + |
| 211 | + <pluginManagement> |
| 212 | + <plugins> |
| 213 | + <plugin> |
| 214 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 215 | + <version>2.9</version> |
| 216 | + </plugin> |
| 217 | + <!-- xtend-maven-plugin is in pluginManagement instead of in plugins |
| 218 | + so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way |
| 219 | + we can list it after. --> |
| 220 | + <plugin> |
| 221 | + <groupId>org.eclipse.xtend</groupId> |
| 222 | + <artifactId>xtend-maven-plugin</artifactId> |
| 223 | + <version>${xtend.version}</version> |
| 224 | + <!-- <dependencies> --> |
| 225 | + <!-- <dependency> --> |
| 226 | + <!-- <groupId>org.eclipse.platform</groupId> --> |
| 227 | + <!-- <artifactId>org.eclipse.equinox.common</artifactId> --> |
| 228 | + <!-- <version>3.10.0</version> --> |
| 229 | + <!-- </dependency> --> |
| 230 | + <!-- </dependencies> --> |
| 231 | + <executions> |
| 232 | + <execution> |
| 233 | + <goals> |
| 234 | + <goal>compile</goal> |
| 235 | + <goal>testCompile</goal> |
| 236 | + </goals> |
| 237 | + </execution> |
| 238 | + </executions> |
| 239 | + <configuration> |
| 240 | + <outputDirectory>${basedir}/xtend-gen</outputDirectory> |
| 241 | + <testOutputDirectory>${basedir}/test-xtend-gen</testOutputDirectory> |
| 242 | + </configuration> |
| 243 | + </plugin> |
| 244 | + <plugin> |
| 245 | + <groupId>org.apache.maven.plugins</groupId> |
| 246 | + <artifactId>maven-compiler-plugin</artifactId> |
| 247 | + <version>3.5.1</version> |
| 248 | + <configuration> |
| 249 | + <source>1.8</source> |
| 250 | + <target>1.8</target> |
| 251 | + <useIncrementalCompilation>true</useIncrementalCompilation> |
| 252 | + </configuration> |
| 253 | + </plugin> |
| 254 | + </plugins> |
| 255 | + </pluginManagement> |
| 256 | + </build> |
| 257 | + <reporting> |
| 258 | + <plugins> |
| 259 | + <plugin> |
| 260 | + <groupId>org.apache.maven.plugins</groupId> |
| 261 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 262 | + <version>2.4</version> |
| 263 | + <configuration> |
| 264 | + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 265 | + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 266 | + </configuration> |
| 267 | + </plugin> |
| 268 | + </plugins> |
| 269 | + </reporting> |
| 270 | +</project> |
0 commit comments