Summary Table
Categories |
Total Count |
PII |
0 |
URL |
2 |
DNS |
2 |
EKL |
0 |
IP |
0 |
PORT |
2 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
/*
* This is the DEV version of the gradle build file
* and has the configuration of Sonar that does the code analysis and the code coverage.
* Run the below gradle command to view the sonar analysis
* gradle sonarqube -Dsonar.host.url=http://localhost:9000
*/
group 'gov.va.ars'
// Apply plugins
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'maven'
apply plugin: 'org.sonarqube'
apply plugin: 'jacoco'
sourceCompatibility = 1.8
targetCompatibility = 1.8
eclipse {
classpath {
containers 'org.eclipse.jdt.launching.JRE_CONTAINER'
}
}
repositories {
maven {
url 'http://
DNS.URL:PORT
/repository/maven-central'
}
}
war {
baseName = 'ars';
webInf{
from 'WEB-INF/dispatcher-servlet.xml'
}
}
dependencies {
providedCompile 'javax:javaee-web-api:7.0'
compile fileTree(dir: 'WEB-INF/lib', include: '*.jar')
compile (
// Junit dependency
'junit:junit:4.12',
// jstl dependency
'javax.servlet:jstl:1.2',
// servlet api dependency
'javax.servlet:javax.servlet-api:3.1.0',
// Begin Spring Framework Dependency
'org.springframework:spring-context:4.3.4.RELEASE',
'org.springframework:spring-web:4.3.4.RELEASE',
'org.springframework:spring-webmvc:4.3.4.RELEASE',
'org.springframework:spring-test:4.3.4.RELEASE',
'com.fasterxml.jackson.core:jackson-databind:2.7.4',
// End Spring Framework Dependency
// Spring ORM support
'org.springframework:spring-orm:4.3.4.RELEASE',
// End Spring ORM support
// Spring AOP + AspectJ
'org.springframework:spring-aop:4.3.4.RELEASE',
'org.aspectj:aspectjrt:1.7.3',
'org.aspectj:aspectjweaver:1.7.3',
// End AOP
// Log4j Dependencies
'org.apache.logging.log4j:log4j:2.7',
// Hibernate dependencies
'org.hibernate:hibernate-entitymanager:5.2.5.Final',
'org.hibernate:hibernate-core:5.2.5.Final',
//End Hibernate Configuration
// Hibernate validation
'org.hibernate:hibernate-validator:5.2.5.Final',
// Oracle dependency to be added to the Nexus Repository
// 'com.oracle:ojdbc14:10.2.0.2.0',
// Spring Data Dependencies
'org.springframework.data:spring-data-jpa:1.10.5.RELEASE',
'org.springframework:spring-tx:4.3.4.RELEASE',
//Junit dependencies
'org.mockito:mockito-all:1.10.19',
//Power Mock dependency
'org.powermock:powermock-module-junit4:1.6.6',
// Spring Security Dependencies
'org.springframework.security:spring-security-core:4.2.0.RELEASE',
'org.springframework.security:spring-security-config:4.2.0.RELEASE',
'org.springframework.security:spring-security-web:4.2.0.RELEASE',
// Apache Commons Dependency
//'org.apache.commons:commons-io:1.3.2',
'commons-fileupload:commons-fileupload:1.3.1',
'com.fasterxml.jackson.core:jackson-databind:2.6.3',
'commons-dbcp:commons-dbcp:1.4' ,
// Mockito Testing Framework
'org.mockito:mockito-all:1.10.19',
// HamCrest Testing Framework
'org.hamcrest:hamcrest-library:1.3',
//lombok dependency
//'org.projectlombok:lombok:1.16.18'
)
}
// SonarQube Configuration
buildscript {
repositories {
maven {
//url "https://plugins.gradle.org/m2/"
url 'http://
DNS.URL:PORT
/repository/maven-central'
}
}
dependencies {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1"
}
}
sonarqube {
properties {
property "sonar.projectKey", "ars_app"
property "sonar.projectName", "ars_app"
property 'sonar.jacoco.reportPaths', "${buildDir}/jacoco/testDebug.exec"
}
}
test {
ignoreFailures = true
}