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>
> > > .
> >
> >
> > 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>.
> > > 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
> > > >
> > > > 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

Reply via email to