Hi, Looks like this org.apache.geronimo.samples:myphonebook-ejb:jar is a sample jar that is supposed to be built part of the myphonebook project. Maybe you could go to the ejb folder and do a "mvn install" first to build that.

If you have a pretty good m2 local repo, you can just build offline by doing "mvn -o".

Lin

dbrenck wrote:
Hi there,

n00b question: where can i get the missing artifact from. Is there a list of
alternative repositories somewhere? Did i missconfigure maven??

My error message: (please dont quote it in ur answers ;-)

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: Missing:
----------
1) org.apache.geronimo.samples:myphonebook-ejb:jar:2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.geronimo.samples
-DartifactId=myphonebook-ejb \
          -Dversion=2.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.geronimo.samples
-DartifactId=myphonebook-ejb \
          -Dversion=2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.geronimo.samples:myphonebook-war:war:2.0-SNAPSHOT
        2) org.apache.geronimo.samples:myphonebook-ejb:jar:2.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.apache.geronimo.samples:myphonebook-war:war:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache-incubator
(http://people.apache.org/repo/m2-incubating-repository/),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 31 seconds

Btw.: this maven thing is hard stuff for me. I m often on the train, when
experimenting with ejb/jboss/glassfish and geronimo. Got no internet link
then, while geronimo examles and builds do often need maven to download
<?whatever?>. Thats anoying somehow.
Is there a way to convert pom.xml to build.xml (ant)? (Yes, I know about the
.m2 repository - but it always seems to be incomplete...)


Reply via email to