Hi Azeez,

On Fri, Feb 25, 2011 at 12:50 AM, Afkham Azeez <az...@wso2.com> wrote:

> Now I'm getting the following error when I try to build the products
>
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:SNAPSHOT' in
> repository wso2-maven2-repository (http://dist.wso2.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Plugin could not be found - check that the goal name is correct:
> Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.axis2
> -DartifactId=axis2-aar-maven-plugin -Dversion=SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>     mvn deploy:deploy-file -DgroupId=org.apache.axis2
> -DartifactId=axis2-aar-maven-plugin -Dversion=SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
>   org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   wso2-maven2-repository (http://dist.wso2.org/maven2)
>
>
>   org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:SNAPSHOT
>
>  from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   wso2-maven2-repository (http://dist.wso2.org/maven2)
>

To fix this you can add the following plugin repositories section to the
root pom where we defines the repositories.

<project>
    .....
    ....
    <pluginRepositories>
        <pluginRepository>
            <id>wso2-maven2-repository</id>
            <url>http://dist.wso2.org/maven2</url>
        </pluginRepository>
    </pluginRepositories>
    ....
</project>

Thank should go to Saminda :).

Thanks and Regards,
Harshana

>
>
> On Fri, Feb 25, 2011 at 12:18 AM, Afkham Azeez <az...@wso2.com> wrote:
>
>> I have commented out the code in the event component that causes the
>> compilation error and committed it.
>>
>>
>> On Thu, Feb 24, 2011 at 10:45 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> Seems like whoever added this component today has either not built or had
>>> not committed the changes to the messagebox component. With this kind of
>>> indiscipline, we will never be able to have a successful build.
>>>
>>>
>>> On Thu, Feb 24, 2011 at 10:27 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>
>>>> Now, when I build components, I'm getting the following error
>>>>
>>>> Compiling 3 source files to
>>>> /Users/azeez/projects/wso2/org/trunk/carbon/components/event/org.wso2.carbon.event.sink/target/classes
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>>
>>>> /Users/azeez/projects/wso2/org/trunk/carbon/components/event/org.wso2.carbon.event.sink/src/main/java/org/wso2/carbon/event/sink/internal/EventSinkDispatcher.java:[43,34]
>>>> cannot find symbol
>>>> symbol  : class Message
>>>> location: package org.wso2.carbon.messagebox
>>>>
>>>> /Users/azeez/projects/wso2/org/trunk/carbon/components/event/org.wso2.carbon.event.sink/src/main/java/org/wso2/carbon/event/sink/internal/EventSinkDispatcher.java:[43,86]
>>>> cannot find symbol
>>>> symbol  : class Message
>>>> location: package org.wso2.carbon.messagebox
>>>>
>>>>
>>>>
>>>> On Thu, Feb 24, 2011 at 10:09 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>
>>>>> I had to go back and build dependencies/commons/wsdl-validator and
>>>>> orbit/wsdl-validator. One chekout-one build seems to be a distant dream :(
>>>>>
>>>>>
>>>>> On Thu, Feb 24, 2011 at 10:01 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>
>>>>>> Now I'm getting this error when I build components.
>>>>>>
>>>>>> [INFO] Failed to resolve artifact.
>>>>>>
>>>>>> Missing:
>>>>>> ----------
>>>>>> 1)
>>>>>> org.wso2.wsdl.validator.wso2:wsdl-validator:jar:1.2.0.SNAPSHOT-wso2v1
>>>>>>
>>>>>>   Try downloading the file manually from the project website.
>>>>>>
>>>>>>   Then, install it using the command:
>>>>>>       mvn install:install-file -DgroupId=org.wso2.wsdl.validator.wso2
>>>>>> -DartifactId=wsdl-validator -Dversion=1.2.0.SNAPSHOT-wso2v1 
>>>>>> -Dpackaging=jar
>>>>>> -Dfile=/path/to/file
>>>>>>
>>>>>>   Alternatively, if you host your own repository you can deploy the
>>>>>> file there:
>>>>>>       mvn deploy:deploy-file -DgroupId=org.wso2.wsdl.validator.wso2
>>>>>> -DartifactId=wsdl-validator -Dversion=1.2.0.SNAPSHOT-wso2v1 
>>>>>> -Dpackaging=jar
>>>>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>>>>
>>>>>>   Path to dependency:
>>>>>>    1)
>>>>>> org.wso2.carbon:org.wso2.carbon.registry.extensions:bundle:3.2.0-SNAPSHOT
>>>>>>    2)
>>>>>> org.wso2.wsdl.validator.wso2:wsdl-validator:jar:1.2.0.SNAPSHOT-wso2v1
>>>>>>
>>>>>> ----------
>>>>>> 1 required artifact is missing.
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 24, 2011 at 9:44 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>>
>>>>>>> Sorry, by there has been a delay between the time I took the
>>>>>>> components update and the features update. This was the reason for the
>>>>>>> failure.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Feb 24, 2011 at 9:39 PM, Afkham Azeez <az...@wso2.com>wrote:
>>>>>>>
>>>>>>>> I started building with a clean M2 repo. I was able to successfully
>>>>>>>> build, dependencies, orbit, core and components. When I tried to build 
>>>>>>>> the
>>>>>>>> features, I get the following error:
>>>>>>>>
>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] ERROR
>>>>>>>>
>>>>>>>> Embedded error: System is offline.
>>>>>>>>
>>>>>>>> Try downloading the file manually from the project website.
>>>>>>>>
>>>>>>>> Then, install it using the command:
>>>>>>>>     mvn install:install-file -DgroupId=org.wso2.carbon
>>>>>>>> -DartifactId=org.wso2.carbon.event.sink -Dversion=3.2.0-SNAPSHOT
>>>>>>>> -Dpackaging=jar -Dfile=/path/to/file
>>>>>>>>
>>>>>>>> Alternatively, if you host your own repository you can deploy the
>>>>>>>> file there:
>>>>>>>>     mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>>>>>>> -DartifactId=org.wso2.carbon.event.sink -Dversion=3.2.0-SNAPSHOT
>>>>>>>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>>>>>>
>>>>>>>>
>>>>>>>>   org.wso2.carbon:org.wso2.carbon.event.sink:jar:3.2.0-SNAPSHOT
>>>>>>>>
>>>>>>>>
>>>>>>>> What ca be the reason?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Afkham Azeez*
>>>>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>>>> http://wso2.com,
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *Member; Apache Software Foundation; 
>>>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>>>> *
>>>>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>>>> twitter: 
>>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>>> *
>>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Afkham Azeez*
>>>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>>> http://wso2.com,
>>>>>>> *
>>>>>>> *
>>>>>>> *Member; Apache Software Foundation; 
>>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>>> *
>>>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>>> twitter: 
>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>> *
>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>>> *
>>>>>>> *
>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>> http://wso2.com,
>>>>>> *
>>>>>> *
>>>>>> *Member; Apache Software Foundation; 
>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>> *
>>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>> twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> *
>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>> *
>>>>>> *
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> http://wso2.com,
>>>>> *
>>>>> *
>>>>> *Member; Apache Software Foundation; 
>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>> *
>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>>> ,
>>>> *
>>>> *
>>>> *Member; Apache Software Foundation; 
>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>> *
>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
          http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to