I am able to clone the repository onto my computer, but when I run 'mvn install', only the first build is successful. Everything after that is unsuccessful. I only want to install the mongodb plug-in right now.
Here is the output from the command line:
C:\Users\Tirzah\geoserver-exts>mvn install -pl mongodb -am
Picked up _JAVA_OPTIONS: -Xmx512M
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.opengeo:gt-ysld:jar:13-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.openg
eo:gt-ysld:${gt.version}, C:\Users\Tirzah\geoserver-exts\ysld\gt-ysld\pom.xml, l
ine 16, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] OpenGeo GeoServer Extensions
[INFO] MongoDB DataStore
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenGeo GeoServer Extensions 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- git-commit-id-plugin:2.1.8:revision (default) @ geoserver-exts ---
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ g
eoserver-exts >>>
[INFO]
[INFO] --- git-commit-id-plugin:2.1.8:revision (default) @ geoserver-exts ---
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ g
eoserver-exts <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ geoserver-exts ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ geoserver-e
xts ---
[INFO]
[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/PluginExecutio
nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
I am able to clone the repository onto my computer, but when I run 'mvn install', only the first build is successful. Everything after that is unsuccessful. I only want to install the mongodb plug-in right now.
Here is the output from the command line:
C:\Users\Tirzah\geoserver-exts>mvn install -pl mongodb -am Picked up _JAVA_OPTIONS: -Xmx512M [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.opengeo:gt-ysld:jar:13-SNAPSHOT [WARNING] 'version' contains an expression but should be a constant. @ org.openg eo:gt-ysld:${gt.version}, C:\Users\Tirzah\geoserver-exts\ysld\gt-ysld\pom.xml, l ine 16, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] OpenGeo GeoServer Extensions [INFO] MongoDB DataStore [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building OpenGeo GeoServer Extensions 2.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- git-commit-id-plugin:2.1.8:revision (default) @ geoserver-exts --- [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ g eoserver-exts >>> [INFO] [INFO] --- git-commit-id-plugin:2.1.8:revision (default) @ geoserver-exts --- [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ g eoserver-exts <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ geoserver-exts --- [INFO] [INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ geoserver-e xts --- [INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ geoserver-exts -
[INFO] Installing C:\Users\Tirzah\geoserver-exts\pom.xml to C:\Users\Tirzah.m2\ repository\org\opengeo\geoserver-exts\2.7-SNAPSHOT\geoserver-exts-2.7-SNAPSHOT.p om [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building MongoDB DataStore 2.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- git-commit-id-plugin:2.1.8:revision (default) @ gt-mongodb --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenGeo GeoServer Extensions ....................... SUCCESS [ 14.293 s] [INFO] MongoDB DataStore .................................. FAILURE [ 1.251 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.432 s [INFO] Finished at: 2015-06-18T10:20:15-04:00 [INFO] Final Memory: 21M/310M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.8:rev ision (default) on project gt-mongodb: Execution default of goal pl.project13.ma ven:git-commit-id-plugin:2.1.8:revision failed. NullPointerException -> [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/PluginExecutio nException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :gt-mongodb
C:\Users\Tirzah\geoserver-exts>