RuddenberryL / json-path

Automatically exported from code.google.com/p/json-path
0 stars 0 forks source link

Does not build via mvn compile #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mvn compile
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
git clone git://github.com/jayway/JsonPath.git   on 4/7/2013

Please provide any additional information below.

898K downloaded  (bndlib-1.50.0.jar)
[INFO] ------------------------------------------------------------------------
[INFO] Building json-path-parent-pom
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] ------------------------------------------------------------------------
[INFO] Building json-path
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
Downloading: 
http://repo1.maven.org/maven2/net/minidev/json-smart/1.1.1/json-smart-1.1.1.pom
1K downloaded  (json-smart-1.1.1.pom)
Downloading: 
http://repo1.maven.org/maven2/net/minidev/parent/1.1.1/parent-1.1.1.pom
10K downloaded  (parent-1.1.1.pom)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.9.5/jack
son-mapper-asl-1.9.5.pom
1K downloaded  (jackson-mapper-asl-1.9.5.pom)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.5/jackso
n-core-asl-1.9.5.pom
1016b downloaded  (jackson-core-asl-1.9.5.pom)
Downloading: 
http://repo1.maven.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-libra
ry-1.2.1.pom
5K downloaded  (hamcrest-library-1.2.1.pom)
Downloading: 
http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2
.1.pom
5K downloaded  (hamcrest-core-1.2.1.pom)
Downloading: 
http://repo1.maven.org/maven2/org/hamcrest/hamcrest-library/1.2.1/hamcrest-libra
ry-1.2.1.jar
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.9.5/jack
son-mapper-asl-1.9.5.jar
Downloading: 
http://repo1.maven.org/maven2/net/minidev/json-smart/1.1.1/json-smart-1.1.1.jar
50K downloaded  (json-smart-1.1.1.jar)
49K downloaded  (hamcrest-library-1.2.1.jar)
Downloading: 
http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.2.1/hamcrest-core-1.2
.1.jar
760K downloaded  (jackson-mapper-asl-1.9.5.jar)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.5/jackso
n-core-asl-1.9.5.jar
40K downloaded  (hamcrest-core-1.2.1.jar)
223K downloaded  (jackson-core-asl-1.9.5.jar)
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/shared/JsonPath/json-path/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 37 source files to /shared/JsonPath/json-path/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Building json-path-assert
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot com.jayway.jsonpath:json-path:0.8.2-SNAPSHOT: checking for 
updates from sonatype-nexus-snapshots
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/com/jayway/jsonpath/json
-path/0.8.2-SNAPSHOT/json-path-0.8.2-SNAPSHOT.jar
[INFO] Unable to find resource 
'com.jayway.jsonpath:json-path:jar:0.8.2-SNAPSHOT' in repository 
sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.jayway.jsonpath:json-path:jar:0.8.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=com.jayway.jsonpath -DartifactId=json-path -Dversion=0.8.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=com.jayway.jsonpath -DartifactId=json-path -Dversion=0.8.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) com.jayway.jsonpath:json-path-assert:jar:0.8.2-SNAPSHOT
    2) com.jayway.jsonpath:json-path:jar:0.8.2-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  com.jayway.jsonpath:json-path-assert:jar:0.8.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)

Original issue reported on code.google.com by javadba@gmail.com on 6 Apr 2013 at 6:52

GoogleCodeExporter commented 9 years ago
Is this still an issue?

/Kalle

Original comment by kalle.st...@gmail.com on 11 Apr 2013 at 9:00

GoogleCodeExporter commented 9 years ago
yes, same problem here.

Original comment by foober...@gmail.com on 24 May 2013 at 10:18

GoogleCodeExporter commented 9 years ago
It sounds like you have some issues in your maven settings.  The 
com.jayway.jsonpath:json-path:jar:0.8.2-SNAPSHOT should not pulled from a 
remote repository (I don't deploy snapshots to the sonatype repo).

Original comment by kalle.st...@gmail.com on 21 Aug 2013 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by kalle.st...@gmail.com on 21 Aug 2013 at 8:01

GoogleCodeExporter commented 9 years ago
I just noticed that I have this issue with Maven 2 only. When using Maven 3, 
everything is fine.

Original comment by foober...@gmail.com on 21 Aug 2013 at 8:17