On Thu, Mar 10, 2011 at 10:09 AM, Supun Malinga <[email protected]> wrote:

> any idea why?
>
> [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
> [INFO] snapshot
> org.wso2.carbon:org.wso2.carbon.common.feature:1.1.0-SNAPSHOT: checking for
> updates from wso2-maven2-snapshot-repository
> [INFO] snapshot
> org.wso2.carbon:org.wso2.carbon.common.feature:1.1.0-SNAPSHOT: checking for
> updates from com.springsource.repository.bundles.release
> [INFO] snapshot
> org.wso2.carbon:org.wso2.carbon.common.feature:1.1.0-SNAPSHOT: checking for
> updates from com.springsource.repository.bundles.external
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.common.feature/1.1.0-SNAPSHOT/org.wso2.carbon.common.feature-1.1.0-SNAPSHOT.zip
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT' in
> repository wso2-maven2-snapshot-repository (
> http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.common.feature/1.1.0-SNAPSHOT/org.wso2.carbon.common.feature-1.1.0-SNAPSHOT.zip
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT' in
> repository com.springsource.repository.bundles.release (
> http://repository.springsource.com/maven/bundles/release)
> Downloading:
> http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.common.feature/1.1.0-SNAPSHOT/org.wso2.carbon.common.feature-1.1.0-SNAPSHOT.zip
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT' in
> repository com.springsource.repository.bundles.external (
> http://repository.springsource.com/maven/bundles/external)
> [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:483)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>     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.common.feature -Dversion=1.1.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.common.feature -Dversion=1.1.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>   org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT
>

There is an issues with version. carbon.common.feature version should be
3.2.0-SNAPSHOT.

Sameera

>
> from the specified remote repositories:
>   com.springsource.repository.bundles.release (
> http://repository.springsource.com/maven/bundles/release),
>   com.springsource.repository.bundles.external (
> http://repository.springsource.com/maven/bundles/external),
>   wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
>   central (http://repo1.maven.org/maven2),
>   wso2-maven2-repository (http://dist.wso2.org/maven2)
>
>
>     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)
>     ... 21 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:349)
>     at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
>     ... 23 more
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - [email protected] <[email protected]>
> mobile - 071 56 91 321
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to