|
2 | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 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> |
| 5 | + <groupId>org.getaviz</groupId> |
11 | 6 | <artifactId>org.getaviz.generator</artifactId> |
| 7 | + <version>1.0.0-SNAPSHOT</version> |
12 | 8 | <name>Getaviz Generator</name> |
| 9 | + <url>https://github.com/getaviz/Getaviz</url> |
| 10 | + <packaging>war</packaging> |
13 | 11 | <distributionManagement> |
14 | 12 | <site> |
15 | 13 | <id>${project.artifactId}-site</id> |
16 | 14 | <url>${project.baseUri}</url> |
17 | 15 | </site> |
18 | 16 | </distributionManagement> |
| 17 | + <properties> |
| 18 | + <xtend.version>2.16.0</xtend.version> |
| 19 | + <neo4j.version>3.5.1</neo4j.version> |
| 20 | + <junit.jupiter.version>5.3.1</junit.jupiter.version> |
| 21 | + <dependency.locations.enabled>false</dependency.locations.enabled> |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + </properties> |
19 | 24 | <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 | 25 | <!-- Apache Commons --> |
29 | 26 | <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging --> |
30 | 27 | <dependency> |
|
56 | 53 | <artifactId>commons-configuration2</artifactId> |
57 | 54 | <version>2.4</version> |
58 | 55 | </dependency> |
59 | | - |
60 | | - <!-- Other --> |
61 | | - <!-- https://mvnrepository.com/artifact/org.eclipse.xtend/org.eclipse.xtend.lib --> |
62 | 56 | <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> |
| 57 | + <groupId>commons-beanutils</groupId> |
| 58 | + <artifactId>commons-beanutils</artifactId> |
| 59 | + <version>1.9.3</version> |
71 | 60 | </dependency> |
| 61 | + |
| 62 | + <!-- neo4j --> |
72 | 63 | <!-- https://mvnrepository.com/artifact/org.neo4j/neo4j-graphdb-api --> |
73 | 64 | <dependency> |
74 | 65 | <groupId>org.neo4j</groupId> |
|
81 | 72 | <artifactId>neo4j-resource</artifactId> |
82 | 73 | <version>${neo4j.version}</version> |
83 | 74 | </dependency> |
84 | | - <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --> |
85 | 75 | <dependency> |
86 | | - <groupId>commons-beanutils</groupId> |
87 | | - <artifactId>commons-beanutils</artifactId> |
88 | | - <version>1.9.3</version> |
| 76 | + <groupId>org.neo4j</groupId> |
| 77 | + <artifactId>neo4j</artifactId> |
| 78 | + <version>${neo4j.version}</version> |
| 79 | + </dependency> |
| 80 | + <!-- https://mvnrepository.com/artifact/org.neo4j.test/neo4j-harness --> |
| 81 | + <dependency> |
| 82 | + <groupId>org.neo4j.test</groupId> |
| 83 | + <artifactId>neo4j-harness</artifactId> |
| 84 | + <version>${neo4j.version}</version> |
| 85 | + <scope>test</scope> |
| 86 | + </dependency> |
| 87 | + |
| 88 | + <!-- Other --> |
| 89 | + <!-- https://mvnrepository.com/artifact/org.eclipse.xtend/org.eclipse.xtend.lib --> |
| 90 | + <dependency> |
| 91 | + <groupId>org.eclipse.xtend</groupId> |
| 92 | + <artifactId>org.eclipse.xtend.lib</artifactId> |
| 93 | + <version>${xtend.version}</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>com.google.guava</groupId> |
| 97 | + <artifactId>guava</artifactId> |
| 98 | + <version>19.0-rc3</version> |
89 | 99 | </dependency> |
90 | 100 | <dependency> |
91 | 101 | <groupId>com.vividsolutions</groupId> |
|
96 | 106 | <dependency> |
97 | 107 | <groupId>org.junit.jupiter</groupId> |
98 | 108 | <artifactId>junit-jupiter-api</artifactId> |
99 | | - <version>5.3.1</version> |
| 109 | + <version>${junit.jupiter.version}</version> |
100 | 110 | <scope>test</scope> |
101 | 111 | </dependency> |
102 | 112 | <dependency> |
103 | 113 | <groupId>org.junit.jupiter</groupId> |
104 | 114 | <artifactId>junit-jupiter-engine</artifactId> |
105 | | - <version>5.3.1</version> |
| 115 | + <version>${junit.jupiter.version}</version> |
106 | 116 | <scope>test</scope> |
107 | 117 | </dependency> |
108 | 118 | <dependency> |
109 | 119 | <groupId>org.junit.vintage</groupId> |
110 | 120 | <artifactId>junit-vintage-engine</artifactId> |
111 | | - <version>5.3.1</version> |
| 121 | + <version>${junit.jupiter.version}</version> |
112 | 122 | <scope>test</scope> |
113 | 123 | </dependency> |
114 | 124 | <dependency> |
115 | 125 | <groupId>org.junit.platform</groupId> |
116 | 126 | <artifactId>junit-platform-launcher</artifactId> |
117 | | - <version>1.1.0</version> |
| 127 | + <version>1.3.2</version> |
118 | 128 | <scope>test</scope> |
119 | 129 | </dependency> |
120 | 130 | <dependency> |
|
123 | 133 | <version>1.1.0</version> |
124 | 134 | <scope>test</scope> |
125 | 135 | </dependency> |
126 | | - <!-- https://mvnrepository.com/artifact/org.neo4j.test/neo4j-harness --> |
| 136 | + <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> |
127 | 137 | <dependency> |
128 | | - <groupId>org.neo4j.test</groupId> |
129 | | - <artifactId>neo4j-harness</artifactId> |
130 | | - <version>3.4.9</version> |
131 | | - <scope>test</scope> |
| 138 | + <groupId>javax.servlet</groupId> |
| 139 | + <artifactId>javax.servlet-api</artifactId> |
| 140 | + <version>4.0.1</version> |
| 141 | + <scope>provided</scope> |
| 142 | + </dependency> |
| 143 | + <dependency> |
| 144 | + <groupId>org.apache.logging.log4j</groupId> |
| 145 | + <artifactId>log4j-core</artifactId> |
| 146 | + <version>2.11.1</version> |
| 147 | + </dependency> |
| 148 | + <dependency> |
| 149 | + <groupId>org.eclipse.xtend</groupId> |
| 150 | + <artifactId>xtend-maven-plugin</artifactId> |
| 151 | + <version>${xtend.version}</version> |
132 | 152 | </dependency> |
133 | 153 | </dependencies> |
134 | 154 | <build> |
135 | 155 | <sourceDirectory>src</sourceDirectory> |
136 | 156 | <plugins> |
| 157 | + <plugin> |
| 158 | + <groupId>org.eclipse.xtend</groupId> |
| 159 | + <artifactId>xtend-maven-plugin</artifactId> |
| 160 | + <version>${xtend.version}</version> |
| 161 | + <configuration> |
| 162 | + <outputDirectory>${basedir}/xtend-gen</outputDirectory> |
| 163 | + <testOutputDirectory>${basedir}/test-xtend-gen</testOutputDirectory> |
| 164 | + </configuration> |
| 165 | + <executions> |
| 166 | + <execution> |
| 167 | + <goals> |
| 168 | + <goal>compile</goal> |
| 169 | + <goal>testCompile</goal> |
| 170 | + </goals> |
| 171 | + </execution> |
| 172 | + </executions> |
| 173 | + </plugin> |
| 174 | + <plugin> |
| 175 | + <groupId>org.apache.maven.plugins</groupId> |
| 176 | + <artifactId>maven-compiler-plugin</artifactId> |
| 177 | + <version>3.8.0</version> |
| 178 | + <configuration> |
| 179 | + <source>1.8</source> |
| 180 | + <target>1.8</target> |
| 181 | + <useIncrementalCompilation>true</useIncrementalCompilation> |
| 182 | + </configuration> |
| 183 | + <executions> |
| 184 | + <execution> |
| 185 | + <id>default-testCompile</id> |
| 186 | + <phase>none</phase> |
| 187 | + </execution> |
| 188 | + </executions> |
| 189 | + </plugin> |
137 | 190 | <plugin> |
138 | 191 | <groupId>org.apache.maven.plugins</groupId> |
139 | 192 | <artifactId>maven-surefire-plugin</artifactId> |
|
180 | 233 | <includeProjectDependencies>true</includeProjectDependencies> |
181 | 234 | <includePluginDependencies>true</includePluginDependencies> |
182 | 235 | <arguments> |
| 236 | + <argument>-Dlog4j.configuration=file:src/main/resources/log4j-console.properties</argument> |
183 | 237 | <!-- uncomment to increase java heap size --> |
184 | 238 | <argument>-Xmx8g</argument> |
185 | 239 | <argument>-classpath</argument> |
|
190 | 244 | </arguments> |
191 | 245 | </configuration> |
192 | 246 | </plugin> |
| 247 | + <plugin> |
| 248 | + <groupId>org.apache.maven.plugins</groupId> |
| 249 | + <artifactId>maven-war-plugin</artifactId> |
| 250 | + <version>3.2.2</version> |
| 251 | + </plugin> |
193 | 252 | </plugins> |
194 | 253 | </build> |
195 | 254 | <reporting> |
|
0 commit comments