geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yli...@ncsu.edu
Subject [geronimo-projects] Java Mail Portlet
Date Mon, 03 Dec 2007 02:35:47 GMT
Hi,

We are working on Java Mail Portlet and now we are stacked in building
Geronimo from source.
We tried to build Geronimo v2.0.2 from source in both Linux and Windows.
When building Geronimo in Linux, the first error was:
Downloading:
http://repo1.maven.org/maven2/org/apache/xbean/xbean-naming/3.2-r579367/xbean-naming-3.2-r579367.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.xbean:xbean-naming:jar:3.2-r579367

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.xbean
-DartifactId=xbean-naming \
          -Dversion=3.2-r579367 -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.xbean
-DartifactId=xbean-naming \
          -Dversion=3.2-r579367 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.geronimo.configs:client-corba-yoko:car:2.0.2
        2) org.apache.geronimo.configs:openejb-corba-deployer:car:2.0.2
        3) org.apache.geronimo.configs:j2ee-deployer:car:2.0.2
        4) org.apache.geronimo.modules:geronimo-client:jar:2.0.2
        5) org.apache.geronimo.modules:geronimo-naming:jar:2.0.2
        6) org.apache.xbean:xbean-naming:jar:3.2-r579367

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

for artifact:
  org.apache.geronimo.configs:client-corba-yoko:car:2.0.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (http://download.java.net/maven/1/),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
Then we searched on the link given and found that the existing version of
the file is 3.2 but not 3.2-r579367, which was then downloaded manually.
After we resumed installation, another error was thrown out,
[INFO] Searching repository for plugin with prefix: 'install'.
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven-plugin/3.2-r579367/car-maven-plugin-3.2-r579367.pom
Downloading:
http://download.java.net/maven/1//org.apache.geronimo.plugins/poms/car-maven-plugin-3.2-r579367.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/plugins/car-maven-plugin/3.2-r579367/car-maven-plugin-3.2-r579367.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven-plugin/3.2-r579367/car-maven-plugin-3.2-r579367.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO]   Geronimo Assemblies :: Minimal + Tomcat
[INFO] Failed to resolve artifact.

GroupId: org.apache.geronimo.plugins
ArtifactId: car-maven-plugin
Version: 3.2-r579367

Reason: Unable to download the artifact from any repository

  org.apache.geronimo.plugins:car-maven-plugin:pom:3.2-r579367

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (http://download.java.net/maven/1/),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
This time, there is no similar file existing on the links given.

Very similar but different errors were thrown out when we tried to build
Geronimo from source in Windows. Sometimes there were test failures and
sometimes there were dependency missing. So could you please tell us how
to build the project from source files? Thank you very much!

Yours Sincerely
Ying, Thomas and Moussa



Mime
View raw message