GoogleCloudPlatform / endpoints-framework-maven-plugin

Apache License 2.0
5 stars 13 forks source link

discoveryDocs fails: A required class was missing: com/googlecode/objectify/Work #32

Closed stefan222 closed 7 years ago

stefan222 commented 7 years ago

Stumbled upon this issue while migrating from Google Endpoints V1 to V2. Here's the complete output:

mvn -e endpoints-framework:discoveryDocs
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building server 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> endpoints-framework-maven-plugin:1.0.0:discoveryDocs (default-cli) > prepare-package @ server >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\PRG\Projects\WorldServer\WorldServer\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 155 source files to D:\PRG\Projects\WorldServer\WorldServer\target\server-1.0-SNAPSHOT\WEB-INF\classes
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO]
[INFO] --- appengine-maven-plugin:1.9.54:endpoints_get_discovery_doc (default) @ server ---
[INFO]
[INFO] Google App Engine Java SDK - get endpoints discovery doc...
[INFO] Using Class Name: org.digitalcure.ccnf.server.spi.WorldServerAdminApi
[INFO] Using Class Name: org.digitalcure.ccnf.server.spi.WorldServerApi
[INFO] Using Class Name: org.digitalcure.ccnf.server.spi.WorldServerApi2
[INFO] Executing endpoints Command=[get-discovery-doc, -cp, D:\PRG\Projects\WorldServer\WorldServer\target\server-1.0-SNAPSHOT\WEB-INF\classes;D:\PRG\Projects\WorldServer\WorldServer\target/classes;C:\Users\Stefan\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.54\appengine-api-1.0-sdk-1.9.54.jar;C:\Users\Stefan\.m2\repository\com\google\endpoints\endpoints-framework\2.0.7\endpoints-framework-2.0.7.jar;C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.6.4\jackson-annotations-2.6.4.jar;C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.6.4\jackson-core-2.6.4.jar;C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.6.4\jackson-databind-2.6.4.jar;C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-jackson2\1.21.0\google-http-client-jackson2-1.21.0.jar;C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client\1.21.0\google-http-client-1.21.0.jar;C:\Users\Stefan\.m2\repository\org\apache\httpcomponents\httpclient\4.0.1\httpclient-4.0.1.jar;C:\Users\Stefan\.m2\repository\org\apache\httpcomponents\httpcore\4.0.1\httpcore-4.0.1.jar;C:\Users\Stefan\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\Stefan\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Users\Stefan\.m2\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;C:\Users\Stefan\.m2\repository\io\swagger\swagger-models\1.5.9\swagger-models-1.5.9.jar;C:\Users\Stefan\.m2\repository\org\slf4j\slf4j-api\1.6.3\slf4j-api-1.6.3.jar;C:\Users\Stefan\.m2\repository\io\swagger\swagger-annotations\1.5.9\swagger-annotations-1.5.9.jar;C:\Users\Stefan\.m2\repository\io\swagger\swagger-core\1.5.9\swagger-core-1.5.9.jar;C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.4.5\jackson-datatype-joda-2.4.5.jar;C:\Users\Stefan\.m2\repository\joda-time\joda-time\2.2\joda-time-2.2.jar;C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.4.5\jackson-dataformat-yaml-2.4.5.jar;C:\Users\Stefan\.m2\repository\org\yaml\snakeyaml\1.12\snakeyaml-1.12.jar;C:\Users\Stefan\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\Stefan\.m2\repository\org\slf4j\slf4j-nop\1.7.21\slf4j-nop-1.7.21.jar;C:\Users\Stefan\.m2\repository\com\googlecode\objectify\objectify\5.1.21\objectify-5.1.21.jar;C:\Users\Stefan\.m2\repository\com\google\guava\guava\20.0\guava-20.0.jar;C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client\1.22.0\google-api-client-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client\1.22.0\google-oauth-client-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\guava\guava-jdk5\17.0\guava-jdk5-17.0.jar;C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client-appengine\1.22.0\google-api-client-appengine-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-appengine\1.22.0\google-oauth-client-appengine-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-servlet\1.22.0\google-oauth-client-servlet-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-jdo\1.22.0\google-http-client-jdo-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client-servlet\1.22.0\google-api-client-servlet-1.22.0.jar;C:\Users\Stefan\.m2\repository\javax\jdo\jdo2-api\2.3-eb\jdo2-api-2.3-eb.jar;C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-appengine\1.22.0\google-http-client-appengine-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-jetty\1.22.0\google-oauth-client-jetty-1.22.0.jar;C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-java6\1.22.0\google-oauth-client-java6-1.22.0.jar;C:\Users\Stefan\.m2\repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;C:\Users\Stefan\.m2\repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;C:\Users\Stefan\.m2\repository\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar;C:\Users\Stefan\.m2\repository\com\google\apis\google-api-services-drive\v3-rev76-1.22.0\google-api-services-drive-v3-rev76-1.22.0.jar;C:\Users\Stefan\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\Stefan\.m2\repository\javax\jdo\jdo-api\3.1\jdo-api-3.1.jar;C:\Users\Stefan\.m2\repository\javax\transaction\transaction-api\1.1\transaction-api-1.1.jar;C:\Users\Stefan\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar, -o, D:\PRG\Projects\WorldServer\WorldServer\target/generated-sources/appengine-endpoints/WEB-INF, -w, D:\PRG\Projects\WorldServer\WorldServer\target/generated-sources/appengine-endpoints, org.digitalcure.ccnf.server.spi.WorldServerAdminApi, org.digitalcure.ccnf.server.spi.WorldServerApi, org.digitalcure.ccnf.server.spi.WorldServerApi2]
API Discovery Document written to D:\PRG\Projects\WorldServer\WorldServer\target\generated-sources\appengine-endpoints\WEB-INF/admincaloriesserver-v1-rest.discovery
API Discovery Document written to D:\PRG\Projects\WorldServer\WorldServer\target\generated-sources\appengine-endpoints\WEB-INF/caloriesserver-v1-rest.discovery
API Discovery Document written to D:\PRG\Projects\WorldServer\WorldServer\target\generated-sources\appengine-endpoints\WEB-INF/caloriesserver-v2-rest.discovery
[INFO] Endpoints discovery doc (Rest style) generation done.
[INFO]
[INFO] --- versions-maven-plugin:2.3:display-dependency-updates (default) @ server ---
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   com.google.apis:google-api-services-drive ...
[INFO]                                       v3-rev76-1.22.0 -> v3-rev81-1.22.0
[INFO]   com.google.endpoints:endpoints-framework .............. 2.0.7 -> 2.0.8
[INFO]   com.google.guava:guava .......................... 20.0 -> 23.0-android
[INFO]   javax.servlet:servlet-api ......................... 2.5 -> 3.0-alpha-1
[INFO]   org.apache.commons:commons-lang3 .......................... 3.4 -> 3.6
[INFO]
[INFO]
[INFO] --- versions-maven-plugin:2.3:display-plugin-updates (default) @ server ---
[INFO]
[INFO] The following plugin updates are available:
[INFO]   com.google.appengine:gcloud-maven-plugin  2.0.9.74.v20150814 -> 2.0.9.95.v20160203
[INFO]   maven-compiler-plugin .................................... 3.1 -> 3.5
[INFO]   maven-war-plugin ......................................... 2.4 -> 2.6
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-clean-plugin ........................ (from super-pom) 3.0.0
[WARNING]   maven-deploy-plugin ....................... (from super-pom) 2.8.2
[WARNING]   maven-install-plugin ...................... (from super-pom) 2.5.2
[WARNING]   maven-resources-plugin ...................... (from super-pom) 2.7
[WARNING]   maven-site-plugin ........................... (from super-pom) 3.4
[WARNING]   maven-surefire-plugin .................... (from super-pom) 2.19.1
[INFO]
[INFO] Project defines minimum Maven version as: 3.1.0
[INFO] Plugins require minimum Maven version of: 3.1.0
[INFO] Note: the super-pom from Maven 3.3.9 defines some of the plugin
[INFO]       versions and may be influencing the plugins required minimum Maven
[INFO]       version.
[INFO]
[INFO] No plugins require a newer version of Maven than specified by the pom.
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\PRG\Projects\WorldServer\WorldServer\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ server ---
[INFO] No tests to run.
[INFO]
[INFO] <<< endpoints-framework-maven-plugin:1.0.0:discoveryDocs (default-cli) < prepare-package @ server <<<
[INFO]
[INFO] --- endpoints-framework-maven-plugin:1.0.0:discoveryDocs (default-cli) @ server ---
[INFO] Endpoints Tool params : [get-discovery-doc, -o, D:\PRG\Projects\WorldServer\WorldServer\target\discovery-docs, -cp, [D:\PRG\Projects\WorldServer\WorldServer\target\server-1.0-SNAPSHOT\WEB-INF\classes, C:\Users\Stefan\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.54\appengine-api-1.0-sdk-1.9.54.jar, C:\Users\Stefan\.m2\repository\com\google\endpoints\endpoints-framework\2.0.7\endpoints-framework-2.0.7.jar, C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.6.4\jackson-annotations-2.6.4.jar, C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.6.4\jackson-core-2.6.4.jar, C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.6.4\jackson-databind-2.6.4.jar, C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-jackson2\1.21.0\google-http-client-jackson2-1.21.0.jar, C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client\1.21.0\google-http-client-1.21.0.jar, C:\Users\Stefan\.m2\repository\org\apache\httpcomponents\httpclient\4.0.1\httpclient-4.0.1.jar, C:\Users\Stefan\.m2\repository\org\apache\httpcomponents\httpcore\4.0.1\httpcore-4.0.1.jar, C:\Users\Stefan\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar, C:\Users\Stefan\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar, C:\Users\Stefan\.m2\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar, C:\Users\Stefan\.m2\repository\io\swagger\swagger-models\1.5.9\swagger-models-1.5.9.jar, C:\Users\Stefan\.m2\repository\org\slf4j\slf4j-api\1.6.3\slf4j-api-1.6.3.jar, C:\Users\Stefan\.m2\repository\io\swagger\swagger-annotations\1.5.9\swagger-annotations-1.5.9.jar, C:\Users\Stefan\.m2\repository\io\swagger\swagger-core\1.5.9\swagger-core-1.5.9.jar, C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.4.5\jackson-datatype-joda-2.4.5.jar, C:\Users\Stefan\.m2\repository\joda-time\joda-time\2.2\joda-time-2.2.jar, C:\Users\Stefan\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.4.5\jackson-dataformat-yaml-2.4.5.jar, C:\Users\Stefan\.m2\repository\org\yaml\snakeyaml\1.12\snakeyaml-1.12.jar, C:\Users\Stefan\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar, C:\Users\Stefan\.m2\repository\org\slf4j\slf4j-nop\1.7.21\slf4j-nop-1.7.21.jar, C:\Users\Stefan\.m2\repository\com\googlecode\objectify\objectify\5.1.21\objectify-5.1.21.jar, C:\Users\Stefan\.m2\repository\com\google\guava\guava\20.0\guava-20.0.jar, C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client\1.22.0\google-api-client-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client\1.22.0\google-oauth-client-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\guava\guava-jdk5\17.0\guava-jdk5-17.0.jar, C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client-appengine\1.22.0\google-api-client-appengine-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-appengine\1.22.0\google-oauth-client-appengine-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-servlet\1.22.0\google-oauth-client-servlet-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-jdo\1.22.0\google-http-client-jdo-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\api-client\google-api-client-servlet\1.22.0\google-api-client-servlet-1.22.0.jar, C:\Users\Stefan\.m2\repository\javax\jdo\jdo2-api\2.3-eb\jdo2-api-2.3-eb.jar, C:\Users\Stefan\.m2\repository\com\google\http-client\google-http-client-appengine\1.22.0\google-http-client-appengine-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-jetty\1.22.0\google-oauth-client-jetty-1.22.0.jar, C:\Users\Stefan\.m2\repository\com\google\oauth-client\google-oauth-client-java6\1.22.0\google-oauth-client-java6-1.22.0.jar, C:\Users\Stefan\.m2\repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar, C:\Users\Stefan\.m2\repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar, C:\Users\Stefan\.m2\repository\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar, C:\Users\Stefan\.m2\repository\com\google\apis\google-api-services-drive\v3-rev76-1.22.0\google-api-services-drive-v3-rev76-1.22.0.jar, C:\Users\Stefan\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar, C:\Users\Stefan\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar, C:\Users\Stefan\.m2\repository\javax\jdo\jdo-api\3.1\jdo-api-3.1.jar, C:\Users\Stefan\.m2\repository\javax\transaction\transaction-api\1.1\transaction-api-1.1.jar, C:\Users\Stefan\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar];D:\PRG\Projects\WorldServer\WorldServer\target\server-1.0-SNAPSHOT\WEB-INF\classes, -w, D:\PRG\Projects\WorldServer\WorldServer\src\main\webapp, -h, mycalorieapp.appspot.com]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.232 s
[INFO] Finished at: 2017-08-31T15:06:18+02:00
[INFO] Final Memory: 34M/380M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs (default-cli) on project server: Execution default-cli of goal com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs failed: A required class was missing while executing com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs: com/googlecode/objectify/Work
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Stefan/.m2/repository/com/google/cloud/tools/endpoints-framework-maven-plugin/1.0.0/endpoints-framework-maven-plugin-1.0.0.jar
[ERROR] urls[1] = file:/C:/Users/Stefan/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[2] = file:/C:/Users/Stefan/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[3] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
[ERROR] urls[4] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
[ERROR] urls[5] = file:/C:/Users/Stefan/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
[ERROR] urls[6] = file:/C:/Users/Stefan/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
[ERROR] urls[7] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
[ERROR] urls[8] = file:/C:/Users/Stefan/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
[ERROR] urls[9] = file:/C:/Users/Stefan/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[10] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[11] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] urls[12] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[13] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[14] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework-tools/2.0.7/endpoints-framework-tools-2.0.7.jar
[ERROR] urls[15] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework/2.0.7/endpoints-framework-2.0.7.jar
[ERROR] urls[16] = file:/C:/Users/Stefan/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
[ERROR] urls[17] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar
[ERROR] urls[18] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar
[ERROR] urls[19] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar
[ERROR] urls[20] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-api-1.0-sdk/1.9.49/appengine-api-1.0-sdk-1.9.49.jar
[ERROR] urls[21] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jackson2/1.21.0/google-http-client-jackson2-1.21.0.jar
[ERROR] urls[22] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client/1.21.0/google-http-client-1.21.0.jar
[ERROR] urls[23] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
[ERROR] urls[24] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
[ERROR] urls[25] = file:/C:/Users/Stefan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[26] = file:/C:/Users/Stefan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
[ERROR] urls[27] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client/1.21.0/google-api-client-1.21.0.jar
[ERROR] urls[28] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client/1.21.0/google-oauth-client-1.21.0.jar
[ERROR] urls[29] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-appengine/1.21.0/google-api-client-appengine-1.21.0.jar
[ERROR] urls[30] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-appengine/1.21.0/google-oauth-client-appengine-1.21.0.jar
[ERROR] urls[31] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-servlet/1.21.0/google-oauth-client-servlet-1.21.0.jar
[ERROR] urls[32] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jdo/1.21.0/google-http-client-jdo-1.21.0.jar
[ERROR] urls[33] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-servlet/1.21.0/google-api-client-servlet-1.21.0.jar
[ERROR] urls[34] = file:/C:/Users/Stefan/.m2/repository/javax/jdo/jdo2-api/2.3-eb/jdo2-api-2.3-eb.jar
[ERROR] urls[35] = file:/C:/Users/Stefan/.m2/repository/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar
[ERROR] urls[36] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-appengine/1.21.0/google-http-client-appengine-1.21.0.jar
[ERROR] urls[37] = file:/C:/Users/Stefan/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
[ERROR] urls[38] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-models/1.5.9/swagger-models-1.5.9.jar
[ERROR] urls[39] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-annotations/1.5.9/swagger-annotations-1.5.9.jar
[ERROR] urls[40] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-core/1.5.9/swagger-core-1.5.9.jar
[ERROR] urls[41] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.5/jackson-datatype-joda-2.4.5.jar
[ERROR] urls[42] = file:/C:/Users/Stefan/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
[ERROR] urls[43] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.4.5/jackson-dataformat-yaml-2.4.5.jar
[ERROR] urls[44] = file:/C:/Users/Stefan/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar
[ERROR] urls[45] = file:/C:/Users/Stefan/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
[ERROR] urls[46] = file:/C:/Users/Stefan/.m2/repository/org/slf4j/slf4j-nop/1.7.21/slf4j-nop-1.7.21.jar
[ERROR] urls[47] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-tools-sdk/1.9.49/appengine-tools-sdk-1.9.49.jar
[ERROR] urls[48] = file:/C:/Users/Stefan/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.googlecode.objectify.Work
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs (default-cli) on project server: Execution default-cli of goal com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs failed: A required class was missing while executing com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs: com/googlecode/objectify/Work
-----------------------------------------------------
realm =    plugin>com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/Stefan/.m2/repository/com/google/cloud/tools/endpoints-framework-maven-plugin/1.0.0/endpoints-framework-maven-plugin-1.0.0.jar
urls[1] = file:/C:/Users/Stefan/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
urls[2] = file:/C:/Users/Stefan/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
urls[3] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
urls[4] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
urls[5] = file:/C:/Users/Stefan/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
urls[6] = file:/C:/Users/Stefan/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
urls[7] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
urls[8] = file:/C:/Users/Stefan/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
urls[9] = file:/C:/Users/Stefan/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
urls[10] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
urls[11] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
urls[12] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[13] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[14] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework-tools/2.0.7/endpoints-framework-tools-2.0.7.jar
urls[15] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework/2.0.7/endpoints-framework-2.0.7.jar
urls[16] = file:/C:/Users/Stefan/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
urls[17] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar
urls[18] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar
urls[19] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar
urls[20] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-api-1.0-sdk/1.9.49/appengine-api-1.0-sdk-1.9.49.jar
urls[21] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jackson2/1.21.0/google-http-client-jackson2-1.21.0.jar
urls[22] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client/1.21.0/google-http-client-1.21.0.jar
urls[23] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
urls[24] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[25] = file:/C:/Users/Stefan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[26] = file:/C:/Users/Stefan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[27] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client/1.21.0/google-api-client-1.21.0.jar
urls[28] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client/1.21.0/google-oauth-client-1.21.0.jar
urls[29] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-appengine/1.21.0/google-api-client-appengine-1.21.0.jar
urls[30] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-appengine/1.21.0/google-oauth-client-appengine-1.21.0.jar
urls[31] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-servlet/1.21.0/google-oauth-client-servlet-1.21.0.jar
urls[32] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jdo/1.21.0/google-http-client-jdo-1.21.0.jar
urls[33] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-servlet/1.21.0/google-api-client-servlet-1.21.0.jar
urls[34] = file:/C:/Users/Stefan/.m2/repository/javax/jdo/jdo2-api/2.3-eb/jdo2-api-2.3-eb.jar
urls[35] = file:/C:/Users/Stefan/.m2/repository/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar
urls[36] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-appengine/1.21.0/google-http-client-appengine-1.21.0.jar
urls[37] = file:/C:/Users/Stefan/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
urls[38] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-models/1.5.9/swagger-models-1.5.9.jar
urls[39] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-annotations/1.5.9/swagger-annotations-1.5.9.jar
urls[40] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-core/1.5.9/swagger-core-1.5.9.jar
urls[41] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.5/jackson-datatype-joda-2.4.5.jar
urls[42] = file:/C:/Users/Stefan/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
urls[43] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.4.5/jackson-dataformat-yaml-2.4.5.jar
urls[44] = file:/C:/Users/Stefan/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar
urls[45] = file:/C:/Users/Stefan/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
urls[46] = file:/C:/Users/Stefan/.m2/repository/org/slf4j/slf4j-nop/1.7.21/slf4j-nop-1.7.21.jar
urls[47] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-tools-sdk/1.9.49/appengine-tools-sdk-1.9.49.jar
urls[48] = file:/C:/Users/Stefan/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs failed: A required class was missing while executing com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs: com/googlecode/objectify/Work
-----------------------------------------------------
realm =    plugin>com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/Stefan/.m2/repository/com/google/cloud/tools/endpoints-framework-maven-plugin/1.0.0/endpoints-framework-maven-plugin-1.0.0.jar
urls[1] = file:/C:/Users/Stefan/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
urls[2] = file:/C:/Users/Stefan/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
urls[3] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
urls[4] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
urls[5] = file:/C:/Users/Stefan/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
urls[6] = file:/C:/Users/Stefan/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
urls[7] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
urls[8] = file:/C:/Users/Stefan/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
urls[9] = file:/C:/Users/Stefan/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
urls[10] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
urls[11] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
urls[12] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[13] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[14] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework-tools/2.0.7/endpoints-framework-tools-2.0.7.jar
urls[15] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework/2.0.7/endpoints-framework-2.0.7.jar
urls[16] = file:/C:/Users/Stefan/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
urls[17] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar
urls[18] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar
urls[19] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar
urls[20] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-api-1.0-sdk/1.9.49/appengine-api-1.0-sdk-1.9.49.jar
urls[21] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jackson2/1.21.0/google-http-client-jackson2-1.21.0.jar
urls[22] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client/1.21.0/google-http-client-1.21.0.jar
urls[23] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
urls[24] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[25] = file:/C:/Users/Stefan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[26] = file:/C:/Users/Stefan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[27] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client/1.21.0/google-api-client-1.21.0.jar
urls[28] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client/1.21.0/google-oauth-client-1.21.0.jar
urls[29] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-appengine/1.21.0/google-api-client-appengine-1.21.0.jar
urls[30] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-appengine/1.21.0/google-oauth-client-appengine-1.21.0.jar
urls[31] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-servlet/1.21.0/google-oauth-client-servlet-1.21.0.jar
urls[32] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jdo/1.21.0/google-http-client-jdo-1.21.0.jar
urls[33] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-servlet/1.21.0/google-api-client-servlet-1.21.0.jar
urls[34] = file:/C:/Users/Stefan/.m2/repository/javax/jdo/jdo2-api/2.3-eb/jdo2-api-2.3-eb.jar
urls[35] = file:/C:/Users/Stefan/.m2/repository/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar
urls[36] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-appengine/1.21.0/google-http-client-appengine-1.21.0.jar
urls[37] = file:/C:/Users/Stefan/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
urls[38] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-models/1.5.9/swagger-models-1.5.9.jar
urls[39] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-annotations/1.5.9/swagger-annotations-1.5.9.jar
urls[40] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-core/1.5.9/swagger-core-1.5.9.jar
urls[41] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.5/jackson-datatype-joda-2.4.5.jar
urls[42] = file:/C:/Users/Stefan/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
urls[43] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.4.5/jackson-dataformat-yaml-2.4.5.jar
urls[44] = file:/C:/Users/Stefan/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar
urls[45] = file:/C:/Users/Stefan/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
urls[46] = file:/C:/Users/Stefan/.m2/repository/org/slf4j/slf4j-nop/1.7.21/slf4j-nop-1.7.21.jar
urls[47] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-tools-sdk/1.9.49/appengine-tools-sdk-1.9.49.jar
urls[48] = file:/C:/Users/Stefan/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:168)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more
Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0:discoveryDocs: com/googlecode/objectify/Work
-----------------------------------------------------
realm =    plugin>com.google.cloud.tools:endpoints-framework-maven-plugin:1.0.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/Stefan/.m2/repository/com/google/cloud/tools/endpoints-framework-maven-plugin/1.0.0/endpoints-framework-maven-plugin-1.0.0.jar
urls[1] = file:/C:/Users/Stefan/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
urls[2] = file:/C:/Users/Stefan/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
urls[3] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
urls[4] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
urls[5] = file:/C:/Users/Stefan/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
urls[6] = file:/C:/Users/Stefan/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
urls[7] = file:/C:/Users/Stefan/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
urls[8] = file:/C:/Users/Stefan/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
urls[9] = file:/C:/Users/Stefan/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
urls[10] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
urls[11] = file:/C:/Users/Stefan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
urls[12] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[13] = file:/C:/Users/Stefan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[14] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework-tools/2.0.7/endpoints-framework-tools-2.0.7.jar
urls[15] = file:/C:/Users/Stefan/.m2/repository/com/google/endpoints/endpoints-framework/2.0.7/endpoints-framework-2.0.7.jar
urls[16] = file:/C:/Users/Stefan/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
urls[17] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar
urls[18] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar
urls[19] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar
urls[20] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-api-1.0-sdk/1.9.49/appengine-api-1.0-sdk-1.9.49.jar
urls[21] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jackson2/1.21.0/google-http-client-jackson2-1.21.0.jar
urls[22] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client/1.21.0/google-http-client-1.21.0.jar
urls[23] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
urls[24] = file:/C:/Users/Stefan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[25] = file:/C:/Users/Stefan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[26] = file:/C:/Users/Stefan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[27] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client/1.21.0/google-api-client-1.21.0.jar
urls[28] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client/1.21.0/google-oauth-client-1.21.0.jar
urls[29] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-appengine/1.21.0/google-api-client-appengine-1.21.0.jar
urls[30] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-appengine/1.21.0/google-oauth-client-appengine-1.21.0.jar
urls[31] = file:/C:/Users/Stefan/.m2/repository/com/google/oauth-client/google-oauth-client-servlet/1.21.0/google-oauth-client-servlet-1.21.0.jar
urls[32] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-jdo/1.21.0/google-http-client-jdo-1.21.0.jar
urls[33] = file:/C:/Users/Stefan/.m2/repository/com/google/api-client/google-api-client-servlet/1.21.0/google-api-client-servlet-1.21.0.jar
urls[34] = file:/C:/Users/Stefan/.m2/repository/javax/jdo/jdo2-api/2.3-eb/jdo2-api-2.3-eb.jar
urls[35] = file:/C:/Users/Stefan/.m2/repository/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar
urls[36] = file:/C:/Users/Stefan/.m2/repository/com/google/http-client/google-http-client-appengine/1.21.0/google-http-client-appengine-1.21.0.jar
urls[37] = file:/C:/Users/Stefan/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar
urls[38] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-models/1.5.9/swagger-models-1.5.9.jar
urls[39] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-annotations/1.5.9/swagger-annotations-1.5.9.jar
urls[40] = file:/C:/Users/Stefan/.m2/repository/io/swagger/swagger-core/1.5.9/swagger-core-1.5.9.jar
urls[41] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.5/jackson-datatype-joda-2.4.5.jar
urls[42] = file:/C:/Users/Stefan/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
urls[43] = file:/C:/Users/Stefan/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.4.5/jackson-dataformat-yaml-2.4.5.jar
urls[44] = file:/C:/Users/Stefan/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar
urls[45] = file:/C:/Users/Stefan/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
urls[46] = file:/C:/Users/Stefan/.m2/repository/org/slf4j/slf4j-nop/1.7.21/slf4j-nop-1.7.21.jar
urls[47] = file:/C:/Users/Stefan/.m2/repository/com/google/appengine/appengine-tools-sdk/1.9.49/appengine-tools-sdk-1.9.49.jar
urls[48] = file:/C:/Users/Stefan/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:166)
        ... 21 more
Caused by: java.lang.NoClassDefFoundError: com/googlecode/objectify/Work
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.getDeclaredMethods(Class.java:1975)
        at com.google.api.server.spi.MethodHierarchyReader.buildServiceMethods(MethodHierarchyReader.java:193)
        at com.google.api.server.spi.MethodHierarchyReader.readMethodHierarchyIfNecessary(MethodHierarchyReader.java:65)
        at com.google.api.server.spi.MethodHierarchyReader.getEndpointOverrides(MethodHierarchyReader.java:146)
        at com.google.api.server.spi.config.annotationreader.ApiConfigAnnotationReader.readEndpointMethods(ApiConfigAnnotationReader.java:312)
        at com.google.api.server.spi.config.annotationreader.ApiConfigAnnotationReader.loadEndpointMethods(ApiConfigAnnotationReader.java:83)
        at com.google.api.server.spi.config.ApiConfigLoader.loadConfiguration(ApiConfigLoader.java:92)
        at com.google.api.server.spi.tools.GetDiscoveryDocAction.getDiscoveryDoc(GetDiscoveryDocAction.java:130)
        at com.google.api.server.spi.tools.GetDiscoveryDocAction.execute(GetDiscoveryDocAction.java:84)
        at com.google.api.server.spi.tools.EndpointsTool.execute(EndpointsTool.java:84)
        at com.google.cloud.tools.maven.endpoints.framework.DiscoveryDocsMojo.execute(DiscoveryDocsMojo.java:82)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: com.googlecode.objectify.Work
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 35 more
[ERROR]
[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/PluginContainerException

Objectify is defined as a dependency in pom.xml:

        <dependency>
            <groupId>com.googlecode.objectify</groupId>
            <artifactId>objectify</artifactId>
            <version>5.1.21</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>20.0</version>
        </dependency>

Note: My Endpoints API doesn't use any classes that were annotated with Objectify. (The implementation of the API does.)

Why doesn't the Maven plug-in resolve the dependency to Objectify?

loosebazooka commented 7 years ago

It's possible this is related to this bug #30 which will be in the next release going out today/tomorrow.

loosebazooka commented 7 years ago

So I initiated the release, check https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.cloud.tools%22%20AND%20a%3A%22endpoints-framework-maven-plugin%22 to see when 1.0.1 is on maven central and try with that.

stefan222 commented 7 years ago

Wow, that was fast! And it works like a charm. Thank you very much!