You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Erel Segal <er...@gmail.com> on 2008/05/20 13:58:02 UTC

3 components missing while trying to run the Java server

After building Shindig, I tried to run the Java server as instructed:

C:\shindig\java\server>mvn jetty:run-war

I got a build error saying 3 components are missing, and advising me to
download the files manually from the project website. I didn't find those
files on the website. What am I doing wrong?

Erel

---

Error messages attached below:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.shindig
-DartifactId=shindig
-gadgets -Dversion=1-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.shindig
-DartifactId=shindig-g
adgets -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Dr
epositoryId=[id]

  Path to dependency:
        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
        2) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT

2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.shindig
-DartifactId=shindig
-social-api -Dversion=1-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.shindig
-DartifactId=shindig-s
ocial-api -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
        2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT

3) org.apache.shindig:shindig-features:jar:1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.shindig
-DartifactId=shindig
-features -Dversion=1-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.shindig
-DartifactId=shindig-f
eatures -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -D
repositoryId=[id]

  Path to dependency:
        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
        2) org.apache.shindig:shindig-features:jar:1-SNAPSHOT

----------
3 required artifacts are missing.

for artifact:
  org.apache.shindig:shindig-server:war:1-SNAPSHOT

from the specified remote repositories:
  oauth (http://oauth.googlecode.com/svn/code/maven),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache-incubating (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  caja (http://google-caja.googlecode.com/svn/maven)

Re: 3 components missing while trying to run the Java server

Posted by John Hjelmstad <fa...@google.com>.
Hi Erel:

Strange, you ran "mvn install" from Shindig root?

FWIW, I find it most convenient these days to run all mvn commands from
Shindig root. The simplest is:
$ cd shindig
$ mvn install
$ mvn -Prun

Might this work for you?

--John

On Tue, May 20, 2008 at 4:58 AM, Erel Segal <er...@gmail.com> wrote:

> After building Shindig, I tried to run the Java server as instructed:
>
> C:\shindig\java\server>mvn jetty:run-war
>
> I got a build error saying 3 components are missing, and advising me to
> download the files manually from the project website. I didn't find those
> files on the website. What am I doing wrong?
>
> Erel
>
> ---
>
> Error messages attached below:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig
> -gadgets -Dversion=1-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.shindig
> -DartifactId=shindig-g
> adgets -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url]
> -Dr
> epositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
>        2) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
>
> 2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig
> -social-api -Dversion=1-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.shindig
> -DartifactId=shindig-s
> ocial-api -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url]
> -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
>        2) org.apache.shindig:shindig-social-api:jar:1-SNAPSHOT
>
> 3) org.apache.shindig:shindig-features:jar:1-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.shindig
> -DartifactId=shindig
> -features -Dversion=1-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.shindig
> -DartifactId=shindig-f
> eatures -Dversion=1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url] -D
> repositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.shindig:shindig-server:war:1-SNAPSHOT
>        2) org.apache.shindig:shindig-features:jar:1-SNAPSHOT
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
>  org.apache.shindig:shindig-server:war:1-SNAPSHOT
>
> from the specified remote repositories:
>  oauth (http://oauth.googlecode.com/svn/code/maven),
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  apache-incubating (http://people.apache.org/repo/m2-snapshot-repository),
>  central (http://repo1.maven.org/maven2),
>  caja (http://google-caja.googlecode.com/svn/maven)
>