Maven error for spatial-solr-sandbox

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Maven error for spatial-solr-sandbox

xlogger
Hi,

Got the following error during "mvn clean install". Seems like some dependencies could not be found? Please advise how it can be fixed.

[WARNING] The POM for org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT is missing, no dependency information availab
le
[WARNING] The POM for org.apache.solr:solr-core:jar:5.0-SNAPSHOT is missing, no dependency information available


Below captured the full terminal outputs:

==============================================================

F:\Download\Solr\ryantxu-spatial-solr-sandbox-cac76cb>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] spatial4j-parent
[INFO] Lucene Spatial Extensions
[INFO] Lucene Solr Spatial - Demo
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building spatial4j-parent 0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ parent ---
[INFO] Installing F:\Download\Solr\ryantxu-spatial-solr-sandbox-cac76cb\pom.xml to C:\Users\ngsc\.m2\repository\spatial-
solr-sandbox\parent\0.3-SNAPSHOT\parent-0.3-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Lucene Spatial Extensions 0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT is missing, no dependency information availab
le
[WARNING] The POM for org.apache.solr:solr-core:jar:5.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] spatial4j-parent .................................. SUCCESS [0.342s]
[INFO] Lucene Spatial Extensions ......................... FAILURE [0.053s]
[INFO] Lucene Solr Spatial - Demo ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.513s
[INFO] Finished at: Thu Oct 04 14:53:48 CST 2012
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project lse: Could not resolve dependencies for project spatial-solr-sandbox:lse:jar:0
.3-SNAPSHOT: The following artifacts could not be resolved: org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT, org.ap
ache.solr:solr-core:jar:5.0-SNAPSHOT: Failure to find org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT in https://os
s.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted unt
il the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :lse

===============================================================

Thanks and Regards,
xlogger
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Maven error for spatial-solr-sandbox

dsmiley
Hi Mr. Xlogger,

mvn -PupdateLucene install

Maybe I should make that maven profile enabled by default so this
doesn't trip people up.  On the other hand, when I work on this I
don't want it updating all the time.

~ David

On Thu, Oct 4, 2012 at 2:57 AM, xlogger <[hidden email]> wrote:

> Hi,
>
> Got the following error during "mvn clean install". Seems like some
> dependencies could not be found? Please advise how it can be fixed.
>
> [WARNING] The POM for org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT
> is missing, no dependency information availab
> le
> [WARNING] The POM for org.apache.solr:solr-core:jar:5.0-SNAPSHOT is missing,
> no dependency information available
>
>
> Below captured the full terminal outputs:
>
> ==============================================================
>
> F:\Download\Solr\ryantxu-spatial-solr-sandbox-cac76cb>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] spatial4j-parent
> [INFO] Lucene Spatial Extensions
> [INFO] Lucene Solr Spatial - Demo
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building spatial4j-parent 0.3-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ parent ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ parent ---
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ parent ---
> [INFO] Installing
> F:\Download\Solr\ryantxu-spatial-solr-sandbox-cac76cb\pom.xml to
> C:\Users\ngsc\.m2\repository\spatial-
> solr-sandbox\parent\0.3-SNAPSHOT\parent-0.3-SNAPSHOT.pom
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lucene Spatial Extensions 0.3-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT
> is missing, no dependency information availab
> le
> [WARNING] The POM for org.apache.solr:solr-core:jar:5.0-SNAPSHOT is missing,
> no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] spatial4j-parent .................................. SUCCESS [0.342s]
> [INFO] Lucene Spatial Extensions ......................... FAILURE [0.053s]
> [INFO] Lucene Solr Spatial - Demo ........................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.513s
> [INFO] Finished at: Thu Oct 04 14:53:48 CST 2012
> [INFO] Final Memory: 4M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project lse: Could not resolve
> dependencies for project spatial-solr-sandbox:lse:jar:0
> .3-SNAPSHOT: The following artifacts could not be resolved:
> org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT, org.ap
> ache.solr:solr-core:jar:5.0-SNAPSHOT: Failure to find
> org.apache.solr:solr-test-framework:jar:5.0-SNAPSHOT in https://os
> s.sonatype.org/content/repositories/snapshots was cached in the local
> repository, resolution will not be reattempted unt
> il the update interval of sonatype-nexus-snapshots has elapsed or updates
> are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :lse
>
> ===============================================================
>
> Thanks and Regards,
> xlogger
>
>
>
> --
> View this message in context: http://spatial4j.16575.n6.nabble.com/Maven-error-for-spatial-solr-sandbox-tp5001087.html
> Sent from the Spatial4j mailing list archive at Nabble.com.
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.spatial4j.com/listinfo.cgi/dev-spatial4j.com
_______________________________________________
dev mailing list
[hidden email]
http://lists.spatial4j.com/listinfo.cgi/dev-spatial4j.com