Please have a look at this error:

[INFO] Building WSO2 Carbon - Feature Repository
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] snapshot org.wso2.maven:carbon-p2-plugin:1.2-SNAPSHOT: checking for
updates from wso2-maven2-snapshot-repository
[INFO] [clean:clean]
[INFO] Deleting directory
/home/stratos/build/carbon/features/repository/target
[INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
[INFO] Configured Artifact: org.wso2.carbon:wso2-p2-agent:3.1.0-SNAPSHOT:zip
[INFO] snapshot org.wso2.carbon:wso2-p2-agent:3.1.0-SNAPSHOT: checking for
updates from wso2-maven2-snapshot-repository
[INFO] Expanding:
/home/stratos/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.1.0-SNAPSHOT/wso2-p2-agent-3.1.0-SNAPSHOT.zip
into /home/stratos/build/carbon/features/repository/target/p2-agent
[INFO] [site:attach-descriptor]
[INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
[INFO] snapshot org.wso2.carbon:org.wso2.carbon.core.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.deployer.synapse.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.deployer.bpel.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.synapse.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.synapse.server.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.synapse.ui.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.bpel.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.bpel.server.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.bpel.ui.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.server.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.application.mgt.ui.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot org.wso2.carbon:org.wso2.carbon.bam.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.bam.server.feature:3.1.0-SNAPSHOT: checking
for updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.bam.ui.feature:3.1.0-SNAPSHOT: checking for
updates from wso2-maven2-snapshot-repository
[INFO] snapshot
org.wso2.carbon:org.wso2.carbon.bam.data.publisher.activity.server.feature:3.1.0-SNAPSHOT:
checking for updates from wso2-maven2-snapshot-repository
Downloading:
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.bam.data.publisher.activity.server.feature/3.1.0-SNAPSHOT/org.wso2.carbon.bam.data.publisher.activity.server.feature-3.1.0-SNAPSHOT.zip
[INFO] Unable to find resource
'org.wso2.carbon:org.wso2.carbon.bam.data.publisher.activity.server.feature:zip:3.1.0-SNAPSHOT'
in repository wso2-maven2-snapshot-repository (
http://dist.wso2.org/snapshots/maven2)
[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.bam.data.publisher.activity.server.feature
-Dversion=3.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.bam.data.publisher.activity.server.feature
-Dversion=3.1.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


 
org.wso2.carbon:org.wso2.carbon.bam.data.publisher.activity.server.feature:zip:3.1.0-SNAPSHOT

from the specified remote repositories:
 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]
------------------------------------------------------------------------
[INFO] ERROR

Unable to download the artifact from any repository
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Sep 01 23:43:24 UTC 2010
[INFO] Final Memory: 22M/981M
[INFO]
------------------------------------------------------------------------
cp: cannot stat `target/p2-repo': No such file or directory
2010-09-01_23-41-03
At revision 72834.
Path: .
URL: https://svn.wso2.org/repos/wso2/trunk/stratos
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 72834
Node Kind: directory
Schedule: normal
Last Changed Author: milinda
Last Changed Rev: 72831
Last Changed Date: 2010-09-01 13:28:03 +0000 (Wed, 01 Sep 2010)

Wed Sep  1 23:45:42 UTC 2010
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   WSO2 Carbon Stratos Components
[INFO]   WSO2 Stratos - Email Sender Component
[INFO]   WSO2 Carbon - Billing core
[INFO]   WSO2 Stratos - Common
[INFO]   WSO2 Stratos - Usage Agent
[INFO]   WSO2 Stratos - Usage
[INFO]   WSO2 Stratos - Billing
[INFO]   WSO2 Stratos - Billing - User Interface
[INFO]   WSO2 Stratos - Announcement related services
[INFO]   WSO2 Stratos - Announcement - User interface
[INFO]   WSO2 Stratos - Account Management
[INFO]   WSO2 Stratos - Account Managment - User Interface
[INFO]   WSO2 Stratos - Activation
[INFO]   WSO2 Stratos - Tenant Specific URL redirector
--
[INFO] Installing org.wso2.carbon.datasource.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.service.mgt.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.transport.mgt.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.transport.jms.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.transport.mail.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.message.flows.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.xkms.mgt.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sts.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.event.common.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.event.server.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.xfer.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.mex.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.eventing.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.resource.properties.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.dashboard.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing
org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.event.server.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing
org.wso2.carbon.registry.community.features.server.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.dss.styles.feature.group 1.0.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.core.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.mgt.server.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.mgt.ui.feature.group
3.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.common.feature.group 1.0.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.dss.login.ui.feature.group
1.0.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.dss.dashboard.ui.feature.group
1.0.0.SNAPSHOT.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to install features...

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 61 minutes 20 seconds
[INFO] Finished at: Thu Sep 02 00:56:26 UTC 2010
[INFO] Final Memory: 526M/1441M
[INFO]
------------------------------------------------------------------------

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to