Has anyone looked at trying to package axis2 recently?
I took a quick stab but it seems that the main axis2 build cannot find the axi2-maven-{mar,aar}-plugins that I build earlier. Any ideas?
http://www.cora.nwra.com/~orion/fedora/axis2.spec http://www.cora.nwra.com/~orion/fedora/axis2-1.5.4-1.fc14.src.rpm http://www.cora.nwra.com/~orion/fedora/build.log http://www.cora.nwra.com/~orion/fedora/root.log
find ../root/builddir/build/BUILD/axis2-1.5.4/.m2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus/mojo ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus/mojo/maven-metadata-central.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven/plugins ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven/plugins/maven-metadata-central.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/axis2-aar-maven-plugin-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/axis2-aar-maven-plugin-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/axis2-resource-bundle-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/axis2-resource-bundle-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/axis2-mar-maven-plugin-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/axis2-mar-maven-plugin-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/maven-metadata-local.xml
Excerpts from Orion Poplawski's message of Fri Apr 22 18:03:41 +0200 2011:
Has anyone looked at trying to package axis2 recently?
I took a quick stab but it seems that the main axis2 build cannot find the axi2-maven-{mar,aar}-plugins that I build earlier. Any ideas?
http://www.cora.nwra.com/~orion/fedora/axis2.spec http://www.cora.nwra.com/~orion/fedora/axis2-1.5.4-1.fc14.src.rpm http://www.cora.nwra.com/~orion/fedora/build.log http://www.cora.nwra.com/~orion/fedora/root.log
find ../root/builddir/build/BUILD/axis2-1.5.4/.m2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus/mojo ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/codehaus/mojo/maven-metadata-central.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven/plugins ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/maven/plugins/maven-metadata-central.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/axis2-aar-maven-plugin-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/1.5.4/axis2-aar-maven-plugin-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-aar-maven-plugin/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/axis2-resource-bundle-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/1.5.4/axis2-resource-bundle-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-resource-bundle/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/maven-metadata-local.xml ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4 ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/axis2-mar-maven-plugin-1.5.4.pom ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/_maven.repositories ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/1.5.4/axis2-mar-maven-plugin-1.5.4.jar ../root/builddir/build/BUILD/axis2-1.5.4/.m2/org/apache/axis2/axis2-mar-maven-plugin/maven-metadata-local.xml
At first I thought this is a problem in our resolver in relation to reactor build. But then I had a look at pom files...Modules don't have <version> tag specified for mar/aar plugins. Then they can't find pom you just installed because they are looking for different version. Solution is to add <version> tag with 1.5.4 version. Best way to do this is probably a nice sed using %{version} macro so you won't have to redo the patch every new version...
I tried to do this and it seemed to work (I had to mvn-rpmbuild resources and parent pom first). Hope it helped, if not we can try to tweak it a bit more.
-- Stanislav Ochotnicky sochotnicky@redhat.com Software Engineer - Base Operating Systems Brno
PGP: 7B087241 Red Hat Inc. http://cz.redhat.com
On 04/27/2011 02:29 AM, Stanislav Ochotnicky wrote:
At first I thought this is a problem in our resolver in relation to reactor build. But then I had a look at pom files...Modules don't have <version> tag specified for mar/aar plugins. Then they can't find pom you just installed because they are looking for different version. Solution is to add<version> tag with 1.5.4 version. Best way to do this is probably a nice sed using %{version} macro so you won't have to redo the patch every new version...
I tried to do this and it seemed to work (I had to mvn-rpmbuild resources and parent pom first). Hope it helped, if not we can try to tweak it a bit more.
Thanks, that does seem to help. I was hoping that just removing the version number would make it work with whatever it found.
Now I'm at the expected point of many missing dependencies:
org.apache.ws.commons.axiom:axiom-api:jar:1.2.10, org.apache.ws.commons.axiom:axiom-impl:jar:1.2.10, org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2, wsdl4j:wsdl4j:jar:1.6.2, org.apache.ws.commons.schema:XmlSchema:jar:1.4.3, org.apache.neethi:neethi:jar:2.0.4, org.apache.woden:woden-api:jar:1.0M8, org.apache.woden:woden-impl-dom:jar
*sigh*
java-devel@lists.fedoraproject.org