Hi,

in trunk at 'carbon/products/gs/modules/p2-profile-gen$ ' building by maven
3.0.3

give this issue

[INFO] WSO2 Gadget Server - P2 Profile Generation Parent . FAILURE [0.205s]
[INFO] WSO2 Gadget Server - Gadget Server Profile Generation  SKIPPED
[INFO] WSO2 Gadget Server - Gadget Server Profile Generation  SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.454s
[INFO] Finished at: Wed Sep 21 13:13:34 IST 2011
[INFO] Final Memory: 3M/149M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on
project wso2gs-p2-profile-gen-parent: Failed to clean project: Failed to
delete
/home/madhuka/WSO2/workstation/carbon/products/gs/modules/p2-profile-gen/target/timestamp
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean)
on project wso2gs-p2-profile-gen-parent: Failed to clean project: Failed to
delete
/home/madhuka/WSO2/workstation/carbon/products/gs/modules/p2-profile-gen/target/timestamp
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to clean
project: Failed to delete
/home/madhuka/WSO2/workstation/carbon/products/gs/modules/p2-profile-gen/target/timestamp
    at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:188)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
Caused by: java.io.IOException: Failed to delete
/home/madhuka/WSO2/workstation/carbon/products/gs/modules/p2-profile-gen/target/timestamp
    at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:227)
    at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:186)
    at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:154)
    at org.apache.maven.plugin.clean.Cleaner.delete(Cleaner.java:115)
    at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:168)
    ... 21 more


--------------------------------------------------

When i am try with maven 2 at same place

[INFO] Unable to find resource
'org.wso2.carbon:wso2carbon-core:zip:3.2.0-SNAPSHOT' in repository
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to find artifact.

Embedded error: 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=wso2carbon-core -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=wso2carbon-core -Dversion=3.2.0-SNAPSHOT -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.carbon:wso2carbon-core: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/)


It ask for '  org.wso2.carbon:wso2carbon-core:zip:3.2.0-SNAPSHOT' it is
there in dir to
'/home/madhuka/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT'


-- 
*Madhuka* Udantha
http://madhukaudantha.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to