Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when trying to Maven-pull (Eclipse) #10

Closed
ehx-v1 opened this issue Jun 28, 2016 · 4 comments
Closed

Problems when trying to Maven-pull (Eclipse) #10

ehx-v1 opened this issue Jun 28, 2016 · 4 comments

Comments

@ehx-v1
Copy link

ehx-v1 commented Jun 28, 2016

This is a followup issue to #9, mainly a question but correlated with a documentation request. Upon trying to establish the Maven pull, I noticed that I forgot to add the repository. I added it, but it's still failing to pull. Could you please review my POM for what else I'm missing out, and write an explanation for how to pull with Maven Eclipse so other users won't run in the same problems?

Here's my POM:

<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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.ptvgroup.haeg.neo4j</groupId>
  <artifactId>Spatial</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <repositories>
    <repository>
      <id>neo4j-contrib-releases</id>
      <url>https://raw.github.com/neo4j-contrib/m2/master/releases</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>neo4j-contrib-snapshots</id>
      <url>https://raw.github.con/neo4j-contrib/m2/master/snapshots</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
  <dependencies>
   <dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j</artifactId>
    <version>2.3.0</version>
   </dependency>
   <dependency>
     <groupId>org.glassfish.external</groupId>
     <artifactId>apache-commons</artifactId>
     <version>3.0-b68</version>
   </dependency> 
   <dependency>
     <groupId>org.neo4j</groupId>
     <artifactId>neo4j-spatial</artifactId>
     <version>0.15-neo4j-2.3.0</version>
   </dependency>
   <dependency>
      <groupId>org.wololo</groupId>
      <artifactId>jts2geojson</artifactId>
      <version>0.8.0</version>
    </dependency>
  </dependencies>
</project>
@ehx-v1
Copy link
Author

ehx-v1 commented Jun 28, 2016

When I pulled version 0.7.0, it all of a sudden worked. However, it should be documented that one must pull 0.7.0, and not 0.8.0.

@ehx-v1
Copy link
Author

ehx-v1 commented Jun 28, 2016

I think I open a new issue for the documentation. There's a bit of stuff here that's off topic for the documentation request.

@ehx-v1 ehx-v1 closed this as completed Jun 28, 2016
@bjornharrtell
Copy link
Owner

There is no released 0.8.0. The latest released version is 0.7.0.

@ehx-v1
Copy link
Author

ehx-v1 commented Jun 28, 2016

That's what I figured out. But it's not necessarily obvious that the version in the Master branch POM is not yet released. Thus my documentation request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants