When I run the logging-scribe sample I get...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.thrift:libthrift:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.thrift -DartifactId=libthrif
t -Dversion=1.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.thrift -DartifactId=libthrift
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposi
toryId=[id]
Path to dependency:
1) org.apache.tuscany.sca:sample-logging-scribe:jar:2.0-SNAPSHOT
2) org.apache.thrift:libthrift:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.tuscany.sca:sample-logging-scribe:jar:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/),
java.net (http://download.java.net/maven/1),
ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2),
intalio.org (http://www.intalio.org/public/maven2),
tuscany.repo (http://svn.apache.org/repos/asf/tuscany/maven),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
java.net2 (http://download.java.net/maven/2),
apache.ws.zone (http://ws.zones.apache.org/repository2),
osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2)
So firstly this sample depends on a snapshot which isn't great. Thrift
isn't represented in the new snapshot repo hence the build can't find
it. The sample is commented out at the moment so I guess someone who
knows about it could fix it or we could move it to contrib if it's not
ready for release?
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com