* Orion Poplawski <orion(a)cora.nwra.com> [2010-08-23 13:17]:
On 08/23/2010 09:45 AM, Deepak Bhole wrote:
>* Orion Poplawski<orion(a)cora.nwra.com> [2010-08-23 11:15]:
>>I'm trying to package maven-ant-tasks, but have quickly gotten over my head.
>>It appears that it is running maven directly (although I don't know if my
>>execing mvn or calling maven classes) and this is then running into dependency
>>version matching issues (so I can see why mvn-jpp ignores them!). Any help
>>would be greatly appreciated.
>>
>>http://koji.fedoraproject.org/koji/taskinfo?taskID=2418428
>>http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks-2.1.1-1.fc13.src.rpm
>>http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks.spec
>>
>
>
>The log above does not indicate the cause.
>
>Can you try building locally in mock and post the files mentioned in the
>log?:
>
>BUILD/maven-ant-tasks-2.1.1/target/it/ant-run-plugin-with-ant-1.8.0/build.log
>BUILD/maven-ant-tasks-2.1.1/target/it/ant-run-plugin-with-ant-1.6/build.log
>BUILD/maven-ant-tasks-2.1.1/target/it/ant-tasks-in-ant-run-plugin/build.log
>
>Additionally, in the spec file, can you add an argument '-X' to mvn-jpp and
>post the build log as well?
Ah, yes, forgot about that.
Here we go:
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/build.log
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/ant-run-plugin-wit...
The above seems to have been successful.
This one failed due to a missing dependency:
/builddir/build/BUILD/maven-ant-tasks-2.1.1/target/it/ant-run-plugin-with-ant-1.6/build.xml:14:
Unable to find component: org.apache.maven.project.MavenProjectBuilder
(perhaps maven-project?)
This one appears to be due to an unexpected ant version:
java.lang.NoSuchMethodError:
org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;
Cheers,
Deepak
With that build log I can see that it is running "mvn" to build
those tasks. Not sure how to change that to mvn-jpp, or to pass
MAVEN_OPTS.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com