Maven High memory usage (12G) and big dependencyManagement section (4000 entry)

2019-01-17 Thread Canivet, Guillaume
Hi,

Here is my... probleme...

I have a root aggregator with a large amount of modules. (around 1600 modules )
All module have the same parent (1.0).
That parent is importing a pom (1.0) with a huge dependencyManagement section 
(4000 entries).

When doing a mvn install (on the root aggregator)   I will consume around 6G to 
8G. (kind of expected)

Now I just perform some modification of several modules (5 modules) for a 
release.
Those modules use a new version of the parent(1.2-SNAPSHOT).
The parent use a new version of the pom (1.2-SNAPSHOT) with a huge 
dependencyManagement section.

When doing a mvn install (on the root aggregator) I consume around 12G to 14G.
When doing a mvn install (on the root aggregator with the pl option on the 5 
modules) I also consume around 12G to 14G.

Now I am really scare for my next release (will I consume an extra 6G for each 
different version of the parent?), any idea on how to solve this?

Note: It seems that if all the module of the root aggregator are using the same 
parent version  memory will remain stable.


Thanks for any tips
Guillaume

Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. Although Experian has taken 
reasonable steps to ensure that this communication and any attachments are free 
from computer viruses, you are advised to take your own steps to ensure that 
they are actually virus free. 

Experian Ltd is authorised and regulated by the Financial Conduct Authority.
Companies Act information: Registered name: Experian Limited. Registered 
office: The Sir John Peace Building, Experian Way, NG2 Business Park, 
Nottingham, NG80 1ZZ, United Kingdom. Place of registration: England and Wales. 
Registered number: 653331.

Vos informations nominatives sont exploitées par la société Scorex S.A.M. 
(Groupe Experian)  dans le cadre du traitement ayant pour finalité "Gestion de 
la messagerie électronique professionnelle". Conformément à la loi n° 1.165, 
modifiée, vous disposez d'un droit d'accès, de rectification et de suppression 
en écrivant au Secrétariat Général de la société Scorex, sise, 2, rue de la 
Lüjerneta à Monaco (98000).

Your personal information is used by Scorex S.A.M. (Experian Group) as part of 
the processing for the purpose of "Professional e-mail management". In 
accordance with the law n ° 1.165, modified, you have a right of access, 
correction and suppression by writing to the General Secretariat of the 
company, located, 2, rue de la Lüjerneta in Monaco (98000).


Re: Generate SonarQube analysis files

2019-01-17 Thread David Karr
On Wed, Jan 16, 2019 at 11:31 PM Vega Castañeda, Javier <
javier.vega-castan...@capgemini.com> wrote:

> Hello,
>
> I have set up a CI project with Eclipse, Jenkis, Git, Maven, Sonar and
> Nexus.The idea is that files are generated from the sonar analysis as part
> of the build to be able to process those files and send them to
> Elasticsearch. The problem is that I do not know how I can dump that data
> that I see through SonarQube to local files and send those logs to kibana.
> I think that before sending the data to SonarQube it generates a file. I
> would like to know if it is possible to do what I want. The reason for the
> consultation is to create my own dashboards in ELK.
>
> Thanks for your time.
>

Most of the data that SonarQube produces can be obtained through a REST
api.  If you go to any SonarQube view page, and go to the bottom, you
should see a "Web API" link. You'll be able to extract a lot of data from
that, but you'll have to design a data model based on what's available and
what you want to retrieve.


> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>


Maven: verify goal does not open up a browser in Automation Testing

2019-01-17 Thread WONG, Ka Chon
I'm using eclipse to create a run configuration mvn verify and it does not open 
a browser. I include the maven-failsafe-plugin and maven-compiler-plugin
> 
>  org.apache.maven.plugins
>  maven-failsafe-plugin
>  3.0.0-M3
>  
>   
>   
>   integration-test
>   verify
>
>   
>  
> 

What wrong with it? I even run mvn install but no browser open up. Please help. 
A billion thanks in advance.



Peter Wong
Software Developer in Test (SDET)
Webex Link: https://who.webex.com/meet/kwong