You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/05/29 20:43:20 UTC
[17/31] incubator-tinkerpop git commit: Institute the include-neo4j
profile for running tests.
Institute the include-neo4j profile for running tests.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/0285ef68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/0285ef68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/0285ef68
Branch: refs/heads/master
Commit: 0285ef689491365e9dc9db25748be2ef9b4a37bb
Parents: a1680a4
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri May 29 07:39:43 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri May 29 07:39:43 2015 -0400
----------------------------------------------------------------------
neo4j-gremlin/pom.xml | 46 +++++++++++++++++++++++++++++++++-------------
1 file changed, 33 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0285ef68/neo4j-gremlin/pom.xml
----------------------------------------------------------------------
diff --git a/neo4j-gremlin/pom.xml b/neo4j-gremlin/pom.xml
index 5e7dd4a..6551914 100644
--- a/neo4j-gremlin/pom.xml
+++ b/neo4j-gremlin/pom.xml
@@ -42,15 +42,6 @@ limitations under the License.
<version>0.1</version>
</dependency>
<!-- TESTING -->
- <!-- *** WARNING *** -->
- <!-- THIS IS NOT APACHE2 : THIS IS WHERE WE NEED SOME MVN MAGIC TO ADD THIS STUB VIA A PROFILE COMMAND -->
- <dependency>
- <groupId>org.neo4j</groupId>
- <artifactId>tinkerpop-api-impl</artifactId>
- <version>0.1-2.2</version>
- <scope>test</scope>
- </dependency>
- <!-- *** WARNING *** -->
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-test</artifactId>
@@ -77,10 +68,16 @@ limitations under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
@@ -120,27 +117,50 @@ limitations under the License.
</build>
<profiles>
<profile>
- <id>lucky</id>
+ <!--
+ Use this profile if you want the Neo4j test suite to run. The project should compile/install
+ Neo4j without this profile. Note that if you "deploy" with this profile, neo4j-gremlin artifacts
+ will be skipped.
+ -->
+ <id>include-neo4j</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
- <name>feelingLucky</name>
+ <name>includeNeo4j</name>
</property>
</activation>
+ <dependencies>
+ <!-- TESTING -->
+ <!-- *** WARNING *** -->
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-tinkerpop-api-impl</artifactId>
+ <version>0.1-2.2</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- *** WARNING *** -->
+ </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <skipTests>true</skipTests>
+ <skipTests>false</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
- <skipTests>true</skipTests>
+ <skipTests>false</skipTests>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
</configuration>
</plugin>
</plugins>