Hey,
I am facing a similar probem when building SCA code using "mvn"
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory:
E:\TUSCANY\SCASource\java\sca\itest\wsdl\target\sdo-source added
[INFO] [tuscany-sdo:generate {execution: generate-sdo}]
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/tuscany/sc
/tuscany-implementation-notification/1.0-incubating-SNAPSHOT/tuscany-implementation-notif
cation-1.0-incubating-SNAPSHOT.jar
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/sca/
uscany-implementation-notification/1.0-incubating-SNAPSHOT/tuscany-implementation-notific
tion-1.0-incubating-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1)
org.apache.tuscany.sca:tuscany-implementation-notification:jar:1.0-incubating-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-impl
mentation-notification \
-Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn d
ploy:deploy-file
-DgroupId=org.apache.tuscany.sca-DartifactId=tuscany-implementation-not
fication \
-Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.tuscany.sca:tuscany-binding-notification:jar:1.0-incubating-SNAPSHO
2)
org.apache.tuscany.sca:tuscany-implementation-notification:jar:1.0-incubating-
NAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.tuscany.sca:tuscany-binding-notification:jar:1.0-incubating-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Thu Jul 26 15:37:16 IST 2007
[INFO] Final Memory: 23M/42M
[INFO]
------------------------------------------------------------------------
Can anyone put some thought on it?
Regards,
Naveen
On 7/26/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:
>
> I ran into problems where the plugin requests for one version of the
> artifact but gets back a different version of the artifact. Something
> like...
>
> Searching for commonj/sdo- api-r2.1/1.0-incubating-SNAPSHOT/jar at
> http://people.apache.org/repo/m2-incubating-repository
> Downloading commonj/sdo-api-r2.1/1.0-incubating-beta1/jar...
>
> Do you think it is similar to the problem you are seeing?
>
> Vamsi
>
> On 7/26/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> >
> > This might be something related to new versions of some maven plugins
> > as I was able to find an old version of the repository, and I was able
> > to build from that ok. So, maybe it's not a good idea to clean your
> > repo or use a mvn -U right now.
> >
> > On 7/25/07, Luciano Resende < [EMAIL PROTECTED]> wrote:
> > > If I remove o.a.tuscany/sca from my local maven repository, and then
> > > try to build SCA, I'm having all weired issues around missing
> > > dependencies from artifacts that are supposed to get built during the
> > > build I'm executing. I also noticed that maven is resolving some other
> > > artifacts to its published SNAPSHOT, instead of the one that is
> > > supposed to get built. I tried in two machines and can reproduce the
> > > error, the same way, in both...
> > >
> > > Below are some of the missing dependencies... but the first one to
> > > fail for me is implementation-notification, also note that, if you go
> > > and build it manually, then you can progress further, until when maven
> > > feel bad about some other dependencies...
> > >
> > > Any suggestions ? Ideas ?
> > >
> > >
> > >
> > > Missing:
> > > ----------
> > > 1)
> > org.apache.tuscany.sca:tuscany-distributed:jar:1.0-incubating-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-distributed \
> > > -Dversion=1.0-incubating-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.apa
> > > ributed \
> > > -Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar
> > > -Dfile=/path/to/file \
> > > -Durl=[url] -DrepositoryId=[id]
> > >
> > > Path to dependency:
> > > 1)
> > org.apache.tuscany.sca:tuscany-binding-sca:jar:1.0-incubating-SNAPSHOT
> > > 2)
> > org.apache.tuscany.sca:tuscany-distributed:jar:1.0-incubating-SNAPSHOT
> > >
> > > 2)
> > org.apache.tuscany.sca:tuscany-binding-jms:jar:1.0-incubating-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-jms \
> > > -Dversion=1.0-incubating-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.apa
> > > ing-jms \
> > > -Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar
> > > -Dfile=/path/to/file \
> > > -Durl=[url] -DrepositoryId=[id]
> > >
> > > Path to dependency:
> > > 1)
> > org.apache.tuscany.sca:tuscany-binding-sca:jar:1.0-incubating-SNAPSHOT
> > > 2)
> > org.apache.tuscany.sca:tuscany-binding-jms:jar:1.0-incubating-SNAPSHOT
> > >
> > > ----------
> > > 2 required artifacts are missing.
> > >
> > > for artifact:
> > >
> org.apache.tuscany.sca:tuscany-binding-sca:jar:1.0-incubating-SNAPSHOT
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2),
> > > apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > ),
> > > apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository
> > )
> > >
> > >
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] Total time: 21 seconds
> > > [INFO] Finished at: Wed Jul 25 16:59:30 PDT 2007
> > > [INFO] Final Memory: 19M/35M
> > > [INFO]
> > ------------------------------------------------------------------------
> > >
> > > --
> > > Luciano Resende
> > > Apache Tuscany Committer
> > > http://people.apache.org/~lresende<
> http://people.apache.org/%7Elresende>
> > > http://lresende.blogspot.com/
> > >
> >
> >
> > --
> > Luciano Resende
> > Apache Tuscany Committer
> > http://people.apache.org/~lresende <http://people.apache.org/%7Elresende
> >
> > http://lresende.blogspot.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>