You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Steve Loughran (JIRA)" <ji...@codehaus.org> on 2005/09/14 17:26:02 UTC

[jira] Created: (MNG-892) Bad handling of unsupported (i.e maven1) pom files

Bad handling of unsupported (i.e maven1) pom files
--------------------------------------------------

         Key: MNG-892
         URL: http://jira.codehaus.org/browse/MNG-892
     Project: Maven 2
        Type: Bug
  Components: maven-ant-plugin  
 Environment: java 1.5 on linux
 Reporter: Steve Loughran


I'm trying to pull down something that depends on geronimo-spec-javamail/1.3.1-rc5

Ths file is in the legacy cvs pom, which the ant tasks fail on. 

1. no message identifying the .pom at fault is show, except in -verbose. All you get is "Unable to resolve artifact" without any more details. Please show the exception text at the bottom.

2. maybe the fact that pom isnt very clean doesnt help; it refers to ../project.xml and uses property settings from there to define its own dependencies. but the underlying error is 

Unrecognised tag: 'pomVersion' (position: START_TAG seen ...<project>\r\n    <pomVersion>... @22:17) 

this is just something pulled from a legacy filestore. If you dont handle the old layout/pom, then it should be rejected more cleanly.

-- 
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] Updated: (MNG-892) Bad handling of unsupported (i.e maven1) pom files

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-892?page=all ]

Brett Porter updated MNG-892:
-----------------------------

    Component:     (was: maven-ant-plugin)
               maven-artifact-ant

> Bad handling of unsupported (i.e maven1) pom files
> --------------------------------------------------
>
>          Key: MNG-892
>          URL: http://jira.codehaus.org/browse/MNG-892
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact-ant
>  Environment: java 1.5 on linux
>     Reporter: Steve Loughran

>
>
> I'm trying to pull down something that depends on geronimo-spec-javamail/1.3.1-rc5
> Ths file is in the legacy cvs pom, which the ant tasks fail on. 
> 1. no message identifying the .pom at fault is show, except in -verbose. All you get is "Unable to resolve artifact" without any more details. Please show the exception text at the bottom.
> 2. maybe the fact that pom isnt very clean doesnt help; it refers to ../project.xml and uses property settings from there to define its own dependencies. but the underlying error is 
> Unrecognised tag: 'pomVersion' (position: START_TAG seen ...<project>\r\n    <pomVersion>... @22:17) 
> this is just something pulled from a legacy filestore. If you dont handle the old layout/pom, then it should be rejected more cleanly.

-- 
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: (MNG-892) Bad handling of unsupported (i.e maven1) pom files

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-892?page=all ]
     
Brett Porter closed MNG-892:
----------------------------

     Assign To: Brett Porter
    Resolution: Cannot Reproduce

tested this using SVN version and geronimo-spec-javamail-1.3.1-rc5 from repo1.maven.org/maven (maven1 repo)

got:
[artifact:dependencies] [WARNING] POM for: 'geronimo-spec:geronimo-spec-javamail:pom:1.3.1-rc5' does not appear to be valid. Its will be ignored for artifact resolution.
[artifact:dependencies] Downloading: geronimo-spec/jars/geronimo-spec-javamail-1.3.1-rc5.jar
[artifact:dependencies] Transferring 110K

as expected. We look for <modelVersion>4.0.0</modelVersion>, and if not present ignore it.

> Bad handling of unsupported (i.e maven1) pom files
> --------------------------------------------------
>
>          Key: MNG-892
>          URL: http://jira.codehaus.org/browse/MNG-892
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact-ant
>  Environment: java 1.5 on linux
>     Reporter: Steve Loughran
>     Assignee: Brett Porter

>
>
> I'm trying to pull down something that depends on geronimo-spec-javamail/1.3.1-rc5
> Ths file is in the legacy cvs pom, which the ant tasks fail on. 
> 1. no message identifying the .pom at fault is show, except in -verbose. All you get is "Unable to resolve artifact" without any more details. Please show the exception text at the bottom.
> 2. maybe the fact that pom isnt very clean doesnt help; it refers to ../project.xml and uses property settings from there to define its own dependencies. but the underlying error is 
> Unrecognised tag: 'pomVersion' (position: START_TAG seen ...<project>\r\n    <pomVersion>... @22:17) 
> this is just something pulled from a legacy filestore. If you dont handle the old layout/pom, then it should be rejected more cleanly.

-- 
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