You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2005/10/14 01:46:11 UTC

[jira] Created: (MEV-113) spring-mock depends on struts, which fails to download

spring-mock depends on struts, which fails to download
------------------------------------------------------

         Key: MEV-113
         URL: http://jira.codehaus.org/browse/MEV-113
     Project: Maven Evangelism
        Type: Bug
  Components: Invalid POM  
 Reporter: Matt Raible


I'm using Maven 2's Ant Tasks in my build.xml:

<dependency artifactId="spring-mock" groupId="springframework" version="1.2.5"/>

When I add the line above, I get:

[artifact:dependencies] Resolving dependencies...
[artifact:dependencies] Downloading: springframework/spring-mock/1.2.5/spring-mo
ck-1.2.5.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] [WARNING]
[artifact:dependencies]   This artifact has been relocated to javax.sql:jdbc-std
ext:2.0.
[artifact:dependencies]

[artifact:dependencies] Downloading: struts/struts/1.2.7/struts-1.2.7.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote
(http://repo1.maven.org/maven2)
[artifact:dependencies] [WARNING]
[artifact:dependencies]   ***** Using defaults for missing POM struts:struts:pom
:1.2.7 *****

BUILD FAILED

spring-mock.jar does not have any dependencies on struts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MEV-113) spring-mock depends on struts, which fails to download

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-113?page=all ]
     
Carlos Sanchez closed MEV-113:
------------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

> spring-mock depends on struts, which fails to download
> ------------------------------------------------------
>
>          Key: MEV-113
>          URL: http://jira.codehaus.org/browse/MEV-113
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible
>     Assignee: Carlos Sanchez

>
>
> I'm using Maven 2's Ant Tasks in my build.xml:
> <dependency artifactId="spring-mock" groupId="springframework" version="1.2.5"/>
> When I add the line above, I get:
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Downloading: springframework/spring-mock/1.2.5/spring-mo
> ck-1.2.5.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   This artifact has been relocated to javax.sql:jdbc-std
> ext:2.0.
> [artifact:dependencies]
> [artifact:dependencies] Downloading: struts/struts/1.2.7/struts-1.2.7.pom
> [artifact:dependencies] [WARNING] Unable to get resource from repository remote
> (http://repo1.maven.org/maven2)
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   ***** Using defaults for missing POM struts:struts:pom
> :1.2.7 *****
> BUILD FAILED
> spring-mock.jar does not have any dependencies on struts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-113) spring-mock depends on struts, which fails to download

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-113?page=comments#action_48592 ] 

Matt Raible commented on MEV-113:
---------------------------------

FWIW I don't think any of the dependencies (spring-jdbc and spring-web) listed in spring-mock-1.2.5.pom are required.

> spring-mock depends on struts, which fails to download
> ------------------------------------------------------
>
>          Key: MEV-113
>          URL: http://jira.codehaus.org/browse/MEV-113
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible

>
>
> I'm using Maven 2's Ant Tasks in my build.xml:
> <dependency artifactId="spring-mock" groupId="springframework" version="1.2.5"/>
> When I add the line above, I get:
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Downloading: springframework/spring-mock/1.2.5/spring-mo
> ck-1.2.5.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   This artifact has been relocated to javax.sql:jdbc-std
> ext:2.0.
> [artifact:dependencies]
> [artifact:dependencies] Downloading: struts/struts/1.2.7/struts-1.2.7.pom
> [artifact:dependencies] [WARNING] Unable to get resource from repository remote
> (http://repo1.maven.org/maven2)
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   ***** Using defaults for missing POM struts:struts:pom
> :1.2.7 *****
> BUILD FAILED
> spring-mock.jar does not have any dependencies on struts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-113) spring-mock depends on struts, which fails to download

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-113?page=comments#action_48603 ] 

Carlos Sanchez commented on MEV-113:
------------------------------------

The struts pom should be there in few hours.

About the other question, spring-mock requires the other spring modules to be compiled

When compiling spring mock this is the dependency tree

springframework:spring-mock:jar:1.2.5 (selected for null)
  springframework:spring-jdbc:jar:1.2.5 (selected for compile)
    c3p0:c3p0:jar:0.9.0 (selected for compile)
    com.experlog:xapool:jar:1.5.0 (selected for compile)
    springframework:spring-beans:jar:1.2.5 (selected for compile)
      cglib:cglib:jar:2.1_2 (selected for compile)
        asm:asm:jar:1.5.3 (selected for compile)
      springframework:spring-core:jar:1.2.5 (selected for compile)
        commons-collections:commons-collections:jar:3.1 (selected for compile)
          junit:junit:jar:3.8.1 (selected for compile)
        commons-logging:commons-logging:jar:1.0.4 (selected for compile)
          logkit:logkit:jar:1.0.1 (selected for compile)
          avalon-framework:avalon-framework:jar:4.1.3 (selected for compile)
          log4j:log4j:jar:1.2.6 (selected for compile)
    commons-dbcp:commons-dbcp:jar:1.2.1 (selected for compile)
      jdbc:jdbc:jar:2.0 (selected for compile)
      junit:junit:jar:3.8.1 (removed - nearer found: 3.8.1)
      junit:junit:jar:3.8.1 (selected for compile)
      commons-pool:commons-pool:jar:1.2 (selected for compile)
        junit:junit:jar:3.8.1 (removed - nearer found: 3.8.1)
        junit:junit:jar:3.8.1 (selected for compile)
        xerces:xerces:jar:2.0.2 (selected for compile)
        commons-collections:commons-collections:jar:2.1 (removed - nearer found: 3.1)
        commons-collections:commons-collections:jar:2.1 (selected for compile)
        xml-apis:xml-apis:jar:2.0.2 (selected for compile)
      xerces:xerces:jar:2.0.2 (removed - nearer found: 2.0.2)
      xerces:xerces:jar:2.0.2 (selected for compile)
      xml-apis:xml-apis:jar:2.0.2 (removed - nearer found: 2.0.2)
      xml-apis:xml-apis:jar:2.0.2 (selected for compile)
      commons-collections:commons-collections:jar:3.1 (removed - nearer found: 2.1)
      commons-collections:commons-collections:jar:2.1 (selected for compile)
        junit:junit:jar:3.7 (removed - nearer found: 3.8.1)
        junit:junit:jar:3.7 (selected for compile)
    springframework:spring-dao:jar:1.2.5 (selected for compile)
      javax.transaction:jta:jar:1.0.1B (selected for compile)
      springframework:spring-context:jar:1.2.5 (selected for compile)
        springframework:spring-aop:jar:1.2.5 (selected for compile)
          aopalliance:aopalliance:jar:1.0 (selected for compile)
          springframework:spring-beans:jar:1.2.5 (removed - nearer found: 1.2.5)
          springframework:spring-beans:jar:1.2.5 (selected for compile)
          oro:oro:jar:2.0.8 (selected for compile)
          commons-attributes:commons-attributes-compiler:jar:2.1 (selected for compile)
          commons-attributes:commons-attributes-api:jar:2.1 (selected for compile)
          commons-pool:commons-pool:jar:1.2 (removed - nearer found: 1.2)
          commons-pool:commons-pool:jar:1.2 (selected for compile)
          com.jamonapi:jamon:jar:1.0 (selected for compile)
        jasperreports:jasperreports:jar:1.0.2 (selected for compile)
        velocity:velocity:jar:1.4 (selected for compile)
        freemarker:freemarker:jar:2.3.3 (selected for compile)
      jotm:jotm:jar:2.0.10 (selected for compile)
  springframework:spring-web:jar:1.2.5 (selected for compile)
    struts:struts:jar:1.2.7 (selected for compile)
      commons-beanutils:commons-beanutils-core:jar:1.7.0 (selected for compile)
        junit:junit:jar:3.7 (removed - nearer found: 3.8.1)
        junit:junit:jar:3.7 (selected for compile)
        commons-logging:commons-logging:jar:1.0 (removed - nearer found: 1.0.4)
        commons-logging:commons-logging:jar:1.0 (selected for compile)
        commons-collections:commons-collections:jar:2.0 (removed - nearer found: 2.1)
        commons-collections:commons-collections:jar:2.0 (selected for compile)
    javax.servlet:jsp-api:jar:2.0 (selected for compile)
      javax.servlet:servlet-api:jar:2.4 (selected for compile)
    javax.faces:jsf-api:jar:1.1 (selected for compile)
      javax.servlet:jsp-api:jar:2.0 (removed - nearer found: 2.0)
      javax.servlet:jsp-api:jar:2.0 (selected for compile)
    javax.servlet:jstl:jar:1.0 (selected for compile)
      javax.servlet:servlet-api:jar:2.3 (removed - nearer found: 2.4)
      javax.servlet:servlet-api:jar:2.3 (selected for compile)
    springframework:spring-context:jar:1.2.5 (removed - nearer found: 1.2.5)
    springframework:spring-context:jar:1.2.5 (selected for compile)
      springframework:spring-aop:jar:1.2.5 (selected for compile)
        aopalliance:aopalliance:jar:1.0 (selected for compile)
        springframework:spring-beans:jar:1.2.5 (removed - nearer found: 1.2.5)
        springframework:spring-beans:jar:1.2.5 (selected for compile)
        oro:oro:jar:2.0.8 (selected for compile)
        commons-attributes:commons-attributes-compiler:jar:2.1 (selected for compile)
        commons-attributes:commons-attributes-api:jar:2.1 (selected for compile)
        commons-pool:commons-pool:jar:1.2 (removed - nearer found: 1.2)
        commons-pool:commons-pool:jar:1.2 (selected for compile)
        com.jamonapi:jamon:jar:1.0 (selected for compile)
      jasperreports:jasperreports:jar:1.0.2 (selected for compile)
      velocity:velocity:jar:1.4 (selected for compile)
      freemarker:freemarker:jar:2.3.3 (selected for compile)
    taglibs:standard:jar:1.0.6 (selected for compile)
    com.servlets:cos:jar:05Nov2002 (selected for compile)

> spring-mock depends on struts, which fails to download
> ------------------------------------------------------
>
>          Key: MEV-113
>          URL: http://jira.codehaus.org/browse/MEV-113
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible

>
>
> I'm using Maven 2's Ant Tasks in my build.xml:
> <dependency artifactId="spring-mock" groupId="springframework" version="1.2.5"/>
> When I add the line above, I get:
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Downloading: springframework/spring-mock/1.2.5/spring-mo
> ck-1.2.5.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   This artifact has been relocated to javax.sql:jdbc-std
> ext:2.0.
> [artifact:dependencies]
> [artifact:dependencies] Downloading: struts/struts/1.2.7/struts-1.2.7.pom
> [artifact:dependencies] [WARNING] Unable to get resource from repository remote
> (http://repo1.maven.org/maven2)
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   ***** Using defaults for missing POM struts:struts:pom
> :1.2.7 *****
> BUILD FAILED
> spring-mock.jar does not have any dependencies on struts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-113) spring-mock depends on struts, which fails to download

Posted by "Matt Raible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-113?page=comments#action_48648 ] 

Matt Raible commented on MEV-113:
---------------------------------

Since I already have spring as a dependency, it seems to me that I shouldn't need to exclude spring-web from spring-mock.  spring-web as a dependency tries to download struts, jsf and other classes that are required for compiling - but not at runtime.

        <dependency artifactId="spring" groupId="springframework" version="1.2.5"/>
        <dependency artifactId="spring-mock" groupId="springframework" version="1.2.5" scope="test">
            <exclusion artifactId="spring-jdbc" groupId="springframework"/>
            <exclusion artifactId="spring-web" groupId="springframework"/>
        </dependency>

> spring-mock depends on struts, which fails to download
> ------------------------------------------------------
>
>          Key: MEV-113
>          URL: http://jira.codehaus.org/browse/MEV-113
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible
>     Assignee: Carlos Sanchez

>
>
> I'm using Maven 2's Ant Tasks in my build.xml:
> <dependency artifactId="spring-mock" groupId="springframework" version="1.2.5"/>
> When I add the line above, I get:
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Downloading: springframework/spring-mock/1.2.5/spring-mo
> ck-1.2.5.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   This artifact has been relocated to javax.sql:jdbc-std
> ext:2.0.
> [artifact:dependencies]
> [artifact:dependencies] Downloading: struts/struts/1.2.7/struts-1.2.7.pom
> [artifact:dependencies] [WARNING] Unable to get resource from repository remote
> (http://repo1.maven.org/maven2)
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   ***** Using defaults for missing POM struts:struts:pom
> :1.2.7 *****
> BUILD FAILED
> spring-mock.jar does not have any dependencies on struts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org