On Sat, May 7, 2011 at 12:21 PM, Waruna Ranasinghe <[email protected]> wrote:

>
>
> On Sat, May 7, 2011 at 12:04 PM, Kathiravelu Pradeeban <[email protected]
> > wrote:
>
>> I missed a part of the commit? :S :( I will look into this.
>>
> In this
> case 
> <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.ec2-client.feature:${carbon.version}</featureArtifactDef>
> is wrong.
> It should
> be 
> <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.ec2.client.feature:${carbon.version}</featureArtifactDef>
> in /esb/modules/p2-profile/product/pom.xml
>

Thanks a lot Waruna for your assistance. I will build and commit the changes
after verifying.

>
> Some places it is used as ec2*-*client (in components and feature artifact
> ids) and some places ec2*.*client (in service-stubs and feature artifact
> ids). These names should be consistent across the platform, so that we can
> avoid this kind faults.
>

Yes. The stub and the component were there already, without the feature. So
stub.jar was not included into the esb product, letting only the client jar.
So I created the feature.

Regards,
Pradeeban.

>
>
> Thanks,
> Waruna
>
>>
>> And let you know.
>>
>> Regards.
>> Pradeeban.
>>
>> On Sat, May 7, 2011 at 11:56 AM, Kasun Indrasiri <[email protected]> wrote:
>>
>>>
>>> Got a svn up in the morning and getting this ESB build error. :(
>>>  We need to fix this ASAP.
>>>
>>>
>>> Related svn commit:
>>> Author: pradeeban
>>> Date: Fri May  6 06:51:22 2011
>>> New Revision: 93553
>>>
>>>
>>> Downloading:
>>> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.ec2-client.feature/3.2.0-SNAPSHOT/org.wso2.carbon.ec2-client.feature-3.2.0-SNAPSHOT.zip
>>> [INFO] Unable to find resource
>>> 'org.wso2.carbon:org.wso2.carbon.ec2-client.feature:zip:3.2.0-SNAPSHOT' in
>>> repository wso2-nexus (
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>> [ERROR] ERROR
>>> org.apache.maven.plugin.MojoExecutionException: ERROR
>>> at
>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
>>>  at
>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:360)
>>> at
>>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:193)
>>>  at
>>> org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:187)
>>> at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>>  at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>> at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>>  at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>> at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>>  at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>> at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>> at
>>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>  at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>  at
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>>> 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.wso2.carbon
>>> -DartifactId=org.wso2.carbon.ec2-client.feature -Dversion=3.2.0-SNAPSHOT
>>> -Dpackaging=zip -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.ec2-client.feature -Dversion=3.2.0-SNAPSHOT
>>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>>
>>>   org.wso2.carbon:org.wso2.carbon.ec2-client.feature:zip:3.2.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>   central (http://repo1.maven.org/maven2),
>>>   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>
>>>
>>> at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
>>>  at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>>> at
>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
>>>  ... 22 more
>>> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable
>>> to download the artifact from any repository
>>> at
>>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
>>>  at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
>>> ... 24 more
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>>
>>>
>>>
>>> --
>>> Kasun Indrasiri
>>> Senior Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> cell: +94 71 536 4128
>>> Blog : http://kasunpanorama.blogspot.com/
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Kathiravelu Pradeeban.
>> Software Engineer.
>> WSO2 Inc.
>>
>> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> -------------------------------------------------------------------------
> Waruna Ranasinghe
> Senior Software Engineer, WSO2
>
> Mobile: +94 724 318285
> BLOG: http://warunapw.blogspot.com
>
> www.wso2.com - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to