You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Shashika Karunatilaka <sh...@gmail.com> on 2013/12/01 03:51:03 UTC

Apache Stratos Build error

Hi,
I tried to install stratos on ubuntu i'm getting some errors while install
using "mvn clean install", i have copied them below

INFO]
------------------------------------------------------------------------
[INFO] Building Apache Stratos - Load Balancer - Extension API
4.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
org.apache.stratos.load.balancer.extension.api ---
[INFO] Deleting file set:
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
(included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
org.apache.stratos.load.balancer.extension.api ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
org.apache.stratos.load.balancer.extension.api ---
[INFO] Compiling 6 source files to
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Stratos (incubating) Project ............... SUCCESS [7.467s]
[INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS [0.045s]
[INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS [11.166s]
[INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS [5.588s]
[INFO] Apache Stratos - Account Management Stub .......... SUCCESS [9.211s]
[INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS [3.380s]
[INFO] Apache Stratos - Common Stubs ..................... SUCCESS [2.956s]
[INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS [3.559s]
[INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS [2.951s]
[INFO] Apache Stratos - Throttling Stub .................. SUCCESS [2.978s]
[INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS [3.413s]
[INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS [3.002s]
[INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS [3.089s]
[INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS [3.819s]
[INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS [5.304s]
[INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS [2.724s]
[INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS [3.189s]
[INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
[2.868s]
[INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
[2.975s]
[INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
[3.073s]
[INFO] Apache Stratos - Topology Management Service Stub . SUCCESS [3.012s]
[INFO] Apache Stratos - Billing Management Stub .......... SUCCESS [3.526s]
[INFO] Apache Stratos - Throttle Stub .................... SUCCESS [3.390s]
[INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS [3.270s]
[INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS [3.009s]
[INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
[3.763s]
[INFO] Apache Stratos - Components - Parent Module ....... SUCCESS [0.043s]
[INFO] Apache Stratos - Common ........................... SUCCESS [6.196s]
[INFO] Apache Stratos - Messaging Component .............. SUCCESS [1.201s]
[INFO] Apache Stratos - Autoscaler ....................... SUCCESS [6.661s]
[INFO] Apache Stratos - Cloud Controller ................. SUCCESS [10.957s]
[INFO] Apache Stratos - Topology Management .............. SUCCESS [3.710s]
[INFO] Apache Stratos - ADC BE ........................... SUCCESS [9.872s]
[INFO] Apache Stratos - Deployment ....................... SUCCESS [0.930s]
[INFO] Apache Stratos - CLI .............................. SUCCESS [8.445s]
[INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS [1.421s]
[INFO] Apache Stratos - Load Balancer .................... SUCCESS [4.683s]
[INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE [1.163s]
[INFO] Apache Stratos - Self Registration For New Tenant - User Interface
 SKIPPED
[INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
[INFO] Apache Stratos - Tenant Managment ................. SKIPPED
[INFO] Apache Stratos - User Interface for Tenant CRUD operations  SKIPPED
[INFO] Apache Stratos - Email Sender Component ........... SKIPPED
[INFO] Apache Stratos - Tenant Management Email Sender Component  SKIPPED
[INFO] Apache Stratos - TenantActivity ................... SKIPPED
[INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
[INFO] Apache Stratos - Account Management ............... SKIPPED
[INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
[INFO] Apache Stratos - Validate Domains ................. SKIPPED
[INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
[INFO] Apache Stratos - Throttling Agent ................. SKIPPED
[INFO] Apache Stratos - Usage Agent ...................... SKIPPED
[INFO] Apache Stratos - Usage ............................ SKIPPED
[INFO] Apache Stratos - Throttling Manager ............... SKIPPED
[INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
[INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
[INFO] Apache Stratos - Activation ....................... SKIPPED
[INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
[INFO] Apache Stratos - Tenant Specific URL redirector UI component  SKIPPED
[INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
[INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
[INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
[INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
[INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
[INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
[INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
[INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
[INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
[INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
[INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
[INFO] Apache Stratos - Logging View UI .................. SKIPPED
[INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
[INFO] org.apache.stratos.cep.extension .................. SKIPPED
[INFO] Apache Stratos - Extensions ....................... SKIPPED
[INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
[INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
[INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
[INFO] Apache Stratos - Load Balancer - Feature Aggregator Module  SKIPPED
[INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
[INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
[INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
[INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
[INFO] Apache Stratos - ADC Management Feature Aggregator Module  SKIPPED
[INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
[INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
[INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
[INFO] Apache Stratos - Cloud Controller Feature Aggregator Module  SKIPPED
[INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
[INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
[INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
[INFO] Apache Stratos - Common Core Feature .............. SKIPPED
[INFO] Apache Stratos - Common UI Feature ................ SKIPPED
[INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
[INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
[INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
 SKIPPED
[INFO] Apache Stratos - Multitenancy Tenant Management Core Feature  SKIPPED
[INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
[INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
[INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
[INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
[INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
[INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
[INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
[INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
[INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
[INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
[INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
[INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
[INFO] Apache Stratos - Deployment Features .............. SKIPPED
[INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
[INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
[INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
[INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
[INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
[INFO] Apache Stratos - Tenant activity Feature Aggregator Module  SKIPPED
[INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
[INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
[INFO] Apache Stratos - Cartridge Management UI Feature Aggregator Module
 SKIPPED
[INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
[INFO] Apache Stratos - Messaging Feature ................ SKIPPED
[INFO] Apache Stratos - Products ......................... SKIPPED
[INFO] Apache Stratos - Autoscaler ....................... SKIPPED
[INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
[INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
[INFO] Apache Stratos - Cloud Controller ................. SKIPPED
[INFO] Apache Stratos - Cloud Controller - P2 Profile Generation  SKIPPED
[INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
[INFO] Apache Stratos - Load Balancer .................... SKIPPED
[INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
[INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
[INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
[INFO] Apache Stratos - CLI .............................. SKIPPED
[INFO] Apache Stratos - Controller Parent ................ SKIPPED
[INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
[INFO] Apache Stratos - Cloud Manager Cloud Services Management  SKIPPED
[INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
[INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
[INFO] Apache Stratos - Products Stratos Controller Features Parent  SKIPPED
[INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
[INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
[INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
[INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
[INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
[INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
[INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
[INFO] Apache Stratos - Distribution ..................... SKIPPED
[INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
[INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
[INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
[INFO] Apache Stratos - Event Publisher .................. SKIPPED
[INFO] Apache Stratos - Event Subscriber ................. SKIPPED
[INFO] Apache Stratos - Health Publisher ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:43.887s
[INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
[INFO] Final Memory: 141M/481M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project
org.apache.stratos.load.balancer.extension.api: Compilation failure:
Compilation failure:
[ERROR]
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
error: annotations are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR]
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR]
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
error: for-each loops are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR]
/home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
error: annotations are not supported in -source 1.3
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :org.apache.stratos.load.balancer.extension.api

Thank you,


-- 
*Best Regards,*
*Shashika karunatilaka,*
*Microsoft Student Ambassador,*
*University of Colombo School of Computing,*
*Computer Science Society University of Colombo(CompSoc)*
*IEEE UCSC Student Branch,*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com

Re: Apache Stratos Build error

Posted by Nirmal Fernando <ni...@gmail.com>.
Ok.. that explains. That is before Chris' fix. Shashika please take a git
pull, there're lots of commits after that.


On Sun, Dec 1, 2013 at 7:44 PM, Shashika Karunatilaka <
shashikabokks@gmail.com> wrote:

> commit fe32cc5215e03e4797ac7913f5b9265a72061f7b
> Author: Imesh Gunaratne <im...@apache.org>
> Date:   Sat Nov 23 19:31:05 2013 +0530
>
>     Terminate topology receiver thread if load balancer service component
> bundle is de-activated
>
>
>
> On Sun, Dec 1, 2013 at 1:53 PM, chris snow <ch...@gmail.com> wrote:
>
>> I have just successfully built the latest commit using mvn 3.0.4 and
>> openjdk 1.7.0_25:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 16:39.130s
>> [INFO] Finished at: Sun Dec 01 13:44:25 UTC 2013
>> [INFO] Final Memory: 331M/918M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> ubuntu@stratos-4:~/incubator-stratos$ git log -1
>> commit 96db3160a4d4ccbe42e0751d13fdd29a58ca675e
>> Merge: ad402b5 71e3b1b
>> Author: Nirmal Fernando <ni...@apache.org>
>> Date:   Sun Dec 1 16:28:18 2013 +0530
>>
>>     Merge branch 'master' of
>> https://git-wip-us.apache.org/repos/asf/incubator-stratos
>>
>> ubuntu@stratos-4:~/incubator-stratos$ mvn --version
>> Apache Maven 3.0.4
>> Maven home: /usr/share/maven
>> Java version: 1.7.0_25, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
>> Default locale: en_GB, platform encoding: UTF-8
>> OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
>> "unix"
>>
>>
>>
>> On Sun, Dec 1, 2013 at 12:42 PM, chris snow <ch...@gmail.com> wrote:
>>
>>> Hi Shashika,
>>>
>>> That's strange, I have been building fine with maven 3.0.4.
>>>
>>> Can you please run "git log -1 --oneline" and paste the output to the
>>> mailing list?
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>>
>>> On Sun, Dec 1, 2013 at 12:12 PM, Shashika Karunatilaka <
>>> shashikabokks@gmail.com> wrote:
>>>
>>>> Hi Chris,
>>>> i'm running 13.10
>>>> yes, its just the maven upgrade, after the upgrade it works fine.
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com>wrote:
>>>>
>>>>> Hi Shashika, what version of ubuntu are you running?  did you also
>>>>> apply the patch for stratos-232 or was it just the maven upgrade that fixed
>>>>> the issue?
>>>>>  yes i installed maven using apt-get so previously my maven version
>>>>> was 3.0.4, i downloaded the 3.0.5 and set the paths,
>>>>>  now it build successfully
>>>>> thanks in advance for the help
>>>>>
>>>>>
>>>>> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com>wrote:
>>>>>
>>>>>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk
>>>>>> using apt-get
>>>>>>
>>>>>> sudo apt-get -y install maven openjdk-7-jdk
>>>>>>
>>>>>> after applying the fix for STRATOS-232 these versions of maven and
>>>>>> openjdk build and run stratos 4.0.0 without problem.
>>>>>>
>>>>>>
>>>>>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com>wrote:
>>>>>>
>>>>>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com>wrote:
>>>>>>>
>>>>>>>> I guess you installed maven using apt-get. Try installing manually
>>>>>>>> and try again. Manually in the sense download the maven and set the paths.
>>>>>>>>
>>>>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>>>>>
>>>>>>>>> Hi Shashika,
>>>>>>>>>
>>>>>>>>> Thanks for reporting this. The error says "annotations are not
>>>>>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>>>>>> the Java or Maven version you are using.
>>>>>>>>>
>>>>>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX
>>>>>>>>> and Apache Maven 3.0.5 or above.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> Imesh
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>>>>>> shashikabokks@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>> I tried to install stratos on ubuntu i'm getting some errors
>>>>>>>>>> while install using "mvn clean install", i have copied them below
>>>>>>>>>>
>>>>>>>>>> INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>>>>>> 4.0.0-SNAPSHOT
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [INFO]
>>>>>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>>> [INFO] Deleting file set:
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>>>>>> (included: [**], excluded: [])
>>>>>>>>>> [INFO]
>>>>>>>>>> [INFO] --- maven-resources-plugin:2.3:resources
>>>>>>>>>> (default-resources) @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy
>>>>>>>>>> filtered resources, i.e. build is platform dependent!
>>>>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>>>>>> [INFO]
>>>>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile)
>>>>>>>>>> @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>>> [INFO] Compiling 6 source files to
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [INFO] Reactor Summary:
>>>>>>>>>> [INFO]
>>>>>>>>>> [INFO] Apache Stratos (incubating) Project ...............
>>>>>>>>>> SUCCESS [7.467s]
>>>>>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module
>>>>>>>>>>  SUCCESS [0.045s]
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub
>>>>>>>>>>  SUCCESS [11.166s]
>>>>>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub ....
>>>>>>>>>> SUCCESS [5.588s]
>>>>>>>>>> [INFO] Apache Stratos - Account Management Stub ..........
>>>>>>>>>> SUCCESS [9.211s]
>>>>>>>>>> [INFO] Apache Stratos - Tenant Management Stub ...........
>>>>>>>>>> SUCCESS [3.380s]
>>>>>>>>>> [INFO] Apache Stratos - Common Stubs .....................
>>>>>>>>>> SUCCESS [2.956s]
>>>>>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ......
>>>>>>>>>> SUCCESS [3.559s]
>>>>>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............
>>>>>>>>>> SUCCESS [2.951s]
>>>>>>>>>> [INFO] Apache Stratos - Throttling Stub ..................
>>>>>>>>>> SUCCESS [2.978s]
>>>>>>>>>> [INFO] Apache Stratos - Tenant Registration Stub .........
>>>>>>>>>> SUCCESS [3.413s]
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub .............
>>>>>>>>>> SUCCESS [3.002s]
>>>>>>>>>> [INFO] Apache Stratos - Tenant activity Stub .............
>>>>>>>>>> SUCCESS [3.089s]
>>>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface
>>>>>>>>>>  SUCCESS [3.819s]
>>>>>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............
>>>>>>>>>> SUCCESS [5.304s]
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ...
>>>>>>>>>> SUCCESS [2.724s]
>>>>>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub ....
>>>>>>>>>> SUCCESS [3.189s]
>>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub
>>>>>>>>>>  SUCCESS [2.868s]
>>>>>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub
>>>>>>>>>>  SUCCESS [2.975s]
>>>>>>>>>> [INFO] Apache Stratos - Repository Information Service Stub
>>>>>>>>>>  SUCCESS [3.073s]
>>>>>>>>>> [INFO] Apache Stratos - Topology Management Service Stub .
>>>>>>>>>> SUCCESS [3.012s]
>>>>>>>>>> [INFO] Apache Stratos - Billing Management Stub ..........
>>>>>>>>>> SUCCESS [3.526s]
>>>>>>>>>> [INFO] Apache Stratos - Throttle Stub ....................
>>>>>>>>>> SUCCESS [3.390s]
>>>>>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ...........
>>>>>>>>>> SUCCESS [3.270s]
>>>>>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ...........
>>>>>>>>>> SUCCESS [3.009s]
>>>>>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub
>>>>>>>>>>  SUCCESS [3.763s]
>>>>>>>>>> [INFO] Apache Stratos - Components - Parent Module .......
>>>>>>>>>> SUCCESS [0.043s]
>>>>>>>>>> [INFO] Apache Stratos - Common ...........................
>>>>>>>>>> SUCCESS [6.196s]
>>>>>>>>>> [INFO] Apache Stratos - Messaging Component ..............
>>>>>>>>>> SUCCESS [1.201s]
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler .......................
>>>>>>>>>> SUCCESS [6.661s]
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller .................
>>>>>>>>>> SUCCESS [10.957s]
>>>>>>>>>> [INFO] Apache Stratos - Topology Management ..............
>>>>>>>>>> SUCCESS [3.710s]
>>>>>>>>>> [INFO] Apache Stratos - ADC BE ...........................
>>>>>>>>>> SUCCESS [9.872s]
>>>>>>>>>> [INFO] Apache Stratos - Deployment .......................
>>>>>>>>>> SUCCESS [0.930s]
>>>>>>>>>> [INFO] Apache Stratos - CLI ..............................
>>>>>>>>>> SUCCESS [8.445s]
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common ...........
>>>>>>>>>> SUCCESS [1.421s]
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer ....................
>>>>>>>>>> SUCCESS [4.683s]
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API ....
>>>>>>>>>> FAILURE [1.163s]
>>>>>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>>>>>> Interface  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Account Managment - User Interface
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI
>>>>>>>>>> component  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Keystore Generation and Management
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator
>>>>>>>>>> Module  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server
>>>>>>>>>> Feature  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core
>>>>>>>>>> Feature  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature
>>>>>>>>>> Aggregator Module  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features
>>>>>>>>>> Parent  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer
>>>>>>>>>>  SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [INFO] Total time: 2:43.887s
>>>>>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>>>>>> [INFO] Final Memory: 141M/481M
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>>>>> (default-compile) on project
>>>>>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>>>>>> Compilation failure:
>>>>>>>>>> [ERROR]
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>>>>>> [ERROR]
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>>>>>> error: generics are not supported in -source 1.3
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>>>>>> [ERROR]
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>>>>>> [ERROR]
>>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>>>> [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/MojoFailureException
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>>>> with the command
>>>>>>>>>> [ERROR]   mvn <goals> -rf
>>>>>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Best Regards,*
>>>>>>>>>> *Shashika karunatilaka,*
>>>>>>>>>> *Microsoft Student Ambassador,*
>>>>>>>>>> *University of Colombo School of Computing,*
>>>>>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>>>>>> *IEEE UCSC Student Branch,*
>>>>>>>>>> *D. S. Senanayeka College.*
>>>>>>>>>> http://shashikabokks.wordpress.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>>>> http://lnkd.in/cw5k69
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>>> http://lnkd.in/cw5k69
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Best Regards,*
>>>>> *Shashika karunatilaka,*
>>>>> *Microsoft Student Ambassador,*
>>>>>  *University of Colombo School of Computing,*
>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>> *IEEE UCSC Student Branch,*
>>>>> *D. S. Senanayeka College.*
>>>>> http://shashikabokks.wordpress.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Best Regards,*
>>>> *Shashika karunatilaka,*
>>>> *Microsoft Student Ambassador,*
>>>>  *University of Colombo School of Computing,*
>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>> *IEEE UCSC Student Branch,*
>>>> *D. S. Senanayeka College.*
>>>> http://shashikabokks.wordpress.com
>>>>
>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>>
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> *Best Regards,*
> *Shashika karunatilaka,*
> *Microsoft Student Ambassador,*
>  *University of Colombo School of Computing,*
> *Computer Science Society University of Colombo(CompSoc)*
> *IEEE UCSC Student Branch,*
> *D. S. Senanayeka College.*
> http://shashikabokks.wordpress.com
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Apache Stratos Build error

Posted by Shashika Karunatilaka <sh...@gmail.com>.
commit fe32cc5215e03e4797ac7913f5b9265a72061f7b
Author: Imesh Gunaratne <im...@apache.org>
Date:   Sat Nov 23 19:31:05 2013 +0530

    Terminate topology receiver thread if load balancer service component
bundle is de-activated



On Sun, Dec 1, 2013 at 1:53 PM, chris snow <ch...@gmail.com> wrote:

> I have just successfully built the latest commit using mvn 3.0.4 and
> openjdk 1.7.0_25:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16:39.130s
> [INFO] Finished at: Sun Dec 01 13:44:25 UTC 2013
> [INFO] Final Memory: 331M/918M
> [INFO]
> ------------------------------------------------------------------------
>
> ubuntu@stratos-4:~/incubator-stratos$ git log -1
> commit 96db3160a4d4ccbe42e0751d13fdd29a58ca675e
> Merge: ad402b5 71e3b1b
> Author: Nirmal Fernando <ni...@apache.org>
> Date:   Sun Dec 1 16:28:18 2013 +0530
>
>     Merge branch 'master' of
> https://git-wip-us.apache.org/repos/asf/incubator-stratos
>
> ubuntu@stratos-4:~/incubator-stratos$ mvn --version
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
> "unix"
>
>
>
> On Sun, Dec 1, 2013 at 12:42 PM, chris snow <ch...@gmail.com> wrote:
>
>> Hi Shashika,
>>
>> That's strange, I have been building fine with maven 3.0.4.
>>
>> Can you please run "git log -1 --oneline" and paste the output to the
>> mailing list?
>>
>> Many thanks,
>>
>> Chris
>>
>>
>> On Sun, Dec 1, 2013 at 12:12 PM, Shashika Karunatilaka <
>> shashikabokks@gmail.com> wrote:
>>
>>> Hi Chris,
>>> i'm running 13.10
>>> yes, its just the maven upgrade, after the upgrade it works fine.
>>>
>>>
>>> On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com> wrote:
>>>
>>>> Hi Shashika, what version of ubuntu are you running?  did you also
>>>> apply the patch for stratos-232 or was it just the maven upgrade that fixed
>>>> the issue?
>>>>  yes i installed maven using apt-get so previously my maven version
>>>> was 3.0.4, i downloaded the 3.0.5 and set the paths,
>>>>  now it build successfully
>>>> thanks in advance for the help
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:
>>>>
>>>>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk
>>>>> using apt-get
>>>>>
>>>>> sudo apt-get -y install maven openjdk-7-jdk
>>>>>
>>>>> after applying the fix for STRATOS-232 these versions of maven and
>>>>> openjdk build and run stratos 4.0.0 without problem.
>>>>>
>>>>>
>>>>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com>wrote:
>>>>>
>>>>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>>>>
>>>>>>
>>>>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com>wrote:
>>>>>>
>>>>>>> I guess you installed maven using apt-get. Try installing manually
>>>>>>> and try again. Manually in the sense download the maven and set the paths.
>>>>>>>
>>>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>>>>
>>>>>>>> Hi Shashika,
>>>>>>>>
>>>>>>>> Thanks for reporting this. The error says "annotations are not
>>>>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>>>>> the Java or Maven version you are using.
>>>>>>>>
>>>>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>>>>>> Apache Maven 3.0.5 or above.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Imesh
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>>>>> shashikabokks@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>>>>>> install using "mvn clean install", i have copied them below
>>>>>>>>>
>>>>>>>>> INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>>>>> 4.0.0-SNAPSHOT
>>>>>>>>> [INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO]
>>>>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>> [INFO] Deleting file set:
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>>>>> (included: [**], excluded: [])
>>>>>>>>> [INFO]
>>>>>>>>> [INFO] --- maven-resources-plugin:2.3:resources
>>>>>>>>> (default-resources) @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy
>>>>>>>>> filtered resources, i.e. build is platform dependent!
>>>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>>>>> [INFO]
>>>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>>>> [INFO] Compiling 6 source files to
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>>>>> [INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Reactor Summary:
>>>>>>>>> [INFO]
>>>>>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>>>>>> [7.467s]
>>>>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>>>>>> [0.045s]
>>>>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>>>>>> [11.166s]
>>>>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>>>>>> [5.588s]
>>>>>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>>>>>> [9.211s]
>>>>>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>>>>>> [3.380s]
>>>>>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>>>>>> [2.956s]
>>>>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>>>>>> [3.559s]
>>>>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>>>>>> [2.951s]
>>>>>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>>>>>> [2.978s]
>>>>>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>>>>>> [3.413s]
>>>>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>>>>>> [3.002s]
>>>>>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>>>>>> [3.089s]
>>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface
>>>>>>>>>  SUCCESS [3.819s]
>>>>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>>>>>> [5.304s]
>>>>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>>>>>> [2.724s]
>>>>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>>>>>> [3.189s]
>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub
>>>>>>>>>  SUCCESS [2.868s]
>>>>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub
>>>>>>>>>  SUCCESS [2.975s]
>>>>>>>>> [INFO] Apache Stratos - Repository Information Service Stub
>>>>>>>>>  SUCCESS [3.073s]
>>>>>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>>>>>> [3.012s]
>>>>>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>>>>>> [3.526s]
>>>>>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>>>>>> [3.390s]
>>>>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>>>>>> [3.270s]
>>>>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>>>>>> [3.009s]
>>>>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub
>>>>>>>>>  SUCCESS [3.763s]
>>>>>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>>>>>> [0.043s]
>>>>>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>>>>>> [6.196s]
>>>>>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>>>>>> [1.201s]
>>>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>>>>>> [6.661s]
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>>>>>> [10.957s]
>>>>>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>>>>>> [3.710s]
>>>>>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>>>>>> [9.872s]
>>>>>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>>>>>> [0.930s]
>>>>>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>>>>>> [8.445s]
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>>>>>> [1.421s]
>>>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>>>>>> [4.683s]
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>>>>>> [1.163s]
>>>>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>>>>> Interface  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI
>>>>>>>>> component  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server
>>>>>>>>> Feature  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core
>>>>>>>>> Feature  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>>>>>> Module  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>>>>  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features
>>>>>>>>> Parent  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>>>>> [INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>> [INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Total time: 2:43.887s
>>>>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>>>>> [INFO] Final Memory: 141M/481M
>>>>>>>>> [INFO]
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>>>> (default-compile) on project
>>>>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>>>>> Compilation failure:
>>>>>>>>> [ERROR]
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>>> [ERROR]
>>>>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>>>>> [ERROR]
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>>>>> error: generics are not supported in -source 1.3
>>>>>>>>> [ERROR]
>>>>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>>>>> [ERROR]
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>>>>> [ERROR]
>>>>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>>>>> [ERROR]
>>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>>> [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/MojoFailureException
>>>>>>>>> [ERROR]
>>>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>>> with the command
>>>>>>>>> [ERROR]   mvn <goals> -rf
>>>>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>>>>
>>>>>>>>> Thank you,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Best Regards,*
>>>>>>>>> *Shashika karunatilaka,*
>>>>>>>>> *Microsoft Student Ambassador,*
>>>>>>>>> *University of Colombo School of Computing,*
>>>>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>>>>> *IEEE UCSC Student Branch,*
>>>>>>>>> *D. S. Senanayeka College.*
>>>>>>>>> http://shashikabokks.wordpress.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>>> http://lnkd.in/cw5k69
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>> http://lnkd.in/cw5k69
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Best Regards,*
>>>> *Shashika karunatilaka,*
>>>> *Microsoft Student Ambassador,*
>>>>  *University of Colombo School of Computing,*
>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>> *IEEE UCSC Student Branch,*
>>>> *D. S. Senanayeka College.*
>>>> http://shashikabokks.wordpress.com
>>>>
>>>
>>>
>>>
>>> --
>>> *Best Regards,*
>>> *Shashika karunatilaka,*
>>> *Microsoft Student Ambassador,*
>>>  *University of Colombo School of Computing,*
>>> *Computer Science Society University of Colombo(CompSoc)*
>>> *IEEE UCSC Student Branch,*
>>> *D. S. Senanayeka College.*
>>> http://shashikabokks.wordpress.com
>>>
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
*Best Regards,*
*Shashika karunatilaka,*
*Microsoft Student Ambassador,*
*University of Colombo School of Computing,*
*Computer Science Society University of Colombo(CompSoc)*
*IEEE UCSC Student Branch,*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com

Re: Apache Stratos Build error

Posted by chris snow <ch...@gmail.com>.
I have just successfully built the latest commit using mvn 3.0.4 and
openjdk 1.7.0_25:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16:39.130s
[INFO] Finished at: Sun Dec 01 13:44:25 UTC 2013
[INFO] Final Memory: 331M/918M
[INFO]
------------------------------------------------------------------------

ubuntu@stratos-4:~/incubator-stratos$ git log -1
commit 96db3160a4d4ccbe42e0751d13fdd29a58ca675e
Merge: ad402b5 71e3b1b
Author: Nirmal Fernando <ni...@apache.org>
Date:   Sun Dec 1 16:28:18 2013 +0530

    Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-stratos

ubuntu@stratos-4:~/incubator-stratos$ mvn --version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
"unix"



On Sun, Dec 1, 2013 at 12:42 PM, chris snow <ch...@gmail.com> wrote:

> Hi Shashika,
>
> That's strange, I have been building fine with maven 3.0.4.
>
> Can you please run "git log -1 --oneline" and paste the output to the
> mailing list?
>
> Many thanks,
>
> Chris
>
>
> On Sun, Dec 1, 2013 at 12:12 PM, Shashika Karunatilaka <
> shashikabokks@gmail.com> wrote:
>
>> Hi Chris,
>> i'm running 13.10
>> yes, its just the maven upgrade, after the upgrade it works fine.
>>
>>
>> On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com> wrote:
>>
>>> Hi Shashika, what version of ubuntu are you running?  did you also apply
>>> the patch for stratos-232 or was it just the maven upgrade that fixed the
>>> issue?
>>>  yes i installed maven using apt-get so previously my maven version was
>>> 3.0.4, i downloaded the 3.0.5 and set the paths,
>>>  now it build successfully
>>> thanks in advance for the help
>>>
>>>
>>> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:
>>>
>>>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
>>>> apt-get
>>>>
>>>> sudo apt-get -y install maven openjdk-7-jdk
>>>>
>>>> after applying the fix for STRATOS-232 these versions of maven and
>>>> openjdk build and run stratos 4.0.0 without problem.
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>>>>
>>>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>>>
>>>>>
>>>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>>
>>>>>> I guess you installed maven using apt-get. Try installing manually
>>>>>> and try again. Manually in the sense download the maven and set the paths.
>>>>>>
>>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>>>
>>>>>>> Hi Shashika,
>>>>>>>
>>>>>>> Thanks for reporting this. The error says "annotations are not
>>>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>>>> the Java or Maven version you are using.
>>>>>>>
>>>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>>>>> Apache Maven 3.0.5 or above.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Imesh
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>>>> shashikabokks@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>>>>> install using "mvn clean install", i have copied them below
>>>>>>>>
>>>>>>>> INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>>>> 4.0.0-SNAPSHOT
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO]
>>>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>>> [INFO] Deleting file set:
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>>>> (included: [**], excluded: [])
>>>>>>>> [INFO]
>>>>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources)
>>>>>>>> @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>>>>> resources, i.e. build is platform dependent!
>>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>>>> [INFO]
>>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>>> [INFO] Compiling 6 source files to
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Reactor Summary:
>>>>>>>> [INFO]
>>>>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>>>>> [7.467s]
>>>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>>>>> [0.045s]
>>>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>>>>> [11.166s]
>>>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>>>>> [5.588s]
>>>>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>>>>> [9.211s]
>>>>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>>>>> [3.380s]
>>>>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>>>>> [2.956s]
>>>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>>>>> [3.559s]
>>>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>>>>> [2.951s]
>>>>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>>>>> [2.978s]
>>>>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>>>>> [3.413s]
>>>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>>>>> [3.002s]
>>>>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>>>>> [3.089s]
>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>>>>> [3.819s]
>>>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>>>>> [5.304s]
>>>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>>>>> [2.724s]
>>>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>>>>> [3.189s]
>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub
>>>>>>>>  SUCCESS [2.868s]
>>>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub
>>>>>>>>  SUCCESS [2.975s]
>>>>>>>> [INFO] Apache Stratos - Repository Information Service Stub
>>>>>>>>  SUCCESS [3.073s]
>>>>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>>>>> [3.012s]
>>>>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>>>>> [3.526s]
>>>>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>>>>> [3.390s]
>>>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>>>>> [3.270s]
>>>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>>>>> [3.009s]
>>>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub
>>>>>>>>  SUCCESS [3.763s]
>>>>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>>>>> [0.043s]
>>>>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>>>>> [6.196s]
>>>>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>>>>> [1.201s]
>>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>>>>> [6.661s]
>>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>>>>> [10.957s]
>>>>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>>>>> [3.710s]
>>>>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>>>>> [9.872s]
>>>>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>>>>> [0.930s]
>>>>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>>>>> [8.445s]
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>>>>> [1.421s]
>>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>>>>> [4.683s]
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>>>>> [1.163s]
>>>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>>>> Interface  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server
>>>>>>>> Feature  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>>>>> Module  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>>>>  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 2:43.887s
>>>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>>>> [INFO] Final Memory: 141M/481M
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>>> (default-compile) on project
>>>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>>>> Compilation failure:
>>>>>>>> [ERROR]
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>>>> [ERROR]
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>>>> error: generics are not supported in -source 1.3
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>>>> [ERROR]
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>>>> [ERROR]
>>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>>> [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/MojoFailureException
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>> with the command
>>>>>>>> [ERROR]   mvn <goals> -rf
>>>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Best Regards,*
>>>>>>>> *Shashika karunatilaka,*
>>>>>>>> *Microsoft Student Ambassador,*
>>>>>>>> *University of Colombo School of Computing,*
>>>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>>>> *IEEE UCSC Student Branch,*
>>>>>>>> *D. S. Senanayeka College.*
>>>>>>>> http://shashikabokks.wordpress.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>> http://lnkd.in/cw5k69
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Check out my professional profile and connect with me on LinkedIn.
>>>> http://lnkd.in/cw5k69
>>>>
>>>
>>>
>>>
>>> --
>>> *Best Regards,*
>>> *Shashika karunatilaka,*
>>> *Microsoft Student Ambassador,*
>>>  *University of Colombo School of Computing,*
>>> *Computer Science Society University of Colombo(CompSoc)*
>>> *IEEE UCSC Student Branch,*
>>> *D. S. Senanayeka College.*
>>> http://shashikabokks.wordpress.com
>>>
>>
>>
>>
>> --
>> *Best Regards,*
>> *Shashika karunatilaka,*
>> *Microsoft Student Ambassador,*
>>  *University of Colombo School of Computing,*
>> *Computer Science Society University of Colombo(CompSoc)*
>> *IEEE UCSC Student Branch,*
>> *D. S. Senanayeka College.*
>> http://shashikabokks.wordpress.com
>>
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Apache Stratos Build error

Posted by chris snow <ch...@gmail.com>.
Hi Shashika,

That's strange, I have been building fine with maven 3.0.4.

Can you please run "git log -1 --oneline" and paste the output to the
mailing list?

Many thanks,

Chris


On Sun, Dec 1, 2013 at 12:12 PM, Shashika Karunatilaka <
shashikabokks@gmail.com> wrote:

> Hi Chris,
> i'm running 13.10
> yes, its just the maven upgrade, after the upgrade it works fine.
>
>
> On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com> wrote:
>
>> Hi Shashika, what version of ubuntu are you running?  did you also apply
>> the patch for stratos-232 or was it just the maven upgrade that fixed the
>> issue?
>>  yes i installed maven using apt-get so previously my maven version was
>> 3.0.4, i downloaded the 3.0.5 and set the paths,
>>  now it build successfully
>> thanks in advance for the help
>>
>>
>> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:
>>
>>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
>>> apt-get
>>>
>>> sudo apt-get -y install maven openjdk-7-jdk
>>>
>>> after applying the fix for STRATOS-232 these versions of maven and
>>> openjdk build and run stratos 4.0.0 without problem.
>>>
>>>
>>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>>>
>>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>
>>>>> I guess you installed maven using apt-get. Try installing manually and
>>>>> try again. Manually in the sense download the maven and set the paths.
>>>>>
>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>>
>>>>>> Hi Shashika,
>>>>>>
>>>>>> Thanks for reporting this. The error says "annotations are not
>>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>>> the Java or Maven version you are using.
>>>>>>
>>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>>>> Apache Maven 3.0.5 or above.
>>>>>>
>>>>>> Thanks
>>>>>> Imesh
>>>>>>
>>>>>>
>>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>>> shashikabokks@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>>>> install using "mvn clean install", i have copied them below
>>>>>>>
>>>>>>> INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>>> 4.0.0-SNAPSHOT
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [INFO] Deleting file set:
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>>> (included: [**], excluded: [])
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources)
>>>>>>> @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>>>> resources, i.e. build is platform dependent!
>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [INFO] Compiling 6 source files to
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Reactor Summary:
>>>>>>> [INFO]
>>>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>>>> [7.467s]
>>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>>>> [0.045s]
>>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>>>> [11.166s]
>>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>>>> [5.588s]
>>>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>>>> [9.211s]
>>>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>>>> [3.380s]
>>>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>>>> [2.956s]
>>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>>>> [3.559s]
>>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>>>> [2.951s]
>>>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>>>> [2.978s]
>>>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>>>> [3.413s]
>>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>>>> [3.002s]
>>>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>>>> [3.089s]
>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>>>> [3.819s]
>>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>>>> [5.304s]
>>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>>>> [2.724s]
>>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>>>> [3.189s]
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>>>>> [2.868s]
>>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub
>>>>>>>  SUCCESS [2.975s]
>>>>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>>>>> [3.073s]
>>>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>>>> [3.012s]
>>>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>>>> [3.526s]
>>>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>>>> [3.390s]
>>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>>>> [3.270s]
>>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>>>> [3.009s]
>>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>>>>> [3.763s]
>>>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>>>> [0.043s]
>>>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>>>> [6.196s]
>>>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>>>> [1.201s]
>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>>>> [6.661s]
>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>>>> [10.957s]
>>>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>>>> [3.710s]
>>>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>>>> [9.872s]
>>>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>>>> [0.930s]
>>>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>>>> [8.445s]
>>>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>>>> [1.421s]
>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>>>> [4.683s]
>>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>>>> [1.163s]
>>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>>> Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server
>>>>>>> Feature  SKIPPED
>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>>>> Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 2:43.887s
>>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>>> [INFO] Final Memory: 141M/481M
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>> (default-compile) on project
>>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>>> Compilation failure:
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>>> error: generics are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>> [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/MojoFailureException
>>>>>>> [ERROR]
>>>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>>>> the command
>>>>>>> [ERROR]   mvn <goals> -rf
>>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Best Regards,*
>>>>>>> *Shashika karunatilaka,*
>>>>>>> *Microsoft Student Ambassador,*
>>>>>>> *University of Colombo School of Computing,*
>>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>>> *IEEE UCSC Student Branch,*
>>>>>>> *D. S. Senanayeka College.*
>>>>>>> http://shashikabokks.wordpress.com
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>> Check out my professional profile and connect with me on LinkedIn.
>>>> http://lnkd.in/cw5k69
>>>>
>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>>
>>
>>
>>
>> --
>> *Best Regards,*
>> *Shashika karunatilaka,*
>> *Microsoft Student Ambassador,*
>>  *University of Colombo School of Computing,*
>> *Computer Science Society University of Colombo(CompSoc)*
>> *IEEE UCSC Student Branch,*
>> *D. S. Senanayeka College.*
>> http://shashikabokks.wordpress.com
>>
>
>
>
> --
> *Best Regards,*
> *Shashika karunatilaka,*
> *Microsoft Student Ambassador,*
>  *University of Colombo School of Computing,*
> *Computer Science Society University of Colombo(CompSoc)*
> *IEEE UCSC Student Branch,*
> *D. S. Senanayeka College.*
> http://shashikabokks.wordpress.com
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Apache Stratos Build error

Posted by Nirmal Fernando <ni...@gmail.com>.
On Sun, Dec 1, 2013 at 5:42 PM, Shashika Karunatilaka <
shashikabokks@gmail.com> wrote:

> Hi Chris,
> i'm running 13.10
> yes, its just the maven upgrade, after the upgrade it works fine.
>
hmm.. strange.. Would you be able to help us on finding the issue here? :)
Since you can reproduce the issue.


>
>
> On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com> wrote:
>
>> Hi Shashika, what version of ubuntu are you running?  did you also apply
>> the patch for stratos-232 or was it just the maven upgrade that fixed the
>> issue?
>>  yes i installed maven using apt-get so previously my maven version was
>> 3.0.4, i downloaded the 3.0.5 and set the paths,
>>  now it build successfully
>> thanks in advance for the help
>>
>>
>> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:
>>
>>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
>>> apt-get
>>>
>>> sudo apt-get -y install maven openjdk-7-jdk
>>>
>>> after applying the fix for STRATOS-232 these versions of maven and
>>> openjdk build and run stratos 4.0.0 without problem.
>>>
>>>
>>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>>>
>>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>
>>>>> I guess you installed maven using apt-get. Try installing manually and
>>>>> try again. Manually in the sense download the maven and set the paths.
>>>>>
>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>>
>>>>>> Hi Shashika,
>>>>>>
>>>>>> Thanks for reporting this. The error says "annotations are not
>>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>>> the Java or Maven version you are using.
>>>>>>
>>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>>>> Apache Maven 3.0.5 or above.
>>>>>>
>>>>>> Thanks
>>>>>> Imesh
>>>>>>
>>>>>>
>>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>>> shashikabokks@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>>>> install using "mvn clean install", i have copied them below
>>>>>>>
>>>>>>> INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>>> 4.0.0-SNAPSHOT
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [INFO] Deleting file set:
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>>> (included: [**], excluded: [])
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources)
>>>>>>> @ org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>>>> resources, i.e. build is platform dependent!
>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>>> [INFO] Compiling 6 source files to
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Reactor Summary:
>>>>>>> [INFO]
>>>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>>>> [7.467s]
>>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>>>> [0.045s]
>>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>>>> [11.166s]
>>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>>>> [5.588s]
>>>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>>>> [9.211s]
>>>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>>>> [3.380s]
>>>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>>>> [2.956s]
>>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>>>> [3.559s]
>>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>>>> [2.951s]
>>>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>>>> [2.978s]
>>>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>>>> [3.413s]
>>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>>>> [3.002s]
>>>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>>>> [3.089s]
>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>>>> [3.819s]
>>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>>>> [5.304s]
>>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>>>> [2.724s]
>>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>>>> [3.189s]
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>>>>> [2.868s]
>>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub
>>>>>>>  SUCCESS [2.975s]
>>>>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>>>>> [3.073s]
>>>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>>>> [3.012s]
>>>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>>>> [3.526s]
>>>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>>>> [3.390s]
>>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>>>> [3.270s]
>>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>>>> [3.009s]
>>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>>>>> [3.763s]
>>>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>>>> [0.043s]
>>>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>>>> [6.196s]
>>>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>>>> [1.201s]
>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>>>> [6.661s]
>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>>>> [10.957s]
>>>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>>>> [3.710s]
>>>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>>>> [9.872s]
>>>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>>>> [0.930s]
>>>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>>>> [8.445s]
>>>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>>>> [1.421s]
>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>>>> [4.683s]
>>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>>>> [1.163s]
>>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>>> Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server
>>>>>>> Feature  SKIPPED
>>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>>>> Module  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>>>  SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 2:43.887s
>>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>>> [INFO] Final Memory: 141M/481M
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>> (default-compile) on project
>>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>>> Compilation failure:
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>>> error: generics are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>>> [ERROR]
>>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>>> [ERROR]
>>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>>> error: annotations are not supported in -source 1.3
>>>>>>> [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/MojoFailureException
>>>>>>> [ERROR]
>>>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>>>> the command
>>>>>>> [ERROR]   mvn <goals> -rf
>>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Best Regards,*
>>>>>>> *Shashika karunatilaka,*
>>>>>>> *Microsoft Student Ambassador,*
>>>>>>> *University of Colombo School of Computing,*
>>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>>> *IEEE UCSC Student Branch,*
>>>>>>> *D. S. Senanayeka College.*
>>>>>>> http://shashikabokks.wordpress.com
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>> Check out my professional profile and connect with me on LinkedIn.
>>>> http://lnkd.in/cw5k69
>>>>
>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>>
>>
>>
>>
>> --
>> *Best Regards,*
>> *Shashika karunatilaka,*
>> *Microsoft Student Ambassador,*
>>  *University of Colombo School of Computing,*
>> *Computer Science Society University of Colombo(CompSoc)*
>> *IEEE UCSC Student Branch,*
>> *D. S. Senanayeka College.*
>> http://shashikabokks.wordpress.com
>>
>
>
>
> --
> *Best Regards,*
> *Shashika karunatilaka,*
> *Microsoft Student Ambassador,*
>  *University of Colombo School of Computing,*
> *Computer Science Society University of Colombo(CompSoc)*
> *IEEE UCSC Student Branch,*
> *D. S. Senanayeka College.*
> http://shashikabokks.wordpress.com
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Apache Stratos Build error

Posted by Shashika Karunatilaka <sh...@gmail.com>.
Hi Chris,
i'm running 13.10
yes, its just the maven upgrade, after the upgrade it works fine.


On Sun, Dec 1, 2013 at 10:48 AM, chris snow <ch...@gmail.com> wrote:

> Hi Shashika, what version of ubuntu are you running?  did you also apply
> the patch for stratos-232 or was it just the maven upgrade that fixed the
> issue?
> yes i installed maven using apt-get so previously my maven version was
> 3.0.4, i downloaded the 3.0.5 and set the paths,
>  now it build successfully
> thanks in advance for the help
>
>
> On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:
>
>> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
>> apt-get
>>
>> sudo apt-get -y install maven openjdk-7-jdk
>>
>> after applying the fix for STRATOS-232 these versions of maven and
>> openjdk build and run stratos 4.0.0 without problem.
>>
>>
>> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>>
>>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>>
>>>
>>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> I guess you installed maven using apt-get. Try installing manually and
>>>> try again. Manually in the sense download the maven and set the paths.
>>>>
>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>>
>>>>> Hi Shashika,
>>>>>
>>>>> Thanks for reporting this. The error says "annotations are not
>>>>> supported in -source 1.3" which means that there might be a problem with
>>>>> the Java or Maven version you are using.
>>>>>
>>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>>> Apache Maven 3.0.5 or above.
>>>>>
>>>>> Thanks
>>>>> Imesh
>>>>>
>>>>>
>>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>>> shashikabokks@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>>> install using "mvn clean install", i have copied them below
>>>>>>
>>>>>> INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>>> 4.0.0-SNAPSHOT
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO]
>>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>> [INFO] Deleting file set:
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>>> (included: [**], excluded: [])
>>>>>> [INFO]
>>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>>> resources, i.e. build is platform dependent!
>>>>>> [INFO] skip non existing resourceDirectory
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>>> [INFO]
>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>>> [INFO] Compiling 6 source files to
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>>> [7.467s]
>>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>>> [0.045s]
>>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>>> [11.166s]
>>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>>> [5.588s]
>>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>>> [9.211s]
>>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>>> [3.380s]
>>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>>> [2.956s]
>>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>>> [3.559s]
>>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>>> [2.951s]
>>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>>> [2.978s]
>>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>>> [3.413s]
>>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>>> [3.002s]
>>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>>> [3.089s]
>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>>> [3.819s]
>>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>>> [5.304s]
>>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>>> [2.724s]
>>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>>> [3.189s]
>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>>>> [2.868s]
>>>>>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>>>>>> [2.975s]
>>>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>>>> [3.073s]
>>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>>> [3.012s]
>>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>>> [3.526s]
>>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>>> [3.390s]
>>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>>> [3.270s]
>>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>>> [3.009s]
>>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>>>> [3.763s]
>>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>>> [0.043s]
>>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>>> [6.196s]
>>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>>> [1.201s]
>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>>> [6.661s]
>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>>> [10.957s]
>>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>>> [3.710s]
>>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>>> [9.872s]
>>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>>> [0.930s]
>>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>>> [8.445s]
>>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>>> [1.421s]
>>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>>> [4.683s]
>>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>>> [1.163s]
>>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>>> Interface  SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>>> Module  SKIPPED
>>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>>  SKIPPED
>>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 2:43.887s
>>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>>> [INFO] Final Memory: 141M/481M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>> (default-compile) on project
>>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>>> Compilation failure:
>>>>>> [ERROR]
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>>> error: annotations are not supported in -source 1.3
>>>>>> [ERROR]
>>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>>> [ERROR]
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>>> error: generics are not supported in -source 1.3
>>>>>> [ERROR]
>>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>>> [ERROR]
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>>> error: for-each loops are not supported in -source 1.3
>>>>>> [ERROR]
>>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>>> [ERROR]
>>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>>> error: annotations are not supported in -source 1.3
>>>>>> [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/MojoFailureException
>>>>>> [ERROR]
>>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>>> the command
>>>>>> [ERROR]   mvn <goals> -rf
>>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Best Regards,*
>>>>>> *Shashika karunatilaka,*
>>>>>> *Microsoft Student Ambassador,*
>>>>>> *University of Colombo School of Computing,*
>>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>>> *IEEE UCSC Student Branch,*
>>>>>> *D. S. Senanayeka College.*
>>>>>> http://shashikabokks.wordpress.com
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>>
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> *Best Regards,*
> *Shashika karunatilaka,*
> *Microsoft Student Ambassador,*
>  *University of Colombo School of Computing,*
> *Computer Science Society University of Colombo(CompSoc)*
> *IEEE UCSC Student Branch,*
> *D. S. Senanayeka College.*
> http://shashikabokks.wordpress.com
>



-- 
*Best Regards,*
*Shashika karunatilaka,*
*Microsoft Student Ambassador,*
*University of Colombo School of Computing,*
*Computer Science Society University of Colombo(CompSoc)*
*IEEE UCSC Student Branch,*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com

Re: Apache Stratos Build error

Posted by chris snow <ch...@gmail.com>.
Hi Shashika, what version of ubuntu are you running?  did you also apply
the patch for stratos-232 or was it just the maven upgrade that fixed the
issue?
yes i installed maven using apt-get so previously my maven version was
3.0.4, i downloaded the 3.0.5 and set the paths,
now it build successfully
thanks in advance for the help


On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:

> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
> apt-get
>
> sudo apt-get -y install maven openjdk-7-jdk
>
> after applying the fix for STRATOS-232 these versions of maven and openjdk
> build and run stratos 4.0.0 without problem.
>
>
> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>
>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>
>>
>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> I guess you installed maven using apt-get. Try installing manually and
>>> try again. Manually in the sense download the maven and set the paths.
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>
>>>> Hi Shashika,
>>>>
>>>> Thanks for reporting this. The error says "annotations are not
>>>> supported in -source 1.3" which means that there might be a problem with
>>>> the Java or Maven version you are using.
>>>>
>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>> Apache Maven 3.0.5 or above.
>>>>
>>>> Thanks
>>>> Imesh
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>> shashikabokks@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>> install using "mvn clean install", i have copied them below
>>>>>
>>>>> INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>> 4.0.0-SNAPSHOT
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO]
>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [INFO] Deleting file set:
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>> (included: [**], excluded: [])
>>>>> [INFO]
>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>> resources, i.e. build is platform dependent!
>>>>> [INFO] skip non existing resourceDirectory
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [INFO] Compiling 6 source files to
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>> [7.467s]
>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>> [0.045s]
>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>> [11.166s]
>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>> [5.588s]
>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>> [9.211s]
>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>> [3.380s]
>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>> [2.956s]
>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>> [3.559s]
>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>> [2.951s]
>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>> [2.978s]
>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>> [3.413s]
>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>> [3.002s]
>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>> [3.089s]
>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>> [3.819s]
>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>> [5.304s]
>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>> [2.724s]
>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>> [3.189s]
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>>> [2.868s]
>>>>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>>>>> [2.975s]
>>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>>> [3.073s]
>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>> [3.012s]
>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>> [3.526s]
>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>> [3.390s]
>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>> [3.270s]
>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>> [3.009s]
>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>>> [3.763s]
>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>> [0.043s]
>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>> [6.196s]
>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>> [1.201s]
>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>> [6.661s]
>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>> [10.957s]
>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>> [3.710s]
>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>> [9.872s]
>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>> [0.930s]
>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>> [8.445s]
>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>> [1.421s]
>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>> [4.683s]
>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>> [1.163s]
>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>> Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>> Module  SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2:43.887s
>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>> [INFO] Final Memory: 141M/481M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>> (default-compile) on project
>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>> Compilation failure:
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>> error: annotations are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>> error: generics are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>> error: for-each loops are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>> error: annotations are not supported in -source 1.3
>>>>> [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/MojoFailureException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>> the command
>>>>> [ERROR]   mvn <goals> -rf
>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>
>>>>> Thank you,
>>>>>
>>>>>
>>>>> --
>>>>> *Best Regards,*
>>>>> *Shashika karunatilaka,*
>>>>> *Microsoft Student Ambassador,*
>>>>> *University of Colombo School of Computing,*
>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>> *IEEE UCSC Student Branch,*
>>>>> *D. S. Senanayeka College.*
>>>>> http://shashikabokks.wordpress.com
>>>>>
>>>>
>>>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
*Best Regards,*
*Shashika karunatilaka,*
*Microsoft Student Ambassador,*
 *University of Colombo School of Computing,*
*Computer Science Society University of Colombo(CompSoc)*
*IEEE UCSC Student Branch,*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com

Re: Apache Stratos Build error

Posted by Shashika Karunatilaka <sh...@gmail.com>.
yes i installed maven using apt-get so previously my maven version was
3.0.4, i downloaded the 3.0.5 and set the paths,
now it build successfully
thanks in advance for the help


On Sun, Dec 1, 2013 at 7:31 AM, chris snow <ch...@gmail.com> wrote:

> btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
> apt-get
>
> sudo apt-get -y install maven openjdk-7-jdk
>
> after applying the fix for STRATOS-232 these versions of maven and openjdk
> build and run stratos 4.0.0 without problem.
>
>
> On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:
>
>> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>>
>>
>> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> I guess you installed maven using apt-get. Try installing manually and
>>> try again. Manually in the sense download the maven and set the paths.
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>>
>>>> Hi Shashika,
>>>>
>>>> Thanks for reporting this. The error says "annotations are not
>>>> supported in -source 1.3" which means that there might be a problem with
>>>> the Java or Maven version you are using.
>>>>
>>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>>> Apache Maven 3.0.5 or above.
>>>>
>>>> Thanks
>>>> Imesh
>>>>
>>>>
>>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>>> shashikabokks@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>>> install using "mvn clean install", i have copied them below
>>>>>
>>>>> INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>>> 4.0.0-SNAPSHOT
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO]
>>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [INFO] Deleting file set:
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>>> (included: [**], excluded: [])
>>>>> [INFO]
>>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>> resources, i.e. build is platform dependent!
>>>>> [INFO] skip non existing resourceDirectory
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>>> org.apache.stratos.load.balancer.extension.api ---
>>>>> [INFO] Compiling 6 source files to
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>>> [7.467s]
>>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>>> [0.045s]
>>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>>> [11.166s]
>>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>>> [5.588s]
>>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>>> [9.211s]
>>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>>> [3.380s]
>>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>>> [2.956s]
>>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>>> [3.559s]
>>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>>> [2.951s]
>>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>>> [2.978s]
>>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>>> [3.413s]
>>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>>> [3.002s]
>>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>>> [3.089s]
>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>>> [3.819s]
>>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>>> [5.304s]
>>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>>> [2.724s]
>>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>>> [3.189s]
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>>> [2.868s]
>>>>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>>>>> [2.975s]
>>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>>> [3.073s]
>>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>>> [3.012s]
>>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>>> [3.526s]
>>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>>> [3.390s]
>>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>>> [3.270s]
>>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>>> [3.009s]
>>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>>> [3.763s]
>>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>>> [0.043s]
>>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>>> [6.196s]
>>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>>> [1.201s]
>>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>>> [6.661s]
>>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>>> [10.957s]
>>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>>> [3.710s]
>>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>>> [9.872s]
>>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>>> [0.930s]
>>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>>> [8.445s]
>>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>>> [1.421s]
>>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>>> [4.683s]
>>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>>> [1.163s]
>>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>>> Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>>> Module  SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>>  SKIPPED
>>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2:43.887s
>>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>>> [INFO] Final Memory: 141M/481M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>> (default-compile) on project
>>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>>> Compilation failure:
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>>> error: annotations are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>>> error: generics are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>>> error: for-each loops are not supported in -source 1.3
>>>>> [ERROR]
>>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>>> [ERROR]
>>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>>> error: annotations are not supported in -source 1.3
>>>>> [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/MojoFailureException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>> the command
>>>>> [ERROR]   mvn <goals> -rf
>>>>> :org.apache.stratos.load.balancer.extension.api
>>>>>
>>>>> Thank you,
>>>>>
>>>>>
>>>>> --
>>>>> *Best Regards,*
>>>>> *Shashika karunatilaka,*
>>>>> *Microsoft Student Ambassador,*
>>>>> *University of Colombo School of Computing,*
>>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>>> *IEEE UCSC Student Branch,*
>>>>> *D. S. Senanayeka College.*
>>>>> http://shashikabokks.wordpress.com
>>>>>
>>>>
>>>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
*Best Regards,*
*Shashika karunatilaka,*
*Microsoft Student Ambassador,*
*University of Colombo School of Computing,*
*Computer Science Society University of Colombo(CompSoc)*
*IEEE UCSC Student Branch,*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com

Re: Apache Stratos Build error

Posted by chris snow <ch...@gmail.com>.
btw - I'm using ubuntu 13.10 and have installed maven and openjdk using
apt-get

sudo apt-get -y install maven openjdk-7-jdk

after applying the fix for STRATOS-232 these versions of maven and openjdk
build and run stratos 4.0.0 without problem.


On Sun, Dec 1, 2013 at 7:20 AM, chris snow <ch...@gmail.com> wrote:

> This is fixed with https://issues.apache.org/jira/browse/STRATOS-232
>
>
> On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> I guess you installed maven using apt-get. Try installing manually and
>> try again. Manually in the sense download the maven and set the paths.
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>>
>>> Hi Shashika,
>>>
>>> Thanks for reporting this. The error says "annotations are not
>>> supported in -source 1.3" which means that there might be a problem with
>>> the Java or Maven version you are using.
>>>
>>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>>> Apache Maven 3.0.5 or above.
>>>
>>> Thanks
>>> Imesh
>>>
>>>
>>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>>> shashikabokks@gmail.com> wrote:
>>>
>>>> Hi,
>>>> I tried to install stratos on ubuntu i'm getting some errors while
>>>> install using "mvn clean install", i have copied them below
>>>>
>>>> INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>>> 4.0.0-SNAPSHOT
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>>> org.apache.stratos.load.balancer.extension.api ---
>>>> [INFO] Deleting file set:
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>>> (included: [**], excluded: [])
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>>> org.apache.stratos.load.balancer.extension.api ---
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>>> org.apache.stratos.load.balancer.extension.api ---
>>>> [INFO] Compiling 6 source files to
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>>> [7.467s]
>>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>>> [0.045s]
>>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>>> [11.166s]
>>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>>> [5.588s]
>>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>>> [9.211s]
>>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>>> [3.380s]
>>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>>> [2.956s]
>>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>>> [3.559s]
>>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>>> [2.951s]
>>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>>> [2.978s]
>>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>>> [3.413s]
>>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>>> [3.002s]
>>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>>> [3.089s]
>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>>> [3.819s]
>>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>>> [5.304s]
>>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>>> [2.724s]
>>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>>> [3.189s]
>>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>>> [2.868s]
>>>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>>>> [2.975s]
>>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>>> [3.073s]
>>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>>> [3.012s]
>>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>>> [3.526s]
>>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>>> [3.390s]
>>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>>> [3.270s]
>>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>>> [3.009s]
>>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>>> [3.763s]
>>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>>> [0.043s]
>>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>>> [6.196s]
>>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>>> [1.201s]
>>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>>> [6.661s]
>>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>>> [10.957s]
>>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>>> [3.710s]
>>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>>> [9.872s]
>>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>>> [0.930s]
>>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>>> [8.445s]
>>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>>> [1.421s]
>>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>>> [4.683s]
>>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>>> [1.163s]
>>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>>> Interface  SKIPPED
>>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Management Email Sender Component
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>>> Module  SKIPPED
>>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management  SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>>  SKIPPED
>>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 2:43.887s
>>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>>> [INFO] Final Memory: 141M/481M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>> (default-compile) on project
>>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>>> Compilation failure:
>>>> [ERROR]
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>>> error: annotations are not supported in -source 1.3
>>>> [ERROR]
>>>> [ERROR] (use -source 5 or higher to enable annotations)
>>>> [ERROR]
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>>> error: generics are not supported in -source 1.3
>>>> [ERROR]
>>>> [ERROR] (use -source 5 or higher to enable generics)
>>>> [ERROR]
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>>> error: for-each loops are not supported in -source 1.3
>>>> [ERROR]
>>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>>> [ERROR]
>>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>>> error: annotations are not supported in -source 1.3
>>>> [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/MojoFailureException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>> [ERROR]   mvn <goals> -rf
>>>> :org.apache.stratos.load.balancer.extension.api
>>>>
>>>> Thank you,
>>>>
>>>>
>>>> --
>>>> *Best Regards,*
>>>> *Shashika karunatilaka,*
>>>> *Microsoft Student Ambassador,*
>>>> *University of Colombo School of Computing,*
>>>> *Computer Science Society University of Colombo(CompSoc)*
>>>> *IEEE UCSC Student Branch,*
>>>> *D. S. Senanayeka College.*
>>>> http://shashikabokks.wordpress.com
>>>>
>>>
>>>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Apache Stratos Build error

Posted by chris snow <ch...@gmail.com>.
This is fixed with https://issues.apache.org/jira/browse/STRATOS-232


On Sun, Dec 1, 2013 at 6:39 AM, Udara Liyanage <ud...@wso2.com> wrote:

> I guess you installed maven using apt-get. Try installing manually and try
> again. Manually in the sense download the maven and set the paths.
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:
>
>> Hi Shashika,
>>
>> Thanks for reporting this. The error says "annotations are not supported
>> in -source 1.3" which means that there might be a problem with the Java or
>> Maven version you are using.
>>
>> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and
>> Apache Maven 3.0.5 or above.
>>
>> Thanks
>> Imesh
>>
>>
>> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
>> shashikabokks@gmail.com> wrote:
>>
>>> Hi,
>>> I tried to install stratos on ubuntu i'm getting some errors while
>>> install using "mvn clean install", i have copied them below
>>>
>>> INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>>> 4.0.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>>> org.apache.stratos.load.balancer.extension.api ---
>>> [INFO] Deleting file set:
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>>> (included: [**], excluded: [])
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>>> org.apache.stratos.load.balancer.extension.api ---
>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>> resources, i.e. build is platform dependent!
>>> [INFO] skip non existing resourceDirectory
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>>> org.apache.stratos.load.balancer.extension.api ---
>>> [INFO] Compiling 6 source files to
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>>> [7.467s]
>>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>>> [0.045s]
>>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>>> [11.166s]
>>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>>> [5.588s]
>>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>>> [9.211s]
>>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>>> [3.380s]
>>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>>> [2.956s]
>>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>>> [3.559s]
>>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>>> [2.951s]
>>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>>> [2.978s]
>>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>>> [3.413s]
>>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>>> [3.002s]
>>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>>> [3.089s]
>>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>>> [3.819s]
>>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>>> [5.304s]
>>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>>> [2.724s]
>>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>>> [3.189s]
>>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>>> [2.868s]
>>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>>> [2.975s]
>>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>>> [3.073s]
>>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>>> [3.012s]
>>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>>> [3.526s]
>>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>>> [3.390s]
>>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>>> [3.270s]
>>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>>> [3.009s]
>>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>>> [3.763s]
>>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>>> [0.043s]
>>> [INFO] Apache Stratos - Common ........................... SUCCESS
>>> [6.196s]
>>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>>> [1.201s]
>>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>>> [6.661s]
>>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>>> [10.957s]
>>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>>> [3.710s]
>>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>>> [9.872s]
>>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>>> [0.930s]
>>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>>> [8.445s]
>>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>>> [1.421s]
>>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>>> [4.683s]
>>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>>> [1.163s]
>>> [INFO] Apache Stratos - Self Registration For New Tenant - User
>>> Interface  SKIPPED
>>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations
>>>  SKIPPED
>>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>>> [INFO] Apache Stratos - Tenant Management Email Sender Component  SKIPPED
>>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>>  SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module
>>>  SKIPPED
>>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module  SKIPPED
>>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>>  SKIPPED
>>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>>  SKIPPED
>>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>>  SKIPPED
>>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module
>>>  SKIPPED
>>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator
>>> Module  SKIPPED
>>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>>> [INFO] Apache Stratos - Products ......................... SKIPPED
>>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation  SKIPPED
>>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management  SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>>  SKIPPED
>>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2:43.887s
>>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>>> [INFO] Final Memory: 141M/481M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>> (default-compile) on project
>>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>>> Compilation failure:
>>> [ERROR]
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>>> error: annotations are not supported in -source 1.3
>>> [ERROR]
>>> [ERROR] (use -source 5 or higher to enable annotations)
>>> [ERROR]
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>>> error: generics are not supported in -source 1.3
>>> [ERROR]
>>> [ERROR] (use -source 5 or higher to enable generics)
>>> [ERROR]
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>>> error: for-each loops are not supported in -source 1.3
>>> [ERROR]
>>> [ERROR] (use -source 5 or higher to enable for-each loops)
>>> [ERROR]
>>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>>> error: annotations are not supported in -source 1.3
>>> [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/MojoFailureException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :org.apache.stratos.load.balancer.extension.api
>>>
>>> Thank you,
>>>
>>>
>>> --
>>> *Best Regards,*
>>> *Shashika karunatilaka,*
>>> *Microsoft Student Ambassador,*
>>> *University of Colombo School of Computing,*
>>> *Computer Science Society University of Colombo(CompSoc)*
>>> *IEEE UCSC Student Branch,*
>>> *D. S. Senanayeka College.*
>>> http://shashikabokks.wordpress.com
>>>
>>
>>


-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Apache Stratos Build error

Posted by Udara Liyanage <ud...@wso2.com>.
I guess you installed maven using apt-get. Try installing manually and try
again. Manually in the sense download the maven and set the paths.

Touched, not typed. Erroneous words are a feature, not a typo.
On Dec 1, 2013 8:40 AM, "Imesh Gunaratne" <im...@apache.org> wrote:

> Hi Shashika,
>
> Thanks for reporting this. The error says "annotations are not supported
> in -source 1.3" which means that there might be a problem with the Java or
> Maven version you are using.
>
> To build Apache Stratos (incubating) we need to have JDK 1.6.XX and Apache
> Maven 3.0.5 or above.
>
> Thanks
> Imesh
>
>
> On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
> shashikabokks@gmail.com> wrote:
>
>> Hi,
>> I tried to install stratos on ubuntu i'm getting some errors while
>> install using "mvn clean install", i have copied them below
>>
>> INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Stratos - Load Balancer - Extension API
>> 4.0.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
>> org.apache.stratos.load.balancer.extension.api ---
>> [INFO] Deleting file set:
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
>> (included: [**], excluded: [])
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
>> org.apache.stratos.load.balancer.extension.api ---
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>> org.apache.stratos.load.balancer.extension.api ---
>> [INFO] Compiling 6 source files to
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Stratos (incubating) Project ............... SUCCESS
>> [7.467s]
>> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS
>> [0.045s]
>> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
>> [11.166s]
>> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS
>> [5.588s]
>> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS
>> [9.211s]
>> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS
>> [3.380s]
>> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS
>> [2.956s]
>> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS
>> [3.559s]
>> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS
>> [2.951s]
>> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS
>> [2.978s]
>> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS
>> [3.413s]
>> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS
>> [3.002s]
>> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS
>> [3.089s]
>> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
>> [3.819s]
>> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS
>> [5.304s]
>> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS
>> [2.724s]
>> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS
>> [3.189s]
>> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
>> [2.868s]
>> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
>> [2.975s]
>> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
>> [3.073s]
>> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS
>> [3.012s]
>> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS
>> [3.526s]
>> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS
>> [3.390s]
>> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS
>> [3.270s]
>> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS
>> [3.009s]
>> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
>> [3.763s]
>> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS
>> [0.043s]
>> [INFO] Apache Stratos - Common ........................... SUCCESS
>> [6.196s]
>> [INFO] Apache Stratos - Messaging Component .............. SUCCESS
>> [1.201s]
>> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS
>> [6.661s]
>> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
>> [10.957s]
>> [INFO] Apache Stratos - Topology Management .............. SUCCESS
>> [3.710s]
>> [INFO] Apache Stratos - ADC BE ........................... SUCCESS
>> [9.872s]
>> [INFO] Apache Stratos - Deployment ....................... SUCCESS
>> [0.930s]
>> [INFO] Apache Stratos - CLI .............................. SUCCESS
>> [8.445s]
>> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS
>> [1.421s]
>> [INFO] Apache Stratos - Load Balancer .................... SUCCESS
>> [4.683s]
>> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE
>> [1.163s]
>> [INFO] Apache Stratos - Self Registration For New Tenant - User Interface
>>  SKIPPED
>> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
>> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
>> [INFO] Apache Stratos - User Interface for Tenant CRUD operations  SKIPPED
>> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
>> [INFO] Apache Stratos - Tenant Management Email Sender Component  SKIPPED
>> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
>> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
>> [INFO] Apache Stratos - Account Management ............... SKIPPED
>> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
>> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
>> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
>> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
>> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
>> [INFO] Apache Stratos - Usage ............................ SKIPPED
>> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
>> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
>> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
>> [INFO] Apache Stratos - Activation ....................... SKIPPED
>> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
>> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>>  SKIPPED
>> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
>> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
>> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
>> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
>> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
>> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
>> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
>> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
>> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
>> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
>> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
>> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
>> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
>> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
>> [INFO] Apache Stratos - Extensions ....................... SKIPPED
>> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
>> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
>> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
>> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
>> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
>> [INFO] Apache Stratos - ADC Management Feature Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
>> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
>> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
>> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module
>>  SKIPPED
>> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
>> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
>> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
>> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
>> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
>> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>>  SKIPPED
>> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>>  SKIPPED
>> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
>> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
>> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
>> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
>> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
>> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
>> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
>> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
>> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
>> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
>> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
>> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
>> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
>> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
>> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
>> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
>> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
>> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module  SKIPPED
>> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
>> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
>> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator Module
>>  SKIPPED
>> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
>> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
>> [INFO] Apache Stratos - Products ......................... SKIPPED
>> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
>> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
>> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
>> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
>> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation  SKIPPED
>> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
>> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
>> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
>> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
>> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
>> [INFO] Apache Stratos - CLI .............................. SKIPPED
>> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
>> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
>> [INFO] Apache Stratos - Cloud Manager Cloud Services Management  SKIPPED
>> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
>> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
>> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>>  SKIPPED
>> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
>> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
>> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
>> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
>> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
>> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
>> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
>> [INFO] Apache Stratos - Distribution ..................... SKIPPED
>> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
>> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
>> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
>> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
>> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
>> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2:43.887s
>> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
>> [INFO] Final Memory: 141M/481M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>> (default-compile) on project
>> org.apache.stratos.load.balancer.extension.api: Compilation failure:
>> Compilation failure:
>> [ERROR]
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
>> error: annotations are not supported in -source 1.3
>> [ERROR]
>> [ERROR] (use -source 5 or higher to enable annotations)
>> [ERROR]
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
>> error: generics are not supported in -source 1.3
>> [ERROR]
>> [ERROR] (use -source 5 or higher to enable generics)
>> [ERROR]
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
>> error: for-each loops are not supported in -source 1.3
>> [ERROR]
>> [ERROR] (use -source 5 or higher to enable for-each loops)
>> [ERROR]
>> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
>> error: annotations are not supported in -source 1.3
>> [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/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :org.apache.stratos.load.balancer.extension.api
>>
>> Thank you,
>>
>>
>> --
>> *Best Regards,*
>> *Shashika karunatilaka,*
>> *Microsoft Student Ambassador,*
>> *University of Colombo School of Computing,*
>> *Computer Science Society University of Colombo(CompSoc)*
>> *IEEE UCSC Student Branch,*
>> *D. S. Senanayeka College.*
>> http://shashikabokks.wordpress.com
>>
>
>

Re: Apache Stratos Build error

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Shashika,

Thanks for reporting this. The error says "annotations are not supported in
-source 1.3" which means that there might be a problem with the Java or
Maven version you are using.

To build Apache Stratos (incubating) we need to have JDK 1.6.XX and Apache
Maven 3.0.5 or above.

Thanks
Imesh


On Sun, Dec 1, 2013 at 8:21 AM, Shashika Karunatilaka <
shashikabokks@gmail.com> wrote:

> Hi,
> I tried to install stratos on ubuntu i'm getting some errors while install
> using "mvn clean install", i have copied them below
>
> INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Stratos - Load Balancer - Extension API
> 4.0.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
> org.apache.stratos.load.balancer.extension.api ---
> [INFO] Deleting file set:
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target
> (included: [**], excluded: [])
> [INFO]
> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
> org.apache.stratos.load.balancer.extension.api ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
> org.apache.stratos.load.balancer.extension.api ---
> [INFO] Compiling 6 source files to
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Stratos (incubating) Project ............... SUCCESS [7.467s]
> [INFO] Apache Stratos - Service Stubs - Aggregator Module  SUCCESS [0.045s]
> [INFO] Apache Stratos - Cartridge Autoscaler Service Stub  SUCCESS
> [11.166s]
> [INFO] Apache Stratos - Cartridge app Management Stub .... SUCCESS [5.588s]
> [INFO] Apache Stratos - Account Management Stub .......... SUCCESS [9.211s]
> [INFO] Apache Stratos - Tenant Management Stub ........... SUCCESS [3.380s]
> [INFO] Apache Stratos - Common Stubs ..................... SUCCESS [2.956s]
> [INFO] Apache Stratos - Usage - User Interface Stub ...... SUCCESS [3.559s]
> [INFO] Apache Stratos - Throttling Agent Stub ............ SUCCESS [2.951s]
> [INFO] Apache Stratos - Throttling Stub .................. SUCCESS [2.978s]
> [INFO] Apache Stratos - Tenant Registration Stub ......... SUCCESS [3.413s]
> [INFO] Apache Stratos - Cartridge Agent Stub ............. SUCCESS [3.002s]
> [INFO] Apache Stratos - Tenant activity Stub ............. SUCCESS [3.089s]
> [INFO] Apache Stratos - Theme Configuration User Interface  SUCCESS
> [3.819s]
> [INFO] Apache Stratos - Validate Domains Stub ............ SUCCESS [5.304s]
> [INFO] Apache Stratos - Cartridge Info Management Stub ... SUCCESS [2.724s]
> [INFO] Apache Stratos - Tenant Registration GApp Stub .... SUCCESS [3.189s]
> [INFO] Apache Stratos - Tenant Specific URL redirector Stub  SUCCESS
> [2.868s]
> [INFO] Apache Stratos - Repository Notification Service Stub  SUCCESS
> [2.975s]
> [INFO] Apache Stratos - Repository Information Service Stub  SUCCESS
> [3.073s]
> [INFO] Apache Stratos - Topology Management Service Stub . SUCCESS [3.012s]
> [INFO] Apache Stratos - Billing Management Stub .......... SUCCESS [3.526s]
> [INFO] Apache Stratos - Throttle Stub .................... SUCCESS [3.390s]
> [INFO] Apache Stratos - Metering Query DS Stub ........... SUCCESS [3.270s]
> [INFO] Apache Stratos - Manager Dashboard Stub ........... SUCCESS [3.009s]
> [INFO] Apache Stratos - Metering Summery Generation DS Stub  SUCCESS
> [3.763s]
> [INFO] Apache Stratos - Components - Parent Module ....... SUCCESS [0.043s]
> [INFO] Apache Stratos - Common ........................... SUCCESS [6.196s]
> [INFO] Apache Stratos - Messaging Component .............. SUCCESS [1.201s]
> [INFO] Apache Stratos - Autoscaler ....................... SUCCESS [6.661s]
> [INFO] Apache Stratos - Cloud Controller ................. SUCCESS
> [10.957s]
> [INFO] Apache Stratos - Topology Management .............. SUCCESS [3.710s]
> [INFO] Apache Stratos - ADC BE ........................... SUCCESS [9.872s]
> [INFO] Apache Stratos - Deployment ....................... SUCCESS [0.930s]
> [INFO] Apache Stratos - CLI .............................. SUCCESS [8.445s]
> [INFO] Apache Stratos - Load Balancer - Common ........... SUCCESS [1.421s]
> [INFO] Apache Stratos - Load Balancer .................... SUCCESS [4.683s]
> [INFO] Apache Stratos - Load Balancer - Extension API .... FAILURE [1.163s]
> [INFO] Apache Stratos - Self Registration For New Tenant - User Interface
>  SKIPPED
> [INFO] Apache Stratos - Tenant Managment Core ............ SKIPPED
> [INFO] Apache Stratos - Tenant Managment ................. SKIPPED
> [INFO] Apache Stratos - User Interface for Tenant CRUD operations  SKIPPED
> [INFO] Apache Stratos - Email Sender Component ........... SKIPPED
> [INFO] Apache Stratos - Tenant Management Email Sender Component  SKIPPED
> [INFO] Apache Stratos - TenantActivity ................... SKIPPED
> [INFO] Apache Stratos - Tenant Activity - User Interface . SKIPPED
> [INFO] Apache Stratos - Account Management ............... SKIPPED
> [INFO] Apache Stratos - Account Managment - User Interface  SKIPPED
> [INFO] Apache Stratos - Validate Domains ................. SKIPPED
> [INFO] Apache Stratos - Validate Domains - User Interface  SKIPPED
> [INFO] Apache Stratos - Throttling Agent ................. SKIPPED
> [INFO] Apache Stratos - Usage Agent ...................... SKIPPED
> [INFO] Apache Stratos - Usage ............................ SKIPPED
> [INFO] Apache Stratos - Throttling Manager ............... SKIPPED
> [INFO] Apache Stratos - Throttling - User Interface ...... SKIPPED
> [INFO] Apache Stratos - SSO redirector UI component ...... SKIPPED
> [INFO] Apache Stratos - Activation ....................... SKIPPED
> [INFO] Apache Stratos - Tenant Specific URL redirector ... SKIPPED
> [INFO] Apache Stratos - Tenant Specific URL redirector UI component
>  SKIPPED
> [INFO] Apache Stratos - Status Monitor Core .............. SKIPPED
> [INFO] Apache Stratos - Status Monitor Back-End .......... SKIPPED
> [INFO] Apache Stratos - Status Monitor Agent ............. SKIPPED
> [INFO] Apache Stratos - Status Monitor - User Interface .. SKIPPED
> [INFO] Apache Stratos - Usage Summary Generation Helper .. SKIPPED
> [INFO] Apache Stratos - Usage - User Interface ........... SKIPPED
> [INFO] Apache Stratos - Tenant Dispatcher ................ SKIPPED
> [INFO] Apache Stratos - Keystore Generation and Management  SKIPPED
> [INFO] Apache Stratos - Cartridge Management UI .......... SKIPPED
> [INFO] Apache Stratos - Theme Configuration User Interface  SKIPPED
> [INFO] Apache Stratos - Tenant Theme Configurations ...... SKIPPED
> [INFO] Apache Stratos - Logging View UI .................. SKIPPED
> [INFO] Apache Stratos - RESTful admin service module ..... SKIPPED
> [INFO] org.apache.stratos.cep.extension .................. SKIPPED
> [INFO] Apache Stratos - Extensions ....................... SKIPPED
> [INFO] Apache Stratos - Load Balancer Extensions ......... SKIPPED
> [INFO] Apache Stratos - HAProxy Extension ................ SKIPPED
> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
> [INFO] Apache Stratos - Load Balancer - Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Load Balancer - Management Feature  SKIPPED
> [INFO] Apache Stratos - Load Balancer - Common Feature ... SKIPPED
> [INFO] Apache Stratos - Autoscaler Module ................ SKIPPED
> [INFO] Apache Stratos - Autoscaler Feature ............... SKIPPED
> [INFO] Apache Stratos - ADC Management Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - ADC Management Core Feature ...... SKIPPED
> [INFO] Apache Stratos - ADC Topology Management Feature .. SKIPPED
> [INFO] Apache Stratos - ADC Management Composite Feature . SKIPPED
> [INFO] Apache Stratos - Cloud Controller Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Cloud Controller Feature ......... SKIPPED
> [INFO] Apache Stratos - Manager Features Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Common Feature Aggregator Module . SKIPPED
> [INFO] Apache Stratos - Common Core Feature .............. SKIPPED
> [INFO] Apache Stratos - Common UI Feature ................ SKIPPED
> [INFO] Apache Stratos - Common Composite Feature ......... SKIPPED
> [INFO] Apache Stratos - Tenant Management Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Multitenancy Tenant Management Server Feature
>  SKIPPED
> [INFO] Apache Stratos - Multitenancy Tenant Management Core Feature
>  SKIPPED
> [INFO] Apache Stratos - GApp Feature Aggregator Module ... SKIPPED
> [INFO] Apache Stratos - GApp Server Feature .............. SKIPPED
> [INFO] Apache Stratos - GApp UI Feature .................. SKIPPED
> [INFO] Apache Stratos - GApp Composite Feature ........... SKIPPED
> [INFO] Apache Stratos - Throttling Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Throttling Manager Feature ....... SKIPPED
> [INFO] Apache Stratos - Throttling Agent Feature ......... SKIPPED
> [INFO] Apache Stratos - Usage Feature Aggregator Module .. SKIPPED
> [INFO] Apache Stratos - Usage Server Feature ............. SKIPPED
> [INFO] Apache Stratos - Usage Agent Feature .............. SKIPPED
> [INFO] Apache Stratos - Usage UI Feature ................. SKIPPED
> [INFO] Apache Stratos - Usage Composite Feature .......... SKIPPED
> [INFO] Apache Stratos - Deployment Features .............. SKIPPED
> [INFO] Apache Stratos - Status Monitor Aggregator Module . SKIPPED
> [INFO] Apache Stratos - Status Monitor Server Feature .... SKIPPED
> [INFO] Apache Stratos - Status Monitor UI Feature ........ SKIPPED
> [INFO] Apache Stratos - Status Monitor Agent Feature ..... SKIPPED
> [INFO] Apache Stratos - Status Monitor Feature ........... SKIPPED
> [INFO] Apache Stratos - Tenant activity Feature Aggregator Module  SKIPPED
> [INFO] Apache Stratos - Tenant Activity UI Feature ....... SKIPPED
> [INFO] Apache Stratos - Tenant activity Server Feature ... SKIPPED
> [INFO] Apache Stratos - Cartridge Management UI Feature Aggregator Module
>  SKIPPED
> [INFO] Apache Stratos - Cartridge Management UI 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 - Messaging Module ................. SKIPPED
> [INFO] Apache Stratos - Messaging Feature ................ SKIPPED
> [INFO] Apache Stratos - Products ......................... SKIPPED
> [INFO] Apache Stratos - Autoscaler ....................... SKIPPED
> [INFO] Apache Stratos - Autoscaler - P2 Profile Generation  SKIPPED
> [INFO] Apache Stratos - Autoscaler - Distribution ........ SKIPPED
> [INFO] Apache Stratos - Cloud Controller ................. SKIPPED
> [INFO] Apache Stratos - Cloud Controller - P2 Profile Generation  SKIPPED
> [INFO] Apache Stratos - Cloud Controller - Distribution .. SKIPPED
> [INFO] Apache Stratos - Load Balancer .................... SKIPPED
> [INFO] Apache Stratos - Load Balancer - P2 Profile Generation  SKIPPED
> [INFO] Apache Stratos - Load Balancer - Distribution ..... SKIPPED
> [INFO] Apache Stratos - CLI - Distribution ............... SKIPPED
> [INFO] Apache Stratos - CLI .............................. SKIPPED
> [INFO] Apache Stratos - Controller Parent ................ SKIPPED
> [INFO] Apache Stratos - Cloud Manager UI styles .......... SKIPPED
> [INFO] Apache Stratos - Cloud Manager Cloud Services Management  SKIPPED
> [INFO] Apache Stratos - Cloud Manager Dashboard User Interface  SKIPPED
> [INFO] Apache Stratos - Cloud Manager Login User Interface  SKIPPED
> [INFO] Apache Stratos - Products Stratos Controller Features Parent
>  SKIPPED
> [INFO] Apache Stratos - Features Aggregator Module ....... SKIPPED
> [INFO] Apache Stratos - Cloud Manager Core Feature ....... SKIPPED
> [INFO] Apache Stratos - Cloud Manager UI Feature ......... SKIPPED
> [INFO] Apache Stratos - Cloud Manager Composite Feature .. SKIPPED
> [INFO] Apache Stratos - Controller Profile Generation .... SKIPPED
> [INFO] Apache Stratos - Features Dashboard Webapp ........ SKIPPED
> [INFO] Apache Stratos - Manager Cloud Services Icons ..... SKIPPED
> [INFO] Apache Stratos - Distribution ..................... SKIPPED
> [INFO] Apache Stratos - Manager Integration Tests ........ SKIPPED
> [INFO] Apache Stratos - Cartridge Agent .................. SKIPPED
> [INFO] Cartridge agent - Git Based Deployment Synchronizer  SKIPPED
> [INFO] Apache Stratos - Event Publisher .................. SKIPPED
> [INFO] Apache Stratos - Event Subscriber ................. SKIPPED
> [INFO] Apache Stratos - Health Publisher ................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:43.887s
> [INFO] Finished at: Sun Dec 01 02:29:37 GMT 2013
> [INFO] Final Memory: 141M/481M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project
> org.apache.stratos.load.balancer.extension.api: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[54,5]
> error: annotations are not supported in -source 1.3
> [ERROR]
> [ERROR] (use -source 5 or higher to enable annotations)
> [ERROR]
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[62,19]
> error: generics are not supported in -source 1.3
> [ERROR]
> [ERROR] (use -source 5 or higher to enable generics)
> [ERROR]
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerStatsNotifier.java:[63,37]
> error: for-each loops are not supported in -source 1.3
> [ERROR]
> [ERROR] (use -source 5 or higher to enable for-each loops)
> [ERROR]
> /home/shashikabokks/stratos/incubator-stratos/components/org.apache.stratos.load.balancer.extension.api/src/main/java/org/apache/stratos/load/balancer/extension/api/LoadBalancerExtension.java:[50,5]
> error: annotations are not supported in -source 1.3
> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.apache.stratos.load.balancer.extension.api
>
> Thank you,
>
>
> --
> *Best Regards,*
> *Shashika karunatilaka,*
> *Microsoft Student Ambassador,*
> *University of Colombo School of Computing,*
> *Computer Science Society University of Colombo(CompSoc)*
> *IEEE UCSC Student Branch,*
> *D. S. Senanayeka College.*
> http://shashikabokks.wordpress.com
>