Hi,
You need to build the axis2 aar maven plugin trunk to get this to work. But
much easier workaround is to use an already released version.

   1. In your checked out shopping cart sample, open the root pom.xml (i.e.
   
https://svn.wso2.org/repos/wso2/trunk/stratos/stratos/samples/shopping-cart/pom.xml
in
   the svn).
   2. Change
   <axis2.aar.maven.plugin.version>SNAPSHOT</axis2.aar.maven.plugin.version>
   to
   <axis2.aar.maven.plugin.version>1.6-wso2v4</axis2.aar.maven.plugin.version>
   .
   3. Now redo "mvn eclipse:eclipse" from this root pom location

Regards,
Saminda
On Thu, Feb 17, 2011 at 9:26 AM, Xue-Feng Yang <just4l...@yahoo.com> wrote:

> The oldest file in
>
>
> ***http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/<http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/SNAPSHOT/axis2-aar-maven-plugin-SNAPSHOT.pom>
> **
>
> *
> was created at 18-Dec-2010 01:26
>
> ShoppingCart sample must be older than that. Someone deletes everything
> before that time. Anyone can fix this?
>
> Xue-Feng
>
> ------------------------------
> *From:* Xue-Feng Yang <just4l...@yahoo.com>
> *To:* carbon-dev@wso2.org
> *Sent:* Thu, February 17, 2011 11:51:12 AM
> *Subject:* Re: [Carbon-dev] Axis2 Service in ShoppingCart Sample in Carbon
> Studio
>
> I dig into
>
> *http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/<http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/SNAPSHOT/axis2-aar-maven-plugin-SNAPSHOT.pom>
>
> There is no directory SNAPSHOT.
>
> Anyone knows this?
>
> Thanks,
>
> Xue-Feng
> *******
>
> ------------------------------
> *From:* Xue-Feng Yang <just4l...@yahoo.com>
> *To:* carbon-dev@wso2.org
> *Sent:* Thu, February 17, 2011 11:15:50 AM
> *Subject:* [Carbon-dev] Axis2 Service in ShoppingCart Sample in Carbon
> Studio
>
> As mentioned in the doc, I have to import two eclipse projects for for
> services at *shopping-cart/connector-service* and *
> shopping-cart/bps/SupplierService*.
>
> I download the source from
>
>
> https://svn.wso2.org/repos/wso2/trunk/stratos/stratos/samples/shopping-cart/
>
> and go to directory *shopping-cart/connector-service and run **"mvn
> eclipse:eclipse".  I got the following error:
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for
> updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/17/maven-plugins-17.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar
> Downloading:
> http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/SNAPSHOT/axis2-aar-maven-plugin-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-aar-maven-plugin:pom:SNAPSHOT' in repository
> dist-wso2 (http://dist.wso2.org/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org.apache.axis2/poms/axis2-aar-maven-plugin-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-aar-maven-plugin:pom:SNAPSHOT' in repository
> wso2-maven2-repository-snapshot (http://dist.wso2.org/snapsh
> ots/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.axis2:axis2-aar-maven-plugin
>
> Reason: POM 'org.apache.axis2:axis2-aar-maven-plugin' not found in
> repository: Unable to download the artifact from any repository
>
>   org.apache.axis2:axis2-aar-maven-plugin:pom:SNAPSHOT
>
> from the specified remote repositories:
>   dist-wso2 (http://dist.wso2.org/maven2),
>   wso2-maven2-repository-snapshot (http://dist.wso2.org/snapshots/maven2),
>   central (http://repo1.maven.org/maven2)
>
>  for project org.apache.axis2:axis2-aar-maven-plugin
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Thu Feb 17 11:10:41 CST 2011
> [INFO] Final Memory: 2M/5M
> [INFO]
> ------------------------------------------------------------------------
> *
>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to