POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!--
| Copyright (c) 2002-2019 "Neo4j,"
| Neo4j Sweden AB [http://neo4j.com]
|
| This file is part of Neo4j.
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
-->
<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">
<parent>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm</artifactId>
<version>3.1.7</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>neo4j-ogm-test</artifactId>
<properties>
<java-module-name>org.neo4j.ogm.testutil</java-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-http-driver</artifactId>
<version>3.1.7</version>
</dependency>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-core</artifactId>
<version>3.1.7</version>
</dependency>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-embedded-driver</artifactId>
<version>3.1.7</version>
</dependency>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-bolt-driver</artifactId>
<version>3.1.7</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.neo4j.test</groupId>
<artifactId>neo4j-harness</artifactId>
<version>${neo4j}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-test</groupId>
<artifactId>concert</artifactId>
<version>0.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>local-test</groupId>
<artifactId>event</artifactId>
<version>0.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>local-test</groupId>
<artifactId>radio</artifactId>
<version>0.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
</dependencies>
<profiles>
<profile>
<id>neo4j-enterprise</id>
<dependencies>
<dependency>
<groupId>org.neo4j.test</groupId>
<artifactId>neo4j-harness-enterprise</artifactId>
<version>${neo4j}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>neo4j-3.5</id>
<dependencies>
<dependency>
<groupId>org.neo4j.community</groupId>
<artifactId>it-test-support</artifactId>
<version>${neo4j}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>neo4j-3.5-enterprise</id>
<dependencies>
<dependency>
<groupId>com.neo4j.test</groupId>
<artifactId>neo4j-harness-enterprise</artifactId>
<version>${neo4j}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<runOrder>alphabetical</runOrder>
<systemPropertyVariables>
<neo4j.edition>${neo4j.edition}</neo4j.edition>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<id>test-different-encoding</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<!--
Using argLine because file.encoding can't be specified by a system property when using
Surefire plugin.
Any Oracle JVM should support this encoding.
https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html
Note that this can't be simulated in code by using System.setProperty, because
java.nio.charset.Charset reads "file.encoding" property only once at startup
-->
<argLine>-Dfile.encoding=ISO-8859-1</argLine>
<includes>
<include>org.neo4j.ogm.persistence.examples.cineasts.annotated.CineastsIntegrationTest
</include>
<include>org.neo4j.ogm.config.ConfigurationTest</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>local-test-repo</id>
<url>file://${basedir}/src/test/lib</url>
</repository>
</repositories>
</project>
|