|
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"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 2 | <modelVersion>4.0.0</modelVersion>
|
4 | 3 |
|
5 | 4 | <groupId>TheTransitClock</groupId>
|
|
46 | 45 | <artifactId>esri-geometry-api</artifactId>
|
47 | 46 | <version>1.1</version>
|
48 | 47 | </dependency>
|
49 |
| - <!-- Needed to fix problem with one-jar not working with AWS SDK. Was getting |
| 48 | + <!-- Needed to fix problem with one-jar not working with AWS SDK. Was getting |
50 | 49 | error message "Fatal: Failed to load the internal config for AWS" -->
|
51 |
| - |
52 |
| - |
53 | 50 | <dependency>
|
54 | 51 | <groupId>com.simontuffs</groupId>
|
55 | 52 | <artifactId>one-jar-boot</artifactId>
|
56 | 53 | <version>0.97.3</version>
|
57 | 54 | </dependency>
|
58 | 55 |
|
59 |
| - <!-- Database related, including c3p0 production quality connector. Note: |
60 |
| - have found that can have problems if don't use similar versions. Can have |
61 |
| - trouble finding the c3p0 connection pooler for example if use old hibernate-core |
| 56 | + <!-- Database related, including c3p0 production quality connector. Note: |
| 57 | + have found that can have problems if don't use similar versions. Can have |
| 58 | + trouble finding the c3p0 connection pooler for example if use old hibernate-core |
62 | 59 | but new c3p0. -->
|
63 | 60 | <dependency>
|
64 | 61 | <groupId>mysql</groupId>
|
|
87 | 84 | <version>4.3.9.Final</version>
|
88 | 85 | </dependency>
|
89 | 86 |
|
90 |
| - <!-- hibernate-core loads in really old version of xml-apis so load in |
| 87 | + <!-- hibernate-core loads in really old version of xml-apis so load in |
91 | 88 | newer version explicitly. Otherwise get problems with the Node class. -->
|
92 | 89 | <dependency>
|
93 | 90 | <groupId>xml-apis</groupId>
|
|
108 | 105 | <version>1.1.3</version>
|
109 | 106 | </dependency>
|
110 | 107 | <dependency>
|
111 |
| - <groupId>org.hsqldb</groupId> |
112 |
| - <artifactId>hsqldb</artifactId> |
113 |
| - <version>2.2.4</version> |
| 108 | + <groupId>org.hsqldb</groupId> |
| 109 | + <artifactId>hsqldb</artifactId> |
| 110 | + <version>2.2.4</version> |
114 | 111 | </dependency>
|
115 | 112 |
|
116 | 113 | <dependency>
|
|
154 | 151 | <version>1.2</version>
|
155 | 152 | </dependency>
|
156 | 153 |
|
157 |
| - <!-- I believe not needed <dependency> <groupId>org.apache.lucene</groupId> |
| 154 | + <!-- I believe not needed <dependency> <groupId>org.apache.lucene</groupId> |
158 | 155 | <artifactId>lucene-core</artifactId> <version>3.6.2</version> </dependency> -->
|
159 | 156 |
|
160 | 157 | <!-- For JMS for fancy handling of AVL feeds -->
|
|
176 | 173 | <version>1.3.0</version>
|
177 | 174 | </dependency>
|
178 | 175 |
|
179 |
| - <!-- For processing JSON. Needed for Amigocloud and other JSON based AVL |
180 |
| - feeds. NOTE: the version 20141113 does not work with Java 1.7, which is what |
181 |
| - is still the normal version of Java for AWS, at least as of June 2015. Need |
182 |
| - to use old version 20140107 which was compiled with Java 1.7 instead of Java |
| 176 | + <!-- For processing JSON. Needed for Amigocloud and other JSON based AVL |
| 177 | + feeds. NOTE: the version 20141113 does not work with Java 1.7, which is what |
| 178 | + is still the normal version of Java for AWS, at least as of June 2015. Need |
| 179 | + to use old version 20140107 which was compiled with Java 1.7 instead of Java |
183 | 180 | 1.8 -->
|
184 | 181 | <dependency>
|
185 | 182 | <groupId>org.json</groupId>
|
|
194 | 191 | <version>1.1</version>
|
195 | 192 | </dependency>
|
196 | 193 |
|
197 |
| - <!-- For concurrency annotations like @Immutable and @ThreadSave from the |
| 194 | + <!-- For concurrency annotations like @Immutable and @ThreadSave from the |
198 | 195 | "Concurrency in Practice" book need library -->
|
199 | 196 | <dependency>
|
200 | 197 | <groupId>net.jcip</groupId>
|
|
276 | 273 | <version>1.11</version>
|
277 | 274 | </dependency>
|
278 | 275 |
|
| 276 | + <!-- OLS regression algorithm --> |
| 277 | + <dependency> |
| 278 | + <groupId>com.github.haifengl</groupId> |
| 279 | + <artifactId>smile-core</artifactId> |
| 280 | + <version>1.5.1</version> |
| 281 | + </dependency> |
| 282 | + |
| 283 | + |
| 284 | + |
279 | 285 | </dependencies>
|
280 | 286 |
|
281 | 287 | <build>
|
|
434 | 440 | <profiles>
|
435 | 441 |
|
436 | 442 |
|
437 |
| - <profile> |
438 |
| - <id>PredictionsAccuracyIntegrationTest</id> |
439 |
| - <build> |
440 |
| - <plugins> |
441 |
| - <plugin> |
442 |
| - <groupId>org.codehaus.mojo</groupId> |
443 |
| - <artifactId>truezip-maven-plugin</artifactId> |
444 |
| - <version>1.2</version> |
445 |
| - <executions> |
446 |
| - <execution> |
447 |
| - <id>unzip-database</id> |
448 |
| - <goals> |
449 |
| - <goal>copy</goal> |
450 |
| - </goals> |
451 |
| - <phase>test</phase> |
452 |
| - <configuration> |
453 |
| - <verbose>true</verbose> |
454 |
| - <fileset> |
455 |
| - <directory>${project.basedir}/src/test/resources/database/transitime_test.zip</directory> |
456 |
| - <outputDirectory>${project.basedir}/src/test/resources/database/data</outputDirectory> |
457 |
| - </fileset> |
458 |
| - </configuration> |
459 |
| - </execution> |
460 |
| - </executions> |
461 |
| - </plugin> |
462 |
| - <plugin> |
463 |
| - <groupId>org.onebusaway.plugins</groupId> |
464 |
| - <artifactId>maven-hsqldb-plugin</artifactId> |
465 |
| - <!-- version 1.0.1 supports hsqldb 2.3.2 --> |
466 |
| - <version>1.0.1</version> |
467 |
| - <executions> |
468 |
| - <execution> |
469 |
| - <id>user-database-start</id> |
470 |
| - <phase>test</phase> |
471 |
| - <goals> |
472 |
| - <goal>run</goal> |
473 |
| - </goals> |
474 |
| - <configuration> |
475 |
| - <deleteOnEntry>true</deleteOnEntry> |
476 |
| - <dbName>${project.basedir}/src/test/resources/database/data/transitime_test</dbName> |
477 |
| - <port>9001</port> |
478 |
| - </configuration> |
479 |
| - </execution> |
480 |
| - </executions> |
481 |
| - </plugin> |
482 |
| - <plugin> |
483 |
| - <groupId>org.codehaus.mojo</groupId> |
484 |
| - <artifactId>exec-maven-plugin</artifactId> |
485 |
| - <version>1.1.1</version> |
486 |
| - <executions> |
487 |
| - <execution> |
488 |
| - <phase>test</phase> |
489 |
| - <id>test-case-execution</id> |
490 |
| - <goals> |
491 |
| - <goal>java</goal> |
492 |
| - </goals> |
493 |
| - <configuration> |
494 |
| - <mainClass>org.transitclock.applications.PredictionsAccuracyIntegrationTest</mainClass> |
495 |
| - <commandlineArgs>-c |
496 |
| - transitime/src/test/resources/transiTimeConfigIntegrationTest.xml |
497 |
| - -gtfsDirectoryName transitime/src/test/resources/wmata_gtfs |
498 |
| - -storeNewRevs -maxTravelTimeSegmentLength 1000</commandlineArgs> |
499 |
| - </configuration> |
500 |
| - </execution> |
501 |
| - </executions> |
502 |
| - </plugin> |
503 |
| - </plugins> |
504 |
| - </build> |
505 |
| - </profile> |
| 443 | + <profile> |
| 444 | + <id>PredictionsAccuracyIntegrationTest</id> |
| 445 | + <build> |
| 446 | + <plugins> |
| 447 | + <plugin> |
| 448 | + <groupId>org.codehaus.mojo</groupId> |
| 449 | + <artifactId>truezip-maven-plugin</artifactId> |
| 450 | + <version>1.2</version> |
| 451 | + <executions> |
| 452 | + <execution> |
| 453 | + <id>unzip-database</id> |
| 454 | + <goals> |
| 455 | + <goal>copy</goal> |
| 456 | + </goals> |
| 457 | + <phase>test</phase> |
| 458 | + <configuration> |
| 459 | + <verbose>true</verbose> |
| 460 | + <fileset> |
| 461 | + <directory>${project.basedir}/src/test/resources/database/transitime_test.zip</directory> |
| 462 | + <outputDirectory>${project.basedir}/src/test/resources/database/data</outputDirectory> |
| 463 | + </fileset> |
| 464 | + </configuration> |
| 465 | + </execution> |
| 466 | + </executions> |
| 467 | + </plugin> |
| 468 | + <plugin> |
| 469 | + <groupId>org.onebusaway.plugins</groupId> |
| 470 | + <artifactId>maven-hsqldb-plugin</artifactId> |
| 471 | + <!-- version 1.0.1 supports hsqldb 2.3.2 --> |
| 472 | + <version>1.0.1</version> |
| 473 | + <executions> |
| 474 | + <execution> |
| 475 | + <id>user-database-start</id> |
| 476 | + <phase>test</phase> |
| 477 | + <goals> |
| 478 | + <goal>run</goal> |
| 479 | + </goals> |
| 480 | + <configuration> |
| 481 | + <deleteOnEntry>true</deleteOnEntry> |
| 482 | + <dbName>${project.basedir}/src/test/resources/database/data/transitime_test</dbName> |
| 483 | + <port>9001</port> |
| 484 | + </configuration> |
| 485 | + </execution> |
| 486 | + </executions> |
| 487 | + </plugin> |
| 488 | + <plugin> |
| 489 | + <groupId>org.codehaus.mojo</groupId> |
| 490 | + <artifactId>exec-maven-plugin</artifactId> |
| 491 | + <version>1.1.1</version> |
| 492 | + <executions> |
| 493 | + <execution> |
| 494 | + <phase>test</phase> |
| 495 | + <id>test-case-execution</id> |
| 496 | + <goals> |
| 497 | + <goal>java</goal> |
| 498 | + </goals> |
| 499 | + <configuration> |
| 500 | + <mainClass>org.transitclock.applications.PredictionsAccuracyIntegrationTest</mainClass> |
| 501 | + <commandlineArgs>-c transitime/src/test/resources/transiTimeConfigIntegrationTest.xml -gtfsDirectoryName transitime/src/test/resources/wmata_gtfs -storeNewRevs -maxTravelTimeSegmentLength 1000</commandlineArgs> |
| 502 | + </configuration> |
| 503 | + </execution> |
| 504 | + </executions> |
| 505 | + </plugin> |
| 506 | + </plugins> |
| 507 | + </build> |
| 508 | + </profile> |
506 | 509 | </profiles>
|
507 | 510 | </project>
|
0 commit comments