On Fri, Mar 6, 2015 at 12:03 AM, Andreas Färber <afaerber@suse.de> wrote:
Am 05.03.2015 um 23:01 schrieb Robert Munteanu:
On Thu, Mar 5, 2015 at 9:06 PM, Andreas Färber <afaerber@suse.de> wrote:
[ 97s] /home/abuild/rpmbuild/BUILD/apache-maven-3.2.5/build.xml:207: The following error occurred while executing this line: [ 97s] /home/abuild/rpmbuild/BUILD/apache-maven-3.2.5/build.xml:202: The following error occurred while executing this line: [ 97s] /home/abuild/rpmbuild/BUILD/apache-maven-3.2.5/build.xml:192: The following error occurred while executing this line: [ 97s] /home/abuild/rpmbuild/BUILD/apache-maven-3.2.5/build.xml:167: Reference modello.pathid not found.
I can't make heads or tails of this ( but my knowledge of Ant is rusty ). Maybe ask on the Maven mailing list? I think the ant-based bootstrap in the offline variant doesn't get much testing these days.
My interpretation was that because I'm skipping the pull step, we need to manually prepare the dependencies somehow, somewhere...
That is true, we need to mirror what the pull target does [1], minimally populating the local repository but also setting some classpath references like the modello.pathid. Running the build without skip.pull results in _a lot_ or artifacts being pulled in $ find ../repo.local/ -name \*jar | wc -l 302 Some of these are differ just in version , e.g. ../repo.local/commons-lang/commons-lang/2.6/commons-lang-2.6.jar ../repo.local/commons-lang/commons-lang/2.3/commons-lang-2.3.jar ../repo.local/commons-lang/commons-lang/1.0/commons-lang-1.0.jar ../repo.local/commons-lang/commons-lang/2.5/commons-lang-2.5.jar ../repo.local/commons-lang/commons-lang/2.4/commons-lang-2.4.jar ../repo.local/commons-lang/commons-lang/2.1/commons-lang-2.1.jar Maybe using a Maven-based bootstrap would be simpler? Just thinking out loud here, not based on facts... Robert [1]: https://github.com/apache/maven/blob/maven-3.2.5/build.xml#L103-L129
Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)
-- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org