Magic does happen, try now :) On Wed, Jul 16, 2008 at 2:24 PM, Oscar Castaneda <[EMAIL PROTECTED]> wrote: > Thanks Luciano. I think you're right, removing bindings and implementations > will likely prove to be beneficial. However, I not yet able to build > calculator2 and so I don't have the jars for tuscany-runtime2, > tuscany-scdl4j, and tuscany-api. Below are the errors in case you have any > suggestions. > > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.apache.tuscany.sca:tuscany-runtime2:jar:1.4-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-runtime2 \ > -Dversion=1.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.tuscany.sca:sample-calculator2:jar:1.4-SNAPSHOT > 2) org.apache.tuscany.sca:tuscany-runtime2:jar:1.4-SNAPSHOT > > 2) org.apache.tuscany.sca:tuscany-scdl4j:jar:1.4-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-scdl4j \ > -Dversion=1.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.tuscany.sca:sample-calculator2:jar:1.4-SNAPSHOT > 2) org.apache.tuscany.sca:tuscany-scdl4j:jar:1.4-SNAPSHOT > > 3) org.apache.tuscany.sca:tuscany-api:jar:1.4-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-api \ > -Dversion=1.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.tuscany.sca:sample-calculator2:jar:1.4-SNAPSHOT > 2) org.apache.tuscany.sca:tuscany-api:jar:1.4-SNAPSHOT > > ---------- > 3 required artifacts are missing. > > for artifact: > org.apache.tuscany.sca:sample-calculator2:jar:1.4-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache.ws.zone (http://ws.zones.apache.org/repository2), > apache.incubator (http://people.apache.org/repo/m2-incubating-repository), > apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), > osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2), > indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/) > > > On Wed, Jul 16, 2008 at 11:00 PM, Luciano Resende <[EMAIL PROTECTED]> > wrote: >> >> Trying calculator2 on Adnroid might be a good option. I'm not aware of >> all the changes Adriano did, so I can't comment on those, but one >> thing to keep in mind is that we could remove a lot of bindings and >> implementations from the runtime when doing this first try, and I >> guess calculator2 already does that. >> >> On Wed, Jul 16, 2008 at 1:04 PM, Oscar Castaneda >> <[EMAIL PROTECTED]> wrote: >> > Hi Luciano, >> > >> > Thanks for your help. I started looking into calculator2 by following >> > [1]. I >> > checked out revision 673092 and did an "mvn dependency:tree" to see all >> > the >> > jars needed to run the sample. This started building the calculator >> > sample >> > and ended up 1.4-SNAPSHOT related errors for the following: >> > >> > 1) org.apache.tuscany.sca:tuscany-runtime2:jar:1.4-SNAPSHOT >> > 2) org.apache.tuscany.sca:tuscany-scdl4j:jar:1.4-SNAPSHOT >> > 3) org.apache.tuscany.sca:tuscany-api:jar:1.4-SNAPSHOT >> > >> > With regards to calculator-android, after getting calculator2 to run on >> > my >> > computer I would think of retrotranslating the associated jars and then >> > trying to run calculator2 on Android making some of the adjustments >> > Adriano >> > did for calculator-android. Your thoughts on this are welcome. >> > >> > [1] http://www.mail-archive.com/[email protected]/msg00390.html >> > >> > On Fri, Jul 11, 2008 at 5:35 PM, Luciano Resende <[EMAIL PROTECTED]> >> > wrote: >> >> >> >> Sorry, I missed your first e-mail. >> >> >> >> I have deployed new snapshots for sca and modules. Please let me know >> >> if you still find issues. >> >> >> >> On Fri, Jul 11, 2008 at 6:06 AM, Oscar Castaneda >> >> <[EMAIL PROTECTED]> wrote: >> >> > Hi, >> >> > >> >> > I made some progress on this issue with the help of Adriano. He sent >> >> > me >> >> > the >> >> > files shown below and asked me to place them in >> >> > .m2\repository\org\apache\tuscany\sca\tuscany-sca\1.4-SNAPSHOT\ >> >> > >> >> > maven-metadata-apache.incubator.xml >> >> > maven-metadata-local.xml >> >> > tuscany-sca-1.4-SNAPSHOT.pom >> >> > >> >> > I'm now debugging as I can't import projects into Eclipse, even after >> >> > a >> >> > doing >> >> > >> >> > mvn clean install -fn >> >> > >> >> > I might sent a follow-up in this thread in case I can't resolve. >> >> > >> >> > On Wed, Jul 9, 2008 at 4:53 PM, Oscar Castaneda >> >> > <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> Hi Luciano, >> >> >> >> >> >> I never thanked you for your help on this one. Unfortunately, I'm >> >> >> running >> >> >> into exactly the same issue again. >> >> >> >> >> >> I checked out revision 674723 to test the integration of >> >> >> retrotranslator >> >> >> and maven. When I do a clean install I get the "Failed to resolve >> >> >> artifact" >> >> >> error. Last time you mentioned you had re-deployed the SNAPSHOT >> >> >> version >> >> >> for >> >> >> the sca module. I wonder if the change of the SCA trunk version from >> >> >> 2.0-incubating-SNAPSHOT to SNAPSHOT has anything to do with this. >> >> >> >> >> >> There was also mention of a missing repo section in the pom.xml >> >> >> file. >> >> >> The >> >> >> pom.xml in 1.4-SNAPSHOT doesn't have it either. Am I missing >> >> >> something? >> >> >> Any >> >> >> help or suggestions will be greatly appreciated. Below you will find >> >> >> the >> >> >> stack trace. >> >> >> >> >> >> $ mvn clean install -Dtest=no >> >> >> >> >> >> [INFO] Scanning for projects... >> >> >> [INFO] >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> [ERROR] FATAL ERROR >> >> >> [INFO] >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> [INFO] Failed to resolve artifact. >> >> >> >> >> >> GroupId: org.apache.tuscany.sca >> >> >> ArtifactId: tuscany-sca >> >> >> Version: 1.4-SNAPSHOT >> >> >> >> >> >> Reason: Unable to download the artifact from any repository >> >> >> >> >> >> org.apache.tuscany.sca:tuscany-sca:pom:1.4-SNAPSHOT >> >> >> >> >> >> from the specified remote repositories: >> >> >> central (http://repo1.maven.org/maven2) >> >> >> >> >> >> >> >> >> [INFO] >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> [INFO] Trace >> >> >> org.apache.maven.reactor.MavenExecutionException: Cannot find >> >> >> parent: >> >> >> org.apache.tuscany.sca:tuscany-sca for project: >> >> >> null:tuscany-modules:pom:null >> >> >> at >> >> >> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) >> >> >> at >> >> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290) >> >> >> at >> >> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> >> >> Method) >> >> >> at >> >> >> >> >> >> >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> >> at >> >> >> >> >> >> >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> >> at >> >> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> >> at >> >> >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >> >> at >> >> >> >> >> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot >> >> >> find >> >> >> parent: org.apache.tuscany.sca:tuscany-sca for project: >> >> >> null:tuscany-module >> >> >> s:pom:null >> >> >> at >> >> >> >> >> >> >> >> >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1264) >> >> >> at >> >> >> >> >> >> >> >> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:749) >> >> >> at >> >> >> >> >> >> >> >> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479) >> >> >> at >> >> >> >> >> >> >> >> >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200) >> >> >> at >> >> >> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537) >> >> >> at >> >> >> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467) >> >> >> at >> >> >> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364) >> >> >> ... 11 more >> >> >> Caused by: org.apache.maven.project.ProjectBuildingException: POM >> >> >> 'org.apache.tuscany.sca:tuscany-sca' not found in repository: Unable >> >> >> to >> >> >> download th >> >> >> e artifact from any repository >> >> >> >> >> >> >> >> >> >> >> >> On Thu, Jun 12, 2008 at 12:41 AM, Luciano Resende >> >> >> <[EMAIL PROTECTED]> >> >> >> wrote: >> >> >>> >> >> >>> The version you are looking for is in : >> >> >>> >> >> >>> >> >> >>> >> >> >>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/tuscany-sca/SNAPSHOT/ >> >> >>> >> >> >>> If you don't find a specific SNAPSHOT version of a module in a >> >> >>> repository, you can always build it locally and it will be >> >> >>> installed >> >> >>> in your local maven repository. In your case, if you are looking >> >> >>> for >> >> >>> the sca pom, go to java/sca and do a "mvn -N clean install". >> >> >>> >> >> >>> I have also re-deployed the SNAPSHOT version for the sca module. >> >> >>> >> >> >>> On Wed, Jun 11, 2008 at 12:23 PM, Oscar Castaneda >> >> >>> <[EMAIL PROTECTED]> wrote: >> >> >>> > Yup, I cannot find it either. After adding it I get the same >> >> >>> > errors. >> >> >>> > From >> >> >>> > the errors I noticed its looking for this file: >> >> >>> > >> >> >>> > tuscany-sca-2.0-incubating-SNAPSHOT.pom >> >> >>> > >> >> >>> > On [1] there is no such file for the 2.0 branch. So I guess the >> >> >>> > problem >> >> >>> > is >> >> >>> > that its looking for a file it can't find. Then again this is >> >> >>> > exactly >> >> >>> > what >> >> >>> > the error states: >> >> >>> > >> >> >>> > Reason: Unable to download the artifact from any repository >> >> >>> > >> >> >>> > The strange thing is that I've been able to do this before when I >> >> >>> > followed >> >> >>> > Adriano's instructions for replicating his Eclipse workspace. The >> >> >>> > bug >> >> >>> > is of >> >> >>> > course a bigger concern - but what can I do now to build the >> >> >>> > source >> >> >>> > I >> >> >>> > checked out? >> >> >>> > >> >> >>> > >> >> >>> > [1] >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > http://people.apache.org/repo/m2-incubating-repository/org/apache/tuscany/sca/tuscany-sca/ >> >> >>> > >> >> >>> > On Wed, Jun 11, 2008 at 8:56 PM, ant elder <[EMAIL PROTECTED]> >> >> >>> > wrote: >> >> >>> > >> >> >>> >> Looks like you're right and thats missing which does seem like a >> >> >>> >> bug. >> >> >>> >> >> >> >>> >> ...ant >> >> >>> >> >> >> >>> >> On Wed, Jun 11, 2008 at 7:47 PM, Raymond Feng >> >> >>> >> <[EMAIL PROTECTED]> >> >> >>> >> wrote: >> >> >>> >> >> >> >>> >> > Hi, >> >> >>> >> > >> >> >>> >> > We should have the following maven repo declared in the >> >> >>> >> > pom.xml: >> >> >>> >> > >> >> >>> >> > <repository> >> >> >>> >> > <id>apache.snapshots</id> >> >> >>> >> > <name>Apache Snapshot Repository</name> >> >> >>> >> > >> >> >>> >> > <url>http://people.apache.org/repo/m2-snapshot-repository >> >> >>> >> </url> >> >> >>> >> > <releases> >> >> >>> >> > <enabled>false</enabled> >> >> >>> >> > </releases> >> >> >>> >> > <snapshots> >> >> >>> >> > <enabled>true</enabled> >> >> >>> >> > </snapshots> >> >> >>> >> > </repository> >> >> >>> >> > >> >> >>> >> > But I cannot find it anywhere in the pom.xml under the >> >> >>> >> > java/sca >> >> >>> >> > tree. Is >> >> >>> >> it >> >> >>> >> > a bug? If we build from "sca" folder, then it works fine. What >> >> >>> >> > about >> >> >>> >> > building modules/... from an empty local maven repo? >> >> >>> >> > >> >> >>> >> > Thanks, >> >> >>> >> > Raymond >> >> >>> >> > >> >> >>> >> > -------------------------------------------------- >> >> >>> >> > From: "Oscar Castaneda" <[EMAIL PROTECTED]> >> >> >>> >> > Sent: Wednesday, June 11, 2008 11:29 AM >> >> >>> >> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >> >> >>> >> > Subject: Re: Unable to download the artifact from any >> >> >>> >> > repository >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > Thanks ant. I tried it but unfortunately I'm getting the same >> >> >>> >> > problem. >> >> >>> >> >> I'll >> >> >>> >> >> continue looking at it, any suggestions are welcome. >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> On Wed, Jun 11, 2008 at 8:21 PM, ant elder >> >> >>> >> >> <[EMAIL PROTECTED]> >> >> >>> >> >> wrote: >> >> >>> >> >> >> >> >>> >> >> There's a Maven settings.xml we have for Tuscany the might >> >> >>> >> >> help >> >> >>> >> >> you at: >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml >> >> >>> >> >>> >> >> >>> >> >>> ...ant >> >> >>> >> >>> >> >> >>> >> >>> On Wed, Jun 11, 2008 at 7:13 PM, Oscar Castaneda < >> >> >>> >> >>> [EMAIL PROTECTED]> wrote: >> >> >>> >> >>> >> >> >>> >> >>> > > >> >> >>> >> >>> > > It doesn't look right that the first of those URLs is >> >> >>> >> >>> > > pointing >> >> >>> >> >>> > > at >> >> >>> >> my >> >> >>> >> >>> > apache >> >> >>> >> >>> > > space - > > >> >> >>> >> >>> > > >> >> >>> >> >>> > > >> >> >>> >> >>> > > http://people.apache.org/~antelder<http://people.apache.org/%7Eantelder> >> >> >>> >> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> > <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> > > . >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > Thanks alot ant, you're right! I changed settings.xml >> >> >>> >> >>> > following >> >> >>> >> >>> > an >> >> >>> >> old >> >> >>> >> >>> > email >> >> >>> >> >>> > thread. I deleted the file and executed mvn and its now >> >> >>> >> >>> > complaining > >> >> >>> >> >>> about >> >> >>> >> >>> > not being able to resolve artifacts (and that's solvable >> >> >>> >> >>> > my >> >> >>> >> >>> > manually >> >> >>> >> >>> > installing them I think). >> >> >>> >> >>> > >> >> >>> >> >>> > However, I was only testing this because of the problems I >> >> >>> >> >>> > was >> >> >>> >> >>> experiencing >> >> >>> >> >>> > when building revision 643746. Any ideas here? Maybe >> >> >>> >> >>> > modifying >> >> >>> >> >>> > the >> >> >>> >> >>> > settings.xml to get the required files from somewhere >> >> >>> >> >>> > else? >> >> >>> >> >>> > >> >> >>> >> >>> > Here's the trace: >> >> >>> >> >>> > >> >> >>> >> >>> > $ mvn clean install -Dtest=no >> >> >>> >> >>> > [INFO] Scanning for projects... >> >> >>> >> >>> > [INFO] >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > [ERROR] FATAL ERROR >> >> >>> >> >>> > [INFO] >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > [INFO] Failed to resolve artifact. >> >> >>> >> >>> > >> >> >>> >> >>> > GroupId: org.apache.tuscany.sca >> >> >>> >> >>> > ArtifactId: tuscany-sca >> >> >>> >> >>> > Version: 2.0-incubating-SNAPSHOT >> >> >>> >> >>> > >> >> >>> >> >>> > Reason: Unable to download the artifact from any >> >> >>> >> >>> > repository >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.tuscany.sca:tuscany-sca:pom:2.0-incubating-SNAPSHOT >> >> >>> >> >>> > >> >> >>> >> >>> > from the specified remote repositories: >> >> >>> >> >>> > central (http://repo1.maven.org/maven2) >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > [INFO] >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > [INFO] Trace >> >> >>> >> >>> > org.apache.maven.reactor.MavenExecutionException: Cannot >> >> >>> >> >>> > find >> >> >>> >> >>> > parent: >> >> >>> >> >>> > org.apache.tuscany.sca:tuscany-sca for project: >> >> >>> >> >>> > null:tuscany-modules:pom:null >> >> >>> >> >>> > at >> >> >>> >> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >> >>> >> >>> > at >> >> >>> >> >>> > org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >> >>> >> >>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> >> >>> >> >>> > Method) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >>> >> >>> > at java.lang.reflect.Method.invoke(Method.java:585) >> >> >>> >> >>> > at > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >> >>> >> >>> > at >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> >>> >> >>> > at >> >> >>> >> >>> > org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> >>> >> >>> > Caused by: >> >> >>> >> >>> > org.apache.maven.project.ProjectBuildingException: >> >> >>> >> >>> > Cannot >> >> >>> >> > >> >> >>> >> >>> find >> >> >>> >> >>> > parent: org.apache.tuscany.sca:tuscany-sca for project: >> >> >>> >> >>> > null:tuscany-modules:pom:null >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1264) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:749) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537) >> >> >>> >> >>> > at >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467) >> >> >>> >> >>> > at >> >> >>> >> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364) >> >> >>> >> >>> > ... 11 more >> >> >>> >> >>> > Caused by: >> >> >>> >> >>> > org.apache.maven.project.ProjectBuildingException: >> >> >>> >> >>> > POM >> >> >>> >> >>> > 'org.apache.tuscany.sca:tuscany-sca' not found in >> >> >>> >> >>> > repository: >> >> >>> >> >>> > Unable >> >> >>> >> to >> >> >>> >> >>> > download the artifact from any repository >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.tuscany.sca:tuscany-sca:pom:2.0-incubating-SNAPSHOT >> >> >>> >> >>> > >> >> >>> >> >>> > from the specified remote repositories: >> >> >>> >> >>> > central (http://repo1.maven.org/maven2) >> >> >>> >> >>> > >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1260) >> >> >>> >> >>> > ... 17 more >> >> >>> >> >>> > Caused by: > >> >> >>> >> >>> >> >> >>> >> >>> org.apache.maven.artifact.resolver.ArtifactNotFoundException: >> >> >>> >> >>> > Unable to download the artifact from any repository >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > org.apache.tuscany.sca:tuscany-sca:pom:2.0-incubating-SNAPSHOT >> >> >>> >> >>> > >> >> >>> >> >>> > from the specified remote repositories: >> >> >>> >> >>> > central (http://repo1.maven.org/maven2) >> >> >>> >> >>> > >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) >> >> >>> >> >>> > ... 18 more >> >> >>> >> >>> > Caused by: >> >> >>> >> >>> > org.apache.maven.wagon.ResourceDoesNotExistException: >> >> >>> >> Unable >> >> >>> >> >>> to >> >> >>> >> >>> > download the artifact from any repository >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) >> >> >>> >> >>> > at >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) >> >> >>> >> >>> > ... 20 more >> >> >>> >> >>> > [INFO] >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > [INFO] Total time: < 1 second >> >> >>> >> >>> > [INFO] Finished at: Wed Jun 11 20:08:02 CEST 2008 >> >> >>> >> >>> > [INFO] Final Memory: 1M/2M >> >> >>> >> >>> > [INFO] >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > On Wed, Jun 11, 2008 at 6:11 PM, ant elder >> >> >>> >> >>> > <[EMAIL PROTECTED]> >> >> >>> >> >>> wrote: >> >> >>> >> >>> > >> >> >>> >> >>> > > It doesn't look right that the first of those URLs is >> >> >>> >> >>> > > pointing >> >> >>> >> >>> > > at >> >> >>> >> my >> >> >>> >> >>> > apache >> >> >>> >> >>> > > space - > > >> >> >>> >> >>> > > >> >> >>> >> >>> > > >> >> >>> >> >>> > > http://people.apache.org/~antelder<http://people.apache.org/%7Eantelder> >> >> >>> >> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> <http://people.apache.org/%7Eantelder> >> >> >>> >> >>> > <http://people.apache.org/%7Eantelder>. >> >> >>> >> >>> > > Could there be some old config >> >> >>> >> >>> > > in you maven settings.xml file (eg at C:\Documents and >> >> >>> >> >>> > > Settings\Administrator\.m2\settings.xml) from when you >> >> >>> >> >>> > > reviewing >> >> >>> >> the >> >> >>> >> >>> 1.0 >> >> >>> >> >>> > > RC1a? >> >> >>> >> >>> > > >> >> >>> >> >>> > > ...ant >> >> >>> >> >>> > > >> >> >>> >> >>> > > On Wed, Jun 11, 2008 at 5:05 PM, Oscar Castaneda < >> >> >>> >> >>> > > [EMAIL PROTECTED]> wrote: >> >> >>> >> >>> > > >> >> >>> >> >>> > > > I continued looking into this issue and found that the >> >> >>> >> >>> > > > parent-2-incubating.pom can't be downloaded and thus >> >> >>> >> >>> > > > leads >> >> >>> >> >>> > > > to the >> >> >>> >> >>> > errors >> >> >>> >> >>> > > > shown below. I tested this by checking out the most >> >> >>> >> >>> > > > recent >> >> >>> >> version >> >> >>> >> >>> > > > of >> >> >>> >> >>> > the >> >> >>> >> >>> > > > java code and building as explained in [1]. >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > I read that a possible workaround might be to download >> >> >>> >> >>> > > > the >> >> >>> >> >>> > > > pom >> >> >>> >> and >> >> >>> >> >>> > > > do >> >> >>> >> >>> > > > things >> >> >>> >> >>> > > > manually but it's not possible to acces the file on >> >> >>> >> >>> > > > any >> >> >>> >> >>> > > > of >> >> >>> >> >>> > > > these >> >> >>> >> >>> URLs. >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > Is there anywhere else I can get this file from? Am I >> >> >>> >> >>> > > > missing >> >> >>> >> >>> > something? >> >> >>> >> >>> > > (I >> >> >>> >> >>> > > > feel like I might be doing something terribly >> >> >>> >> >>> > > > wrong...) >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > $ mvn clean install -Dtest=no >> >> >>> >> >>> > > > [INFO] Scanning for projects... >> >> >>> >> >>> > > > Downloading: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/~antelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom> >> >> >>> >> < >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> > >> >> >>> >> >>> < >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > >> >> >>> >> >>> < >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > >> >> >>> >> >>> > < >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > >> >> >>> >> >>> > > < >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > Downloading: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://ws.zones.apache.org/repository2/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > > Downloading: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2//org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > > Downloading: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > > Downloading: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/parent/2-incubating/parent-2-incubating.pom >> >> >>> >> >>> > > > [INFO] >> >> >>> >> >>> > > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > > > [ERROR] FATAL ERROR >> >> >>> >> >>> > > > [INFO] >> >> >>> >> >>> > > > >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> ------------------------------------------------------------------------ >> >> >>> >> >>> > > > [INFO] Failed to resolve artifact. >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > GroupId: org.apache.tuscany >> >> >>> >> >>> > > > ArtifactId: parent >> >> >>> >> >>> > > > Version: 2-incubating >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > Reason: Unable to download the artifact from any >> >> >>> >> >>> > > > repository >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > org.apache.tuscany:parent:pom:2-incubating >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > [1] >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > http://incubator.apache.org/tuscany/sca-java-development-guide.html >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > On Wed, Jun 11, 2008 at 10:43 AM, Oscar Castaneda < >> >> >>> >> >>> > > > [EMAIL PROTECTED]> wrote: >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > > Hi, >> >> >>> >> >>> > > > > >> >> >>> >> >>> > > > > I'm re-doing my SCA installation by following the >> >> >>> >> >>> > > > > steps >> >> >>> >> >>> > > > > in >> >> >>> >> >>> > > > > [1] >> >> >>> >> > >> >> >>> >> >>> > > > and >> >> >>> >> >>> > keep >> >> >>> >> >>> > > > > running into a problem when doing clean install: >> >> >>> >> >>> > > > > >> >> >>> >> >>> > > > > mvn clean install -Dtest=no >> >> >>> >> >>> > > > > >> >> >>> >> >>> > > > > After searching the mailing list archives I found >> >> >>> >> >>> > > > > some >> >> >>> >> >>> > > > > > > >> >> >>> >> >>> > > > > > > >> >> >>> >> >>> suggestions, >> >> >>> >> >>> > but >> >> >>> >> >>> > > > > haven't been able to resolve the problem. I posted >> >> >>> >> >>> > > > > the >> >> >>> >> >>> > > > > stack > >> >> >>> >> > >> >> >>> >> >>> > > trace >> >> >>> >> >>> in >> >> >>> >> >>> > > > [2]. >> >> >>> >> >>> > > > > What can be going wrong? Any suggestions? Any help >> >> >>> >> >>> > > > > is >> >> >>> >> >>> > > > > greatly >> >> >>> >> >>> > > > appreciated. >> >> >>> >> >>> > > > > >> >> >>> >> >>> > > > > [1] >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/30may2008 >> >> >>> >> >>> > > > > [2] >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/10Jun2008 >> >> >>> >> >>> > > > > -- >> >> >>> >> >>> > > > > best, >> >> >>> >> >>> > > > > -oscar >> >> >>> >> >>> > > > > >> >> >>> >> >>> > > > > Oscar Castañeda >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > -- >> >> >>> >> >>> > > > best, >> >> >>> >> >>> > > > -oscar >> >> >>> >> >>> > > > >> >> >>> >> >>> > > > Oscar Castañeda >> >> >>> >> >>> > > > >> >> >>> >> >>> > > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > >> >> >>> >> >>> > -- >> >> >>> >> >>> > best, >> >> >>> >> >>> > -oscar >> >> >>> >> >>> > >> >> >>> >> >>> > Oscar Castañeda >> >> >>> >> >>> > >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> -- >> >> >>> >> >> best, >> >> >>> >> >> -oscar >> >> >>> >> >> >> >> >>> >> >> Oscar Castañeda >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > -- >> >> >>> > best, >> >> >>> > -oscar >> >> >>> > >> >> >>> > Oscar Castañeda >> >> >>> > >> >> >>> >> >> >>> >> >> >>> >> >> >>> -- >> >> >>> Luciano Resende >> >> >>> Apache Tuscany Committer >> >> >>> http://people.apache.org/~lresende >> >> >>> http://lresende.blogspot.com/ >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> best, >> >> >> -oscar >> >> >> >> >> >> Oscar Castañeda >> >> > >> >> > >> >> > -- >> >> > best, >> >> > -oscar >> >> > >> >> > Oscar Castañeda >> >> >> >> >> >> >> >> -- >> >> Luciano Resende >> >> Apache Tuscany Committer >> >> http://people.apache.org/~lresende >> >> http://lresende.blogspot.com/ >> > >> > >> > >> > -- >> > best, >> > -oscar >> > >> > Oscar Castañeda >> >> >> >> -- >> Luciano Resende >> Apache Tuscany Committer >> http://people.apache.org/~lresende >> http://lresende.blogspot.com/ > > > > -- > best, > -oscar > > Oscar Castañeda
-- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
