On 08/23/2010 02:35 PM, Deepak Bhole wrote:
* Orion Poplawski<orion(a)cora.nwra.com> [2010-08-23 15:52]:
> On 08/23/2010 12:45 PM, Deepak Bhole wrote:
>>
>> Ah I see. In that case, you will also need to pass
>> -DDmaven.repo.local=... and ensure that the value matches what you
>> provided via the original mvn-jpp call in the spec file.
>
> Tried that, but it really looks like the invoker.mavenOpts just
> aren't making it to the maven execution.
>
> [DEBUG] Interpolate
> /builddir/build/BUILD/maven-ant-tasks-2.1.1/src/it/settings.xml to
/builddir/build/BUILD/maven-ant-tasks-2.1.1/target/it/interpolated-settings.xml
> [INFO] Building: ant-run-plugin-with-ant-1.8.0/pom.xml
> [DEBUG] Using invoker properties:
> [DEBUG] invoker.goals = validate
> [DEBUG] invoker.mavenOpts = -Dmaven2.jpp.mode
> [DEBUG] invoker.offline = true
> [DEBUG] build log initialized in:
/builddir/build/BUILD/maven-ant-tasks-2.1.1/target/it/ant-run-plugin-with-ant-1.8.0/build.log
> [DEBUG] Using MAVEN_OPTS: -Dmaven2.jpp.mode
> [DEBUG] Executing: /bin/sh -c cd
/builddir/build/BUILD/maven-ant-tasks-2.1.1/target/it/ant-run-plugin-with-ant-1.8.0
> && /usr/share/maven2/bin/mvn -B -o -X -D
maven.repo.local=/builddir/build/BUILD/maven-ant-tasks-2.1.1/target/local-repo
> -s /builddir/build/BUILD/maven-ant-tasks-2.1.1/target/
> it/interpolated-settings.xml validate
> [INFO] ..FAILED (1.0 s)
>
>
>
> [DEBUG] Building Maven user-level plugin registry from:
> '/builddir/.m2/plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> '/usr/share/maven2/conf/plugin-registry.xml'
> [INFO] NOTE: Maven is executing in offline mode. Any artifacts not
> already in your local repository will be inaccessible.
>
> Project ID: org.apache.maven.plugins:maven-antrun-plugin
>
> Reason: POM 'org.apache.maven.plugins:maven-antrun-plugin' not found
> in repository: System is off line.
>
> org.apache.maven.plugins:maven-antrun-plugin:pom:1.3
>
> for project org.apache.maven.plugins:maven-antrun-plugin
>
>
>
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...
>
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/ant-run-plugin-wit...
>
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks/ant-tasks-in-ant-r...
>
Doh! Sorry, I haven't used the invoker plugin enough to know what to do
in this case :/ If you can provide me with a latest srpm, I can try
building it and might be able to trace the issue..
http://www.cora.nwra.com/~orion/fedora/maven-ant-tasks-2.1.1-1.fc13.src.rpm
Really seems like invoker should be handling this. Thanks for looking at it.
--
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