geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject M2 : Dependency woes
Date Mon, 05 Jun 2006 13:09:45 GMT
Hi,
   I am trying to build the jetty module. I had to exclude the
following dependencies. All these dependencies have either been removed
or have a different version available at repo1.maven.org/maven2. What
is the best way to handle this? If I do not exclude, I get the error
pasted below :  

       <dependency>
           <groupId>springframework</groupId>
            <artifactId>spring</artifactId>
            <version>${wadiSpringVersion}</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.mail</groupId>
                    <artifactId>mail</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.transaction</groupId>
                    <artifactId>jta</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.resource</groupId>
                    <artifactId>connector</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Thanks
Anita


Missing:
----------
1) javax.resource:connector:jar:1.0

  Try downloading the file manually from:
      http://java.sun.com/j2ee/connector/download.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.resource
-DartifactId=connector \
          -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-jetty:jar:1.2-SNAPSHOT
        2) org.springframework:spring:jar:1.2.5
        3) org.springframework:spring-support:jar:1.2.5
        4) javax.resource:connector:jar:1.0

2) javax.activation:activation:jar:1.0.2

  Try downloading the file manually from:
      http://java.sun.com/products/javabeans/glasgow/jaf.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.activation
-DartifactId=activation \
          -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-jetty:jar:1.2-SNAPSHOT
        2) org.springframework:spring:jar:1.2.5
        3) org.springframework:spring-support:jar:1.2.5
        4) javax.mail:mail:jar:1.3.2
        5) javax.activation:activation:jar:1.0.2

3) javax.transaction:jta:jar:1.0.1B

  Try downloading the file manually from:
      http://java.sun.com/products/jta

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.transaction
-DartifactId=jta \
          -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-jetty:jar:1.2-SNAPSHOT
        2) org.springframework:spring:jar:1.2.5
        3) org.springframework:spring-remoting:jar:1.2.5
        4) org.springframework:spring-dao:jar:1.2.5
        5) javax.transaction:jta:jar:1.0.1B

4) javax.mail:mail:jar:1.3.2

  Try downloading the file manually from:
      http://java.sun.com/products/javamail/downloads/index.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.mail -DartifactId=mail \
          -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-jetty:jar:1.2-SNAPSHOT
        2) org.springframework:spring:jar:1.2.5
        3) org.springframework:spring-support:jar:1.2.5
        4) javax.mail:mail:jar:1.3.2

----------
4 required artifacts are missing.

for artifact:
  org.apache.geronimo.modules:geronimo-jetty:jar:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven2-central (http://repo1.maven.org/maven2),
  codehaus-dist (http://dist.codehaus.org),
  Apache CVS (http://people.apache.org/maven-snapshot-repository),
  maven1-ibiblio (http://www.ibiblio.org/maven),
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache-cvs (http://cvs.apache.org/repository)


[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 minute 1 second
[INFO] Finished at: Mon Jun 05 08:47:08 EDT 2006
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message