I'm wanting to exercise a sample webapp or two to understand how to
configure my own app. I'm having a few issues.
I guess these are just point in time issues with regards to releasing,
but here's a log of my experience to date
In the source hierarchy the readme for the sample store webapp said I
could go to the binary distribution and run "ant run" to run the
sample, but that sample isn't in the 2.0 M4 binary release
So I tried deploying the helloworld war that is in that disribution,
which appears fine in the tomcat manager,
but i get error 404 ...
type Status report
message /helloworld/
description The requested resource (/helloworld/) is not available.
when I click on the helloworld link in the tomcat manager
so I went to webapps-helloworld-rest and tried to build that and from
maven I see ...
[INFO] Unable to find resource
'org.apache.tuscany.sca:tuscany-binding-rest-runtime:jar:2.0-SNAPSHOT'
in repository apache.snapshots (http:/
/repository.apache.org/snapshots)
933K downloaded (jersey-bundle-1.0.3.jar)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.tuscany.sca:tuscany-binding-rest-runtime:jar:2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.tuscany.sca
-DartifactId=tuscany-binding-rest-runtime -Dversion=2.0-SNAPSHOT
-Dpackaging
=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.tuscany.sca
-DartifactId=tuscany-binding-rest-runtime -Dversion=2.0-SNAPSHOT
-Dpackaging=j
ar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.tuscany.sca:sample-helloworld-rest-webapp:war:2.0-SNAPSHOT
2) org.apache.tuscany.sca:tuscany-binding-rest-runtime:jar:2.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.tuscany.sca:sample-helloworld-rest-webapp:war:2.0-SNAPSHOT
from the specified remote repositories:
indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/),
java.net (http://download.java.net/maven/1),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
maven2-repository.dev.java.net (http://download.java.net/maven/2/),
java.net2 (http://download.java.net/maven/2),
apache.ws.zone (http://ws.zones.apache.org/repository2),
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2),
intalio.org (http://www.intalio.org/public/maven2),
tuscany.repo (http://svn.apache.org/repos/asf/tuscany/maven),
maven.central (http://repo2.maven.org/maven2),
osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
maven-repository.dev.java.net (http://download.java.net/maven/1)
I'll plug on, but if anyone has spotted something I'm doing wrong I'd
be grateful to know.