Hi Punnadi,

What is the JDK version you are using? Can you check with JDK 1.7?

On Fri, Jun 19, 2015 at 5:03 PM, Punnadi Gunarathna <punn...@wso2.com>
wrote:

> Hi All,
>
> I tried to build the Stratos project and getting a build failure in
> 'Fabric8 :: Kubernetes Generated Model'.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Fabric8 :: Kubernetes Generated Model ............. FAILURE [6.044s]
> [INFO] Fabric8 :: Kubernetes API ......................... SKIPPED
> [INFO] Apache Stratos - Service Stubs .................... SKIPPED
> [INFO] Apache Stratos - Cloud Controller Service Stub .... SKIPPED
> [INFO] Apache Stratos - Manager Service Stub ............. SKIPPED
> [INFO] Apache Stratos - Autoscaler Service Stub .......... SKIPPED
> [INFO] Apache Stratos - Components ....................... SKIPPED
> [INFO] Apache Stratos - Common ........................... SKIPPED
> [INFO] Apache Stratos - Messaging ........................ SKIPPED
> [INFO] Apache Stratos - Metadata Client .................. SKIPPED
> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
> [INFO] Apache Stratos - Kubernetes API Java Client ....... SKIPPED
> [INFO] Apache Stratos - Mock IaaS ........................ SKIPPED
> [INFO] Apache Stratos - Mock IaaS API Client ............. SKIPPED
> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
> [INFO] Apache Stratos - Manager .......................... SKIPPED
> [INFO] Apache Stratos - Deployment ....................... SKIPPED
> [INFO] Apache Stratos - CLI .............................. SKIPPED
> [INFO] Apache Stratos - Python Cartridge Agent ........... SKIPPED
> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
> [INFO] Apache Stratos - Load Balancer - Common ........... SKIPPED
> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
> [INFO] Apache Stratos - Load Balancer - Extension API .... SKIPPED
> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
> [INFO] Apache Stratos - Custom Handlers .................. SKIPPED
> [INFO] Apache Stratos - Metadata Service ................. SKIPPED
> [INFO] Apache Stratos - Mock IaaS API .................... SKIPPED
> [INFO] Apache Stratos - Extensions ....................... SKIPPED
> [INFO] Apache Stratos - CEP Extensions ................... SKIPPED
> [INFO] Apache Stratos CEP  - Artefacts ................... SKIPPED
> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
> [INFO] Apache Stratos - Nginx Extension .................. SKIPPED
> [INFO] Apache Stratos - Features ......................... SKIPPED
> [INFO] Apache Stratos - Load Balancer Features ........... SKIPPED
> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
> [INFO] Apache Stratos - Autoscaler Features .............. SKIPPED
> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
> [INFO] Apache Stratos - Mock IaaS Features ............... SKIPPED
> [INFO] Apache Stratos - Mock IaaS API Feature ............ SKIPPED
> [INFO] Apache Stratos - Cloud Controller Features ........ SKIPPED
> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Stratos Management Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Management Core Feature .......... SKIPPED
> [INFO] Apache Stratos - Management Composite Feature ..... SKIPPED
> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
> [INFO] Apache Stratos - Logging Management Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Logging Management Feature ....... SKIPPED
> [INFO] Apache Stratos - RESTful admin services feature ... SKIPPED
> [INFO] Apache Stratos - stratos manager admin theme ...... SKIPPED
> [INFO] Apache Stratos - Meta Data Service feature ........ SKIPPED
> [INFO] Apache Stratos - Metadata client Feature .......... SKIPPED
> [INFO] Apache Stratos - Messaging Module ................. SKIPPED
> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
> [INFO] Apache Stratos - Common Features .................. SKIPPED
> [INFO] Apache Stratos - Common Server Feature ............ SKIPPED
> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
> [INFO] Apache Stratos - Custom Handlers Feature .......... SKIPPED
> [INFO] Apache Stratos - CEP Features ..................... SKIPPED
> [INFO] Apache Stratos  - Event Processor Server Feature .. SKIPPED
> [INFO] Apache Stratos - Event Processor Aggregator Feature  SKIPPED
> [INFO] Apache Stratos - Products ......................... SKIPPED
> [INFO] Apache Stratos - Python Cartridge Agent Product ... SKIPPED
> [INFO] Apache Stratos - Python Cartridge Agent ........... SKIPPED
> [INFO] Apache Stratos - Cartridge Agent Product .......... SKIPPED
> [INFO] Apache Stratos - Cartridge Agent Distribution ..... SKIPPED
> [INFO] Apache Stratos - CLI Product ...................... SKIPPED
> [INFO] Apache Stratos - CLI .............................. SKIPPED
> [INFO] Apache Stratos - Load Balancer Product ............ SKIPPED
> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
> [INFO] Apache Stratos - Product .......................... SKIPPED
> [INFO] Apache Stratos - Profile Generation ............... SKIPPED
> [INFO] Apache Stratos - Distribution ..................... SKIPPED
> [INFO] Apache Stratos - Integration Tests ................ SKIPPED
> [INFO] Apache Stratos - Tools ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8.425s
> [INFO] Finished at: Fri Jun 19 16:59:57 IST 2015
> [INFO] Final Memory: 32M/1962M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate (default)
> on project kubernetes-model: Execution default of goal
> org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate failed: An
> API incompatibility was encountered while executing
> org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate:
> java.lang.UnsupportedClassVersionError:
> io/fabric8/kubernetes/annotator/KubernetesTypeAnnotator : Unsupported
> major.minor version 51.0
> [ERROR] -----------------------------------------------------
> [ERROR] realm =
> plugin>org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/home/punnadi/.m2/repository/org/jsonschema2pojo/jsonschema2pojo-maven-plugin/0.4.10/jsonschema2pojo-maven-plugin-0.4.10.jar
> [ERROR] urls[1] =
> file:/home/punnadi/.m2/repository/io/fabric8/schemagenerator/kubernetes-annotator/0.0.45/kubernetes-annotator-0.0.45.jar
> [ERROR] urls[2] =
> file:/home/punnadi/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.4.1/jackson-module-jaxb-annotations-2.4.1.jar
> [ERROR] urls[3] =
> file:/home/punnadi/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.4.1/jackson-core-2.4.1.jar
> [ERROR] urls[4] =
> file:/home/punnadi/.m2/repository/org/jsonschema2pojo/jsonschema2pojo-core/0.4.10/jsonschema2pojo-core-0.4.10.jar
> [ERROR] urls[5] =
> file:/home/punnadi/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.2.0/jackson-databind-2.2.0.jar
> [ERROR] urls[6] =
> file:/home/punnadi/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.2.0/jackson-annotations-2.2.0.jar
> [ERROR] urls[7] =
> file:/home/punnadi/.m2/repository/com/google/code/javaparser/javaparser/1.0.11/javaparser-1.0.11.jar
> [ERROR] urls[8] =
> file:/home/punnadi/.m2/repository/com/sun/codemodel/codemodel/2.6/codemodel-2.6.jar
> [ERROR] urls[9] =
> file:/home/punnadi/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
> [ERROR] urls[10] =
> file:/home/punnadi/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> [ERROR] urls[11] =
> file:/home/punnadi/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
> [ERROR] urls[12] =
> file:/home/punnadi/.m2/repository/javax/validation/validation-api/
> 1.0.0.GA/validation-api-1.0.0.GA.jar
> [ERROR] urls[13] =
> file:/home/punnadi/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
> [ERROR] urls[14] =
> file:/home/punnadi/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.11/jackson-mapper-asl-1.9.11.jar
> [ERROR] urls[15] =
> file:/home/punnadi/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.11/jackson-core-asl-1.9.11.jar
> [ERROR] urls[16] =
> file:/home/punnadi/.m2/repository/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar
> [ERROR] urls[17] =
> file:/home/punnadi/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
> [ERROR] urls[18] =
> file:/home/punnadi/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar
> [ERROR] urls[19] =
> file:/home/punnadi/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
> [ERROR] urls[20] =
> file:/home/punnadi/.m2/repository/com/google/code/findbugs/annotations/1.3.9/annotations-1.3.9.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm
> ClassRealm[project>org.apache.stratos:kubernetes-model:2.1.11-stratosv1,
> parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] -> [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/PluginContainerException
>
>
> --
> Thanks and Regards,
>
> Punnadi Gunarathna
> Senior Software Engineer,
> WSO2, Inc.; http://wso2.com <http://wso2>
> Blog: http://hi-my-world.blogspot.com/
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to