[fedora-java] Help needed with maven-ant-tasks

Orion Poplawski orion at cora.nwra.com
Mon Aug 23 17:17:08 UTC 2010


On 08/23/2010 09:45 AM, Deepak Bhole wrote:
> * Orion Poplawski<orion at 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-with-ant-1.8.0/build.log
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/ant-run-plugin-with-ant-1.6/build.log
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/ant-tasks-in-ant-run-plugin/build.log

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 at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the java-devel mailing list