You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Martin Franklin (JIRA)" <ji...@apache.org> on 2010/10/05 18:41:33 UTC

[jira] Created: (AXIS2-4837) axis2-parent references repository https://maven-repository.dev.java.net/nonav/repository/, when attempting to get parent of apache version 3 - this causes wsld2code maven plugin to fail

axis2-parent references repository https://maven-repository.dev.java.net/nonav/repository/, when attempting to get parent of apache version 3 - this causes wsld2code maven plugin to fail
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-4837
                 URL: https://issues.apache.org/jira/browse/AXIS2-4837
             Project: Axis2
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.5
         Environment: maven using the 
            Reporter: Martin Franklin
            Priority: Critical


if the parent of the axis2-parent pom 

    <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
    </parent>

has not previously been downloaded and you attempt to use the wsdl2code maven plugin within a project, it will attempt to download the above parent from  https://maven-repository.dev.java.net/nonav/repository/ where a html redirect has been placed. This causes the html being returned to be placed into the pom file in the local repo and the build fails as per below

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0f56ee033e
f4b78d33722aceb71a09c7ed68183f'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven-repository.dev.java.net/nonav/repository//org.apache/
poms/apache-3.pom
349b downloaded  (apache-3.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0f56ee033e
f4b78d33722aceb71a09c7ed68183f'; remote = '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.axis2:axis2-parent:pom:1.5

Reason: Cannot find parent: org.apache:apache for project: org.apache.axis2:axis
2-parent:pom:1.5 for project org.apache.axis2:axis2-parent:pom:1.5

To fix this you must cause the above parent pom to be downloaded from repo1 _before_ it attempts the download from the embedded repository in axis2-parent. This requires adding 
    <dependency>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
    </dependency>

as a dependency of the wsdl2code project and ensuring that the wsdl2code isnt the first plugin used by the project.

I'd suggest dropping https://maven-repository.dev.java.net/nonav/repository/ as a dependency from the repositories for the axis2-parent pom to eliminate this and locating a 'better' repository which doesnt use html redirects for any dependencies for building axis2-parent






-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2-4837) axis2-parent references repository https://maven-repository.dev.java.net/nonav/repository/, when attempting to get parent of apache version 3 - this causes wsld2code maven plugin to fail

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4837.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.2

This issue was fixed for the 1.5.2 release. Please upgrade the version of the Maven plugins.

> axis2-parent references repository https://maven-repository.dev.java.net/nonav/repository/, when attempting to get parent of apache version 3 - this causes wsld2code maven plugin to fail
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4837
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4837
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.5
>         Environment: maven using the 
>            Reporter: Martin Franklin
>            Priority: Critical
>             Fix For: 1.5.2
>
>
> if the parent of the axis2-parent pom 
>     <parent>
>         <groupId>org.apache</groupId>
>         <artifactId>apache</artifactId>
>         <version>3</version>
>     </parent>
> has not previously been downloaded and you attempt to use the wsdl2code maven plugin within a project, it will attempt to download the above parent from  https://maven-repository.dev.java.net/nonav/repository/ where a html redirect has been placed. This causes the html being returned to be placed into the pom file in the local repo and the build fails as per below
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0f56ee033e
> f4b78d33722aceb71a09c7ed68183f'; remote = '<!DOCTYPE' - RETRYING
> Downloading: https://maven-repository.dev.java.net/nonav/repository//org.apache/
> poms/apache-3.pom
> 349b downloaded  (apache-3.pom)
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0f56ee033e
> f4b78d33722aceb71a09c7ed68183f'; remote = '<!DOCTYPE' - IGNORING
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: org.apache.axis2:axis2-parent:pom:1.5
> Reason: Cannot find parent: org.apache:apache for project: org.apache.axis2:axis
> 2-parent:pom:1.5 for project org.apache.axis2:axis2-parent:pom:1.5
> To fix this you must cause the above parent pom to be downloaded from repo1 _before_ it attempts the download from the embedded repository in axis2-parent. This requires adding 
>     <dependency>
>         <groupId>org.apache</groupId>
>         <artifactId>apache</artifactId>
>         <version>3</version>
>     </dependency>
> as a dependency of the wsdl2code project and ensuring that the wsdl2code isnt the first plugin used by the project.
> I'd suggest dropping https://maven-repository.dev.java.net/nonav/repository/ as a dependency from the repositories for the axis2-parent pom to eliminate this and locating a 'better' repository which doesnt use html redirects for any dependencies for building axis2-parent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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