Following this web page to create a plugin. http://docs.geoserver.org/latest/en/developer/programming-guide/ows-services/implementing.html
I’m using the exact pom.xml, HelloWorld.java, applicationContext.xml from the web page.
The build runs and downloads a lot of geotools and other jars. Then fails with…
Downloading: https://repo.maven.apache.org/maven2/jgridshift/jgridshift/1.0/jgri
dshift-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.710 s
[INFO] Finished at: 2015-10-14T11:21:26-04:00
[INFO] Final Memory: 15M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hello: Could not resolve dependencies
for project org.geoserver:hello:jar:1.0: The following artifacts could not be re
solved: org.eclipse.emf:common:jar:2.6.0, org.eclipse.emf:ecore:jar:2.6.1, org.e
clipse.xsd:xsd:jar:2.6.0, org.apache.xml:xml-commons-resolver:jar:1.2, java3d:ve
cmath:jar:1.3.2, javax.media:jai_core:jar:1.1.3, javax.media:jai_codec:jar:1.1.3
, javax.media:jai_imageio:jar:1.1, jgridshift:jgridshift:jar:1.0: Could not find
artifact org.eclipse.emf:common:jar:2.6.0 in boundless (http://repo.boundlessge
o.com/main) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
I’m very new to maven. Is this a problem with the example? Where do I fix these references it can’t find?