Hi Xue-Feng, On Thu, Feb 17, 2011 at 6:39 PM, Xue-Feng Yang <[email protected]> wrote:
> Hi Harshana, > > /testcenter/release/wso2/download/axis2-aar-maven-plugin-1.6-wso2v4.jar > > and > > "C:/t > estcenter/release/wso2/download/axis2-aar-maven-plugin-1.6-wso2v4.jar" > > are the same since I am working in the C:. > Yes, In that case you have done it correctly. Did you try "testcenter/release/wso2/download/axis2-aar-maven-plugin-1.6-wso2v4.jar" without "/". In this case, it is the only possibility other than jar does not exist in the location you are pointing. Thanks and Regards, Harshana > > So this is not a problem. I checked it makes the same error if I add "C:" > there. > > Thanks, > > Xue-Feng > > ------------------------------ > *From:* Harshana Martin <[email protected]> > *To:* [email protected] > *Sent:* Thu, February 17, 2011 3:03:22 PM > > *Subject:* Re: [Carbon-dev] Axis2 Service in ShoppingCart Sample in Carbon > Studio > > Hi, > > On Thu, Feb 17, 2011 at 11:49 AM, Xue-Feng Yang <[email protected]>wrote: > >> Still no luck. >> >> C:\myworkspace\shopping-cart\connector-service> mvn install:install-file >> -DgroupId=org.apache.axis2 -DartifactId=axis2-aar-maven-plugin >> -Dversion=1.6-wso2v4 -Dp >> ackaging=maven-plugin >> -Dfile=/testcenter/release/wso2/download/axis2-aar-maven-plugin-1.6-wso2v4.jar >> > > Path you have given is wrong here. Drive "C:/" is missing here. It should > be "C:/t > estcenter/release/wso2/download/axis2-aar-maven-plugin-1.6-wso2v4.jar" > > Thanks and Regards, > Harshana > > [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'install'. >> >> Downloading: >> http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/axis2-aar-maven-plugin-1.6-wso2v4.jar >> [INFO] Unable to find resource >> 'org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4' in >> repository central (http://repo1.maven.org/maven2) >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Plugin could not be found - check that the goal name is correct: >> 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.apache.axis2 >> -DartifactId=axis2-aar-maven-plugin -Dversion=1.6-wso2v4 >> -Dpackaging=maven-plugin -Dfile=/path/to/file >> >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.apache.axis2 >> -DartifactId=axis2-aar-maven-plugin -Dversion=1.6-wso2v4 >> -Dpackaging=maven-plugin -Dfile=/path/to/file -Du >> >> rl=[url] -DrepositoryId=[id] >> >> >> org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 2 seconds >> [INFO] Finished at: Thu Feb 17 14:15:17 CST 2011 >> [INFO] Final Memory: 2M/4M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> ------------------------------ >> *From:* Harshana Martin <[email protected]> >> >> *To:* [email protected] >> *Sent:* Thu, February 17, 2011 1:58:46 PM >> >> *Subject:* Re: [Carbon-dev] Axis2 Service in ShoppingCart Sample in >> Carbon Studio >> >> Hi, >> >> On Thu, Feb 17, 2011 at 10:54 AM, Xue-Feng Yang <[email protected]>wrote: >> >>> I used your suggeston 2 and 3. I had the followng error: >>> >>> C:\myworkspace\shopping-cart\connector-service>mvn eclipse:eclipse >>> >>> [INFO] Scanning for projects... >>> [INFO] Searching repository for plugin with prefix: 'eclipse'. >>> Downloading: >>> http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/axis2-aar-maven-plugin-1.6-wso2v4.pom >>> [INFO] Unable to find resource >>> 'org.apache.axis2:axis2-aar-maven-plugin:pom:1.6-wso2v4' in repository >>> central (http://repo1.maven.org/maven2) >>> Downloading: >>> http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/axis2-aar-maven-plugin-1.6-wso2v4.pom >>> 4K downloaded >>> Downloading: >>> http://repo1.maven.org/maven2/org/apache/axis2/axis2-parent/1.6-wso2v4/axis2-parent-1.6-wso2v4.pom >>> [INFO] Unable to find resource >>> 'org.apache.axis2:axis2-parent:pom:1.6-wso2v4' in repository central ( >>> http://repo1.maven.org/maven2) >>> Downloading: >>> http://dist.wso2.org/maven2/org/apache/axis2/axis2-parent/1.6-wso2v4/axis2-parent-1.6-wso2v4.pom >>> 45K downloaded >>> Downloading: >>> http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/axis2-aar-maven-plugin-1.6-wso2v4.jar >>> [INFO] Unable to find resource >>> 'org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4' in >>> repository central (http://repo1.maven.org/maven2) >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] BUILD ERROR >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Plugin could not be found - check that the goal name is correct: >>> 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.apache.axis2 >>> -DartifactId=axis2-aar-maven-plugin -Dversion=1.6-wso2v4 >>> -Dpackaging=maven-plugin -Dfile=/path/to/f >>> >>> Alternatively, if you host your own repository you can deploy the file >>> there: >>> mvn deploy:deploy-file -DgroupId=org.apache.axis2 >>> -DartifactId=axis2-aar-maven-plugin -Dversion=1.6-wso2v4 >>> -Dpackaging=maven-plugin -Dfile=/path/to/fil >>> rl=[url] -DrepositoryId=[id] >>> >>> >>> org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >>> >>> >>> from the specified remote repositories: >>> central (http://repo1.maven.org/maven2) >>> >>> >>> org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >>> >> >> Reason: >> >> Maven only checks maven central for >> org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >> plugin. But not the dist.wso2.org. >> >> Fix: >> >> Downloading org.apache.axis2:axis2-aar-maven-plugin:maven-plugin:1.6-wso2v4 >> manually and installing it manually using the above given command. >> >> Steps: >> >> 1. Download >> axis2-aar-maven-plugin-1.6-wso2v4.jar<http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/axis2-aar-maven-plugin-1.6-wso2v4.jar> >> from >> http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.6-wso2v4/ >> . >> >> 2. mvn install:install-file -DgroupId=org.apache.axis2 >> -DartifactId=axis2-aar-maven-plugin -Dversion=1.6-wso2v4 >> -Dpackaging=maven-plugin -Dfile=*/path/to/file* >> >> Here , replace */path/to/file *with the path to your downloaded jar. For >> example, if you have downloaded it to the your home directory, path should >> be some thing like *home/harshana/a** >> xis2-aar-maven-plugin-1.6-wso2v4.jar.* >> * >> * >> 3. Start mvn eclipse:eclipse again. >> >> Thanks and Regards, >> Harshana >> >>> >>> >>> from the specified remote repositories: >>> central (http://repo1.maven.org/maven2) >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 2 seconds >>> [INFO] Finished at: Thu Feb 17 13:15:38 CST 2011 >>> [INFO] Final Memory: 3M/5M >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> ------------------------------ >>> *From:* Saminda Wijeratne <[email protected]> >>> >>> *To:* [email protected] >>> *Sent:* Thu, February 17, 2011 12:56:23 PM >>> >>> *Subject:* Re: [Carbon-dev] Axis2 Service in ShoppingCart Sample in >>> Carbon Studio >>> >>> 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 <[email protected]>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 <[email protected]> >>>> *To:* [email protected] >>>> *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 <[email protected]> >>>> *To:* [email protected] >>>> *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 >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> _______________________________________________ >>> 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 >> >> > > > -- > 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 > > -- 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
