You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Gerry Reno <gr...@verizon.net> on 2009/12/05 05:18:41 UTC
Re: Axis2-1.4: problem compiling
What is wrong with repos?
[INFO] Installing
/home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to
/home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [plugin:descriptor {execution: default-descriptor}]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 0 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy
filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] Copying 23 resources
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime.compatibility:
checking for updates from apache-ws-snapshots2
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime.compatibility:
checking for updates from tomcat-repository
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime.compatibility:
checking for updates from eclipse-repo
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime.compatibility:
checking for updates from java.net
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' - IGNORING
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime.compatibility:
checking for updates from central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Unable to get dependency information: Unable to read local copy of
metadata: Cannot read metadata from
'/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':
end tag name </body> must match start tag name <hr> from line 7
(position: TEXT seen ...</address>\n</body>... @9:8)
org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
eclipse-repo (http://repo1.maven.org/eclipse),
central (http://repo1.maven.org/maven2),
tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
java.net (https://maven-repository.dev.java.net/nonav/repository/),
apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
Path to dependency:
1) org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 minutes 7 seconds
[INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
[INFO] Final Memory: 221M/381M
[INFO]
------------------------------------------------------------------------
error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
RPM build errors:
Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
Re: Axis2-1.4: problem compiling
Posted by Gerry Reno <gr...@verizon.net>.
Ok, now it is building to completion successfully but the build still
has some problems:
Everytime I run the build, even in a clean .m2, I see this:
[INFO] [clean:clean {execution: default-clean}]
[WARNING] POM for
'org.apache.maven.doxia:doxia-core:pom:1.0-alpha-11:runtime' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for
'org.apache.maven.doxia:doxia-sink-api:pom:1.0-alpha-11:runtime' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for
'org.apache.maven.doxia:doxia-module-apt:pom:1.0-alpha-11:runtime' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for
'org.apache.maven.doxia:doxia-module-fml:pom:1.0-alpha-11:runtime' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for
'org.apache.maven.doxia:doxia-module-xdoc:pom:1.0-alpha-11:runtime' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/home/greno/redhat/tmp/axis2-1.4/modules/parent/pom.xml to
/home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2-parent/1.4/axis2-parent-1.4.pom
and at the end of the run I have missing jars for doxia that correspond
to these classes. What is causing this?
-Gerry
Re: Axis2-1.4: problem compiling
Posted by Gerry Reno <gr...@verizon.net>.
Gerry Reno wrote:
> Gerry Reno wrote:
>> Gerry Reno wrote:
>>> What is wrong with repos?
>>>
>>> [INFO] Installing
>>> /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to
>>> /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
>>> [INFO] task-segment: [clean, install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] [clean:clean {execution: default-clean}]
>>> [INFO] [plugin:descriptor {execution: default-descriptor}]
>>> [INFO] Using 2 extractors.
>>> [INFO] Applying extractor for language: java
>>> [INFO] Extractor for language: java found 0 mojo descriptors.
>>> [INFO] Applying extractor for language: bsh
>>> [INFO] Extractor for language: bsh found 0 mojo descriptors.
>>> [INFO] [resources:resources {execution: default-resources}]
>>> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy
>>> filtered resources, i.e. build is platform dependent!
>>> [INFO] Copying 2 resources
>>> [INFO] Copying 23 resources
>>> [INFO] artifact
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking
>>> for updates from apache-ws-snapshots2
>>> [INFO] artifact
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking
>>> for updates from tomcat-repository
>>> [INFO] artifact
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking
>>> for updates from eclipse-repo
>>> [INFO] artifact
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking
>>> for updates from java.net
>>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>>> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
>>> RETRYING
>>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>>> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
>>> IGNORING
>>> [INFO] artifact
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking
>>> for updates from central
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Failed to resolve artifact.
>>>
>>> Unable to get dependency information: Unable to read local copy of
>>> metadata: Cannot read metadata from
>>> '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':
>>> end tag name </body> must match start tag name <hr> from line 7
>>> (position: TEXT seen ...</address>\n</body>... @9:8)
>>> org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
>>>
>>> from the specified remote repositories:
>>> apache.snapshots
>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>> eclipse-repo (http://repo1.maven.org/eclipse),
>>> central (http://repo1.maven.org/maven2),
>>> tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
>>> java.net (https://maven-repository.dev.java.net/nonav/repository/),
>>> apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
>>>
>>> Path to dependency:
>>> 1)
>>> org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
>>> 2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
>>>
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Total time: 6 minutes 7 seconds
>>> [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
>>> [INFO] Final Memory: 221M/381M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx
>>> (%build)
>>>
>>>
>>> RPM build errors:
>>> Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
>>>
>>>
>>>
>> When I check the file that it is complaining about this is what it has:
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>301 Moved Permanently</title>
>> </head><body>
>> <h1>Moved Permanently</h1>
>> <p>The document has moved <a
>> href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml">here</a>.</p>
>>
>> <hr>
>> <address>Apache Server at maven-repository.dev.java.net Port
>> 443</address>
>> </body></html>
>>
>> So what and where do I need to change to fix this problem?
>>
>> -Gerry
>>
>>
> I tried adding this into settings.xml but it didn't change anything:
> <mirrors>
> <mirror>
> <id>java.net</id>
> <name>Mirror of
> https://maven-repository.dev.java.net/nonav/repository/</name>
> <url>http://download.java.net/maven/1/</url>
> <mirrorOf>java.net</mirrorOf>
> </mirror>
> </mirrors>
>
> I still got same error after adding the above. Is there something
> else that will workaround this redirect problem?
>
> -Gerry
>
>
Ok, I got it working by removing this directory:
/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility
and then rerunning the install
-Gerry
Re: Axis2-1.4: problem compiling
Posted by Gerry Reno <gr...@verizon.net>.
Gerry Reno wrote:
> Gerry Reno wrote:
>> What is wrong with repos?
>>
>> [INFO] Installing
>> /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to
>> /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] [plugin:descriptor {execution: default-descriptor}]
>> [INFO] Using 2 extractors.
>> [INFO] Applying extractor for language: java
>> [INFO] Extractor for language: java found 0 mojo descriptors.
>> [INFO] Applying extractor for language: bsh
>> [INFO] Extractor for language: bsh found 0 mojo descriptors.
>> [INFO] [resources:resources {execution: default-resources}]
>> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy
>> filtered resources, i.e. build is platform dependent!
>> [INFO] Copying 2 resources
>> [INFO] Copying 23 resources
>> [INFO] artifact
>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
>> updates from apache-ws-snapshots2
>> [INFO] artifact
>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
>> updates from tomcat-repository
>> [INFO] artifact
>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
>> updates from eclipse-repo
>> [INFO] artifact
>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
>> updates from java.net
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
>> RETRYING
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
>> IGNORING
>> [INFO] artifact
>> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
>> updates from central
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read local copy of
>> metadata: Cannot read metadata from
>> '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':
>> end tag name </body> must match start tag name <hr> from line 7
>> (position: TEXT seen ...</address>\n</body>... @9:8)
>> org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
>>
>> from the specified remote repositories:
>> apache.snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository),
>> eclipse-repo (http://repo1.maven.org/eclipse),
>> central (http://repo1.maven.org/maven2),
>> tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
>> java.net (https://maven-repository.dev.java.net/nonav/repository/),
>> apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
>>
>> Path to dependency:
>> 1) org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
>> 2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 6 minutes 7 seconds
>> [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
>> [INFO] Final Memory: 221M/381M
>> [INFO]
>> ------------------------------------------------------------------------
>> error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx
>> (%build)
>>
>>
>> RPM build errors:
>> Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
>>
>>
>>
> When I check the file that it is complaining about this is what it has:
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>301 Moved Permanently</title>
> </head><body>
> <h1>Moved Permanently</h1>
> <p>The document has moved <a
> href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml">here</a>.</p>
>
> <hr>
> <address>Apache Server at maven-repository.dev.java.net Port
> 443</address>
> </body></html>
>
> So what and where do I need to change to fix this problem?
>
> -Gerry
>
>
I tried adding this into settings.xml but it didn't change anything:
<mirrors>
<mirror>
<id>java.net</id>
<name>Mirror of
https://maven-repository.dev.java.net/nonav/repository/</name>
<url>http://download.java.net/maven/1/</url>
<mirrorOf>java.net</mirrorOf>
</mirror>
</mirrors>
I still got same error after adding the above. Is there something else
that will workaround this redirect problem?
-Gerry
Re: Axis2-1.4: problem compiling
Posted by Gerry Reno <gr...@verizon.net>.
Gerry Reno wrote:
> What is wrong with repos?
>
> [INFO] Installing
> /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to
> /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [plugin:descriptor {execution: default-descriptor}]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 0 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy
> filtered resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] Copying 23 resources
> [INFO] artifact
> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
> updates from apache-ws-snapshots2
> [INFO] artifact
> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
> updates from tomcat-repository
> [INFO] artifact
> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
> updates from eclipse-repo
> [INFO] artifact
> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
> updates from java.net
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
> RETRYING
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '<!DOCTYPE' -
> IGNORING
> [INFO] artifact
> org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for
> updates from central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Unable to get dependency information: Unable to read local copy of
> metadata: Cannot read metadata from
> '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':
> end tag name </body> must match start tag name <hr> from line 7
> (position: TEXT seen ...</address>\n</body>... @9:8)
> org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
>
> from the specified remote repositories:
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> eclipse-repo (http://repo1.maven.org/eclipse),
> central (http://repo1.maven.org/maven2),
> tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
> java.net (https://maven-repository.dev.java.net/nonav/repository/),
> apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
>
> Path to dependency:
> 1) org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
> 2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 minutes 7 seconds
> [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
> [INFO] Final Memory: 221M/381M
> [INFO]
> ------------------------------------------------------------------------
> error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx
> (%build)
>
>
> RPM build errors:
> Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
>
>
>
When I check the file that it is complaining about this is what it has:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a
href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml">here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>
So what and where do I need to change to fix this problem?
-Gerry