You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Marlow, Andrew" <An...@fisglobal.com.INVALID> on 2019/05/17 05:47:15 UTC

mvn -T unreliable in maven 3.6.1

Hello everyone,

I have found the -T option for parallel building to be unreliable. Has anyone else? It doesn't seem to have had wide exposure yet and several commonly used packages are not yet marked as thread safe, but I was hoping for better results than I am seeing.

The problem I am getting is that when it fails a random module fails to find some external jar that I know is there. For my project the most common occurrence is failure to find javax.servlet but it really is there and a serial build finds it. I am at a loss to understand how this can be happening.

I am very keen indeed to get the -T option working because I have recently added use of the maven-jarsigner to the mix and the network I am using is slow and unreliable. A serial build with jar signing doubles the build time. When the parallel build works (which it does occasionally) the build time is reduced by an order of magnitude.

Andrew Marlow
Consultant developer, Apex
38th Floor, 25 Canada Square,
Canary Wharf, London E14 5LQ
T:  020-8081-2367 / 07966-451-521
E: andrew.marlow@fisglobal.com<ma...@fisglobal.com>
FIS | Empowering the Financial World [cid:image001.png@01D112FA.C4A77D90] <https://www.facebook.com/FIStoday> [cid:image002.png@01D112FA.C4A77D90] <https://twitter.com/FISGlobal> [cid:image003.png@01D112FA.C4A77D90] <https://www.linkedin.com/company/fis>
FIS Apex (UK) Limited * Registered in England and Wales No. 3573008 * Registered Office: 38th floor, 25 Canada Square, London, E14 5LQ, United Kingdom
[50_3]

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. FIS is a trading name of the following companies: Fidelity Information Services Ltd (registered in England No.02225203), FIS Payments (UK) Ltd (No.04215488), FIS Asiapacrim Holdings Ltd (No.06707320), Certegy Card Services Ltd (No.03517639) and Efunds International Ltd (No.01930117), all with their registered office at Floor 1, 51/53 Hagley Road, Birmingham B16 8TU, United Kingdom; and FIS Payments (Ireland) Ltd (registered in Ireland No.126879), with its registered office at 25/28 North Wall Quay, Dublin 1, D01 H104, Ireland. FIS Payments (UK) Ltd is authorised and regulated by the Financial Conduct Authority; some services are covered by the Financial Ombudsman Service (in the UK). Calls to and from the companies may be recorded for quality purposes. All of the above companies are part of FIS (Fidelity National Information Services Inc.).

Re: mvn -T unreliable in maven 3.6.1

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

On 17.05.19 07:47, Marlow, Andrew wrote:
> Hello everyone,
>
> I have found the -T option for parallel building to be unreliable. Has
> anyone else? It doesn’t seem to have had wide exposure yet and several
> commonly used packages are not yet marked as thread safe, but I was
> hoping for better results than I am seeing.

What we need are logging output fully...furthermore your pom's and what
exactly the problem is? Which version of Maven, JDK and the plugins you
are using...

I'm using -T for a long time with small and very large projects (800+
modules)...

Kind regards
Karl Heinz Marbaise

>
> The problem I am getting is that when it fails a random module fails to
> find some external jar that I know is there. For my project the most
> common occurrence is failure to find javax.servlet but it really is
> there and a serial build finds it. I am at a loss to understand how this
> can be happening.
>
> I am very keen indeed to get the -T option working because I have
> recently added use of the maven-jarsigner to the mix and the network I
> am using is slow and unreliable. A serial build with jar signing doubles
> the build time. When the parallel build works (which it does
> occasionally) the build time is reduced by an order of magnitude.
>
> *Andrew Marlow*
>
> Consultant developer, Apex
>
> 38^th Floor, 25 Canada Square,
>
> Canary Wharf, London E14 5LQ
>
> *T*:  020-8081-2367 / 07966-451-521
> *E*: andrew.marlow@fisglobal.com <ma...@fisglobal.com>
> *FIS | Empowering the Financial
> World***cid:image001.png@01D112FA.C4A77D90
> <https://www.facebook.com/FIStoday>cid:image002.png@01D112FA.C4A77D90
> <https://twitter.com/FISGlobal>cid:image003.png@01D112FA.C4A77D90
> <https://www.linkedin.com/company/fis>
>
> FIS Apex (UK) Limited * Registered in England and Wales No. 3573008 *
> Registered Office: 38^th floor, 25 Canada Square, London, E14 5LQ,
> United Kingdom
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org