Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <settings>
- <mirrors>
- <mirror>
- <!--This sends everything else to /public -->
- <id>nexus</id>
- <!-- <mirrorOf>*</mirrorOf> -->
- <url>https://nexus.mycompany.com/content/groups/public</url>
- <mirrorOf>*</mirrorOf>
- </mirror>
- </mirrors>
- <servers>
- <server>
- <id>snapshots</id>
- <username>deployment</username>
- <password>GGj9gLaAmax90WcwJJEmPpmHFKSzg6C</password>
- </server>
- <server>
- <id>releases</id>
- <username>deployment</username>
- <password>GGj9gLaAmax90WcwJJEmPpmHFKSzg6C</password>
- </server>
- <server>
- <id>central</id>
- <username>deployment</username>
- <password>GGj9gLaAmax90WcwJJEmPpmHFKSzg6C</password>
- </server>
- <server>
- <id>public-jboss</id>
- <username>deployment</username>
- <password>GGj9gLaAmax90WcwJJEmPpmHFKSzg6C</password>
- </server>
- </servers>
- <pluginGroups>
- <pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
- </pluginGroups>
- <profiles>
- <profile>
- <id>nexus</id>
- <properties>
- <jboss5-home>/usr/local/jboss-5.1.0.GA/</jboss5-home>
- <jboss7-home>/usr/local/jboss-as-7.1.1.Final/</jboss7-home>
- <jbossEAP61-home>/usr/local/jboss-eap-6.1/</jbossEAP61-home>
- <scm-username>jenkins</scm-username>
- <jiraUser></jiraUser>
- <jiraPassword></jiraPassword>
- <!-- Optional URL to server. Default value is http://localhost:9000 -->
- <sonar.host.url>
- http://sonarqube.devops.mycompany.com:9000
- </sonar.host.url>
- <sonar.binaries>target/classes</sonar.binaries>
- <sonar.tests>src/test/java</sonar.tests>
- <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
- <sonar.junit.reportsPath>target/surefire-reports</sonar.junit.reportsPath>
- <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
- <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
- </properties>
- <!--Enable snapshots for the built in central repo to direct -->
- <!--all requests to nexus via the mirror -->
- <repositories>
- <repository>
- <id>snapshots</id>
- <url>http://snapshots</url>
- <releases><enabled>false</enabled></releases>
- <snapshots><enabled>true</enabled></snapshots>
- </repository>
- <repository>
- <id>releases</id>
- <url>http://releases</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </repository>
- <repository>
- <id>central</id>
- <url>http://central</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </repository>
- <repository>
- <id>public-jboss</id>
- <url>http://public-jboss</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>central</id>
- <url>http://central</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </pluginRepository>
- </pluginRepositories>
- </profile>
- </profiles>
- <activeProfiles>
- <!--make the profile active all the time -->
- <activeProfile>nexus</activeProfile>
- </activeProfiles>
- </settings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement