Sorry Wayne, I forgot to write that I have re-posted / commented this to the axis2-users list. But if error messages would be a bit more helpful i.e. telling the expected path and filename either local or remote, many problem would even NOT hit your desk.
Thank you anyway Josef -----Ursprüngliche Nachricht----- Von: Wayne Fay [mailto:[email protected]] Gesendet: Mittwoch, 16. November 2011 17:45 An: Maven Users List Betreff: Re: [maven-2.2.1] on building axis2 ./tags/v1.6.1/modules/kernel fails > please take note it Is not my own source I am attempting to build. It is the > official released axis2-1.6.1 src reelase which I toke down by > $ jsvn co /asf/axis/axis2/java/core/tags/v1.6.1 v1.6.1 As stated previously on emails of this topic, the Maven Users list cannot be expected to be experts on all software being built around the world with the Maven tool. You truly must ask these questions on the Axis2 Developer (or User) list first and then as a last resort come to us for help. Surely the Axis2 Developers have a better understanding of their own build, right? > Unfortunately I got the same failure. axis2-kernel the first one showing up > not > able to pass a $ mvn install > > Now - which Manifests do I need to check? If they belong to sources code > then catching down sources all again should cure the problem. Is that correct? I checked the pom for axis2-kernel and it has a plugin section as follows: <plugin> <artifactId>maven-remote-resources-plugin</artifactId> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <resourceBundles> <resourceBundle>org.apache.axis2:axis2-resource-bundle:${project.version}</resourceBundle> </resourceBundles> </configuration> </execution> </executions> </plugin> That led me to the pom for axis2-resource-bundle which shows: <plugin> <artifactId>maven-remote-resources-plugin</artifactId> <executions> <execution> <goals> <goal>bundle</goal> </goals> </execution> </executions> </plugin> So then I went and looked at the MRRP plugin documentation (aka RTFM): http://maven.apache.org/plugins/maven-remote-resources-plugin/ This tells me the following: remote-resources:bundle creates the resource bundle manifest required by the remote resource bundle processing. The manifest file, $basedir/target/classes/META-INF/maven/remote-resources.xml, is created from the contents of the src/main/resources directory. So now we go back full circle to your error message: > Caused by: org.apache.maven.plugin.MojoExecutionException: Error > finding remote resources manifests ... > Caused by: java.io.EOFException: input contained no data This suggests to me that the axis2-resource-bundle artifact that you have built in OpenVMS does not, for whatever reason, contain the remote-resources.xml manifest file which is required for MRRP to properly utilize the artifact. Or perhaps the artifact at that coordinate does not even exist, I'm unsure which is correct. You should find the axis2-resource-bundle artifact in your local repo cache, open it up (unzip it) and look for a file named META-INF/maven/remote-resource.xml inside. If that file does not exist or is empty, that would seem to be your problem. In all likelihood, there is something in the Java coding of MRRP which is incompatible with your OpenVMS system (not really a surprise). You should pull down the source code of MRRP and analyze it. If you find and fix a defect, please donate your patch back to the Maven JIRA so it can be included in a future release of MRRP. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
