Skip to content
Sandeep Valapishetty edited this page Oct 5, 2016 · 4 revisions

Maven Settings Configuration for Nexus and Sonar

   <mirror>
        <!--This sends everything else to /public -->
        <id>nexus</id>
        <mirrorOf>*</mirrorOf>
        <!--      <url>http://nexus.yourdomain.nl/content/groups/public</url> -->
        <url>http://ec2-52-11-197-18.us-west-2.compute.amazonaws.com:8081/nexus/content/groups/public</url>
    </mirror>
	
<profile>
        <id>sonar</id>
        <properties>
            <sonar.jdbc.url>
                jdbc:mysql://ec2-50-112-42-201.us-west-2.compute.amazonaws.com:3306/sonar
            </sonar.jdbc.url>
            <sonar.jdbc.driverClassName>com.mysql.jdbc.Driver</sonar.jdbc.driverClassName>
            <sonar.jdbc.username>sonar</sonar.jdbc.username>
            <sonar.jdbc.password>sonar</sonar.jdbc.password>
            <!--<sonar.host.url>
                  http://ec2-52-38-201-242.us-west-2.compute.amazonaws.com:9000
              </sonar.host.url>-->
        </properties>
    </profile>

-XX:-UseConcMarkSweepGC: Use the CMS collector for the old gen.

-XX:-UseParallelGC: Use Parallel GC for New Gen

-XX:-UseParallelOldGC: Use Parallel GC for Old and New Gen.

-XX:-HeapDumpOnOutOfMemoryError: Create a thread dump when the application runs out of memory. Very useful for diagnostics.

-XX:-PrintGCDetails: Log out details of Garbage Collection.

-Xms512m: Sets the initial heap size to 512m

-Xmx1024m: Sets the maximum heap size to 1024m

-XX:NewSize and -XX:MaxNewSize: Specifically set the default and max size of the New Generation

-XX:NewRatio=3: Set the size of the Young Generation as a ratio of the size of the Old Generation.

-XX:SurvivorRatio=10: Set the size of Eden space relative to the size of a survivor space.

###For further Maven POM Help 👍 ###

http://maven.apache.org/ref/3.3.9/maven-settings/settings.html

What's Next ?

  • My view on Hybris
  • Selenium with BDD framework
  • Reusable addons for ecommerce system

Clone this wiki locally