Hi Jerad,

Thank you for your response :)

Regards.

On Fri, Sep 19, 2014 at 9:57 AM, Jerad Rutnam <[email protected]> wrote:

> Hi Ramindu,
>
>
> Did you try "maven clean" your project, before "maven install"? and try to
> do a "project > clean" as well (on eclipse top menu).
>
>
> Regards,
>
> On Thu, Sep 18, 2014 at 5:47 PM, Ramindu De Silva <[email protected]>
> wrote:
>
>> Hi all,
>>
>> I installed maven again and did a build maven from the command prompt.
>> And the .jar file created successfully. But I'm Still getting the same
>> error when I'm doing the build maven from eclipse though.
>>
>> Regards.
>>
>> On Thu, Sep 18, 2014 at 5:16 PM, Inosh Perera <[email protected]> wrote:
>>
>>> Hi Ramindu,
>>> You can go to .m2 folder which is in home/[user] and find
>>> org/apache/maven/plugin/ and delete surefire folder. Then try building
>>> again.
>>>
>>> Regards,
>>> Inosh
>>>
>>> On Thu, Sep 18, 2014 at 5:11 PM, Amal Gunatilake <[email protected]> wrote:
>>>
>>>> Hi Ramindu,
>>>>
>>>> Since your project got built in a different computer, there is a
>>>> possibility that your m2 repository is corrupt. If you could do a clean
>>>> repo and do the build then, there is a chance you can get the build right.
>>>>
>>>> Thank you  & Best regards,
>>>>
>>>> *Amal Gunatilake*
>>>>  Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> On Thu, Sep 18, 2014 at 5:06 PM, Ramindu De Silva <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Kasun,
>>>>>
>>>>> I just tried your way also, then I ran my project in a different
>>>>> computer and maven build worked. Something wrong with my maven 
>>>>> installation
>>>>> ?
>>>>>
>>>>> Hi Amal,
>>>>>
>>>>> No im not suing any integration tests. I ran without the surefire
>>>>> plug-in at first, but when i got the error when building maven i googled
>>>>> the error and did the change :/
>>>>>
>>>>>
>>>>> Regards.
>>>>>
>>>>> On Thu, Sep 18, 2014 at 4:40 PM, Kasun Dissanayake <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Ramindu
>>>>>>
>>>>>> Try it using -Dmaven.test.skip=true
>>>>>>
>>>>>> On Thu, Sep 18, 2014 at 4:35 PM, Ramindu De Silva <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> a problem occurred to me when I was trying to code according to the
>>>>>>> following link.
>>>>>>>
>>>>>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>>>>>
>>>>>>> After creating all the pom.xml files then when doing the "maven
>>>>>>> build" the following errors occurs.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) 
>>>>>>> on
>>>>>>> project org.wso2.carbon.student.mgt: Execution default-test of goal
>>>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: Unable 
>>>>>>> to
>>>>>>> load the mojo 'test' in the plugin
>>>>>>> 'org.apache.maven.plugins:maven-surefire-plugin:2.17'. A required class 
>>>>>>> is
>>>>>>> missing: org/apache/maven/plugin/surefire/SurefireReportParameters
>>>>>>> [ERROR] -----------------------------------------------------
>>>>>>> [ERROR] realm =
>>>>>>>  plugin>org.apache.maven.plugins:maven-surefire-plugin:2.17
>>>>>>> [ERROR] strategy =
>>>>>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>>>>>> [ERROR] urls[0] =
>>>>>>> file:/home/ramindu/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.17/maven-surefire-plugin-2.17.jar
>>>>>>> [ERROR] urls[1] =
>>>>>>> file:/home/ramindu/.m2/repository/org/apache/maven/surefire/maven-surefire-common/2.17/maven-surefire-common-2.17.jar
>>>>>>> [ERROR] urls[2] =
>>>>>>> file:/home/ramindu/.m2/repository/org/apache/maven/surefire/surefire-api/2.17/surefire-api-2.17.jar
>>>>>>> [ERROR] urls[3] =
>>>>>>> file:/home/ramindu/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
>>>>>>> [ERROR] urls[4] =
>>>>>>> file:/home/ramindu/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
>>>>>>> [ERROR] urls[5] =
>>>>>>> file:/home/ramindu/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar
>>>>>>> [ERROR] Number of foreign imports: 1
>>>>>>> [ERROR] import: Entry[import  from realm
>>>>>>> ClassRealm[project>org.wso2.carbon:org.wso2.carbon.student.mgt:4.2.0,
>>>>>>> parent: ClassRealm[maven.api, parent: null]]]
>>>>>>> [ERROR]
>>>>>>> [ERROR] -----------------------------------------------------:
>>>>>>> org.apache.maven.plugin.surefire.SurefireReportParameters
>>>>>>> [ERROR] -> [Help 1]
>>>>>>> [ERROR]
>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>>>> the -e switch.
>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>>>>>>> logging.
>>>>>>> [ERROR]
>>>>>>> [ERROR] For more information about the errors and possible
>>>>>>> solutions, please read the following articles:
>>>>>>> [ERROR] [Help 1]
>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
>>>>>>>
>>>>>>>
>>>>>>> Regards.
>>>>>>> --
>>>>>>> *Ramindu De Silva*
>>>>>>> Software Engineering Intern
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: [email protected] <[email protected]>
>>>>>>> mob: +94772339350
>>>>>>> mob: +94782731766
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kasun Dissanayake
>>>>>> Software Engineer
>>>>>> WSO2 Inc.
>>>>>> Lean | Enterprise | Middleware
>>>>>> Tel - +94 77 086 2860
>>>>>> Skype - kasun.dissanayake4
>>>>>> LinkedIn - lk.linkedin.com/in/kasundis/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Ramindu De Silva*
>>>>> Software Engineering Intern
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: [email protected] <[email protected]>
>>>>> mob: +94772339350
>>>>> mob: +94782731766
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Inosh Perera
>>> Software Engineer, WSO2 Inc.
>>> Tel: 0785293686
>>>
>>
>>
>>
>> --
>> *Ramindu De Silva*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> email: [email protected] <[email protected]>
>> mob: +94772339350
>> mob: +94782731766
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Jerad Rutnam | **Software Engineer - UI*
> WSO2, Inc. www.wso2.com
>
> *Email: [email protected] <[email protected]>*
>



-- 
*Ramindu De Silva*
Software Engineering Intern
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

email: [email protected] <[email protected]>
mob: +94772339350
mob: +94782731766
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to