Hi Azeez,

On Thu, Feb 17, 2011 at 1:29 PM, Afkham Azeez <[email protected]> wrote:

> BTW, where is the source code for this sample? SVN location?


Sample location is
https://svn.wso2.org/repos/wso2/trunk/stratos/stratos/samples/shopping-cart/
.

And I noticed a possible problem in this esb-config pom. It has the
following section which is unrelated to esb.

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.2</version>

                <executions>
                    <execution>
                        <id>Zip-Gadgets</id>
                        <phase>install</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <mkdir dir="target"/>
                                <zip
destfile="target/acme-sales-gadgets.dar"
                                     basedir="${basedir}/src/gadgets"/>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
             </plugin>


Thanks and Regards,
Harshana


>
> Azeez
>
> On Thu, Feb 17, 2011 at 8:45 AM, Xue-Feng Yang <[email protected]>wrote:
>
>> 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
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
          http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to