diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..45fc8f6
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,51 @@
+pipeline {
+ agent any
+
+ stages {
+ stage('Compile Stage') {
+ steps {
+ echo 'Comple Stage starts...'
+ withMaven(maven : 'maven_3_5_2'){
+ bat 'mvn clean compile'
+ echo 'Comple Stage ends...'
+ }
+ }
+ }
+ stage('Testing Stage') {
+ steps {
+ echo 'Testing Stage starts...'
+ withMaven(maven : 'maven_3_5_2'){
+ bat 'mvn test'
+ echo 'Testing Stage ends...'
+ }
+ }
+ }
+ stage('Install Stage') {
+ steps {
+ echo 'Install Stage starts...'
+ withMaven(maven : 'maven_3_5_2'){
+ bat 'mvn install'
+ echo 'Install Stage ends...'
+ }
+ }
+ }
+ stage('Deploy Stage') {
+ steps {
+ echo 'Install Stage starts...'
+ withMaven(maven : 'maven_3_5_2'){
+ bat 'mvn deploy'
+ echo 'Deploy Stage ends...'
+ }
+ }
+ }
+ stage('SonarQube Scanner Stage') {
+ steps {
+ echo 'Deploymnet Stage starts...'
+ bat'mvn sonar:sonar'
+ echo 'Deploymnet Stage ends...'
+ }
+ }
+
+ }
+
+}
diff --git a/pom.xml b/pom.xml
index 198228f..ce2c907 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,42 @@
-
-
-
+
+
+ myMavenRepo.read
+ https://mymavenrepo.com/repo/TfEFI5bJW4WN9gSaMtMh/
+
+
+
+
+
+ myMavenRepo.write
+ https://mymavenrepo.com/repo/EWGk6rZoZUFjzGCyAgmZ/
+
+
+
+
+
+
+
+ org.sonarsource.scanner.maven
+ sonar-maven-plugin
+
+
+
+
+
+
+
+
+
+ sonar
+
+ true
+
+
+ http://localhost:9002/
+
+
+
diff --git a/setting.xml b/setting.xml
new file mode 100644
index 0000000..a6923bd
--- /dev/null
+++ b/setting.xml
@@ -0,0 +1,39 @@
+
+
+
+ myMavenRepoRead
+
+
+ !doNotUseMyMavenRepo
+
+
+
+ https://mymavenrepo.com/repo/TfEFI5bJW4WN9gSaMtMh/
+
+
+
+ myMavenRepoWrite
+
+
+ !doNotUseMyMavenRepo
+
+
+
+ https://mymavenrepo.com/repo/EWGk6rZoZUFjzGCyAgmZ/
+
+
+
+
+
+
+ myMavenRepoRead
+ myMavenRepo
+ 97048541
+
+
+ myMavenRepoWrite
+ myMavenRepo
+ 97048541
+
+
+
\ No newline at end of file
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 0000000..8e4608d
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,12 @@
+# Root project information
+sonar.projectKey=org.ibm.myibm
+sonar.projectName=MyIBM Photo Uploader
+sonar.projectVersion=1.0
+sonar.login=admin
+sonar.password=admin
+
+# Some properties that will be inherited by the modules
+sonar.sources=src
+
+# List of the module identifiers
+#sonar.modules=module1,module2
diff --git a/target/classes/com/bt/maven/java/project/App.class b/target/classes/com/bt/maven/java/project/App.class
index f802b5b..6ee6994 100644
Binary files a/target/classes/com/bt/maven/java/project/App.class and b/target/classes/com/bt/maven/java/project/App.class differ
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
index d40884f..d6a5d84 100644
--- a/target/maven-archiver/pom.properties
+++ b/target/maven-archiver/pom.properties
@@ -1,5 +1,5 @@
#Generated by Maven
-#Wed Jun 28 22:33:51 IST 2017
+#Sat Nov 04 16:08:39 IST 2017
version=0.0.1-SNAPSHOT
groupId=com.bt
artifactId=maven-java-project
diff --git a/target/maven-java-project-0.0.1-SNAPSHOT.jar b/target/maven-java-project-0.0.1-SNAPSHOT.jar
index 9ae8aae..b31f995 100755
Binary files a/target/maven-java-project-0.0.1-SNAPSHOT.jar and b/target/maven-java-project-0.0.1-SNAPSHOT.jar differ
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
index bfabd54..69ef899 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -1 +1 @@
-com/bt/maven/java/project/App.class
+com\bt\maven\java\project\App.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
index b1c8077..661e411 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -1 +1 @@
-/Users/BhaskarReddy/EclipseWorkspace/Practice/maven-java-project/src/main/java/com/bt/maven/java/project/App.java
+E:\Maven-Java-Project\src\main\java\com\bt\maven\java\project\App.java
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
index 4762a0f..622903d 100644
--- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
@@ -1 +1 @@
-com/bt/maven/java/project/AppTest.class
+com\bt\maven\java\project\AppTest.class
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
index 52bf3ff..d03adb3 100644
--- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
@@ -1 +1 @@
-/Users/BhaskarReddy/EclipseWorkspace/Practice/maven-java-project/src/test/java/com/bt/maven/java/project/AppTest.java
+E:\Maven-Java-Project\src\test\java\com\bt\maven\java\project\AppTest.java
diff --git a/target/sonar/.sonar_lock b/target/sonar/.sonar_lock
new file mode 100644
index 0000000..e69de29
diff --git a/target/sonar/report-task.txt b/target/sonar/report-task.txt
new file mode 100644
index 0000000..3d5893e
--- /dev/null
+++ b/target/sonar/report-task.txt
@@ -0,0 +1,6 @@
+projectKey=com.bt:maven-java-project
+serverUrl=http://localhost:9000
+serverVersion=6.6.0.32724
+dashboardUrl=http://localhost:9000/dashboard/index/com.bt:maven-java-project
+ceTaskId=AV-GnSwvCLn9a9A9x_7C
+ceTaskUrl=http://localhost:9000/api/ce/task?id=AV-GnSwvCLn9a9A9x_7C
diff --git a/target/surefire-reports/TEST-com.bt.maven.java.project.AppTest.xml b/target/surefire-reports/TEST-com.bt.maven.java.project.AppTest.xml
index 5eb7b1c..dcfc7d6 100644
--- a/target/surefire-reports/TEST-com.bt.maven.java.project.AppTest.xml
+++ b/target/surefire-reports/TEST-com.bt.maven.java.project.AppTest.xml
@@ -1,64 +1,68 @@
-
+
-
-
-
-
+
+
-
+
-
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/target/surefire-reports/com.bt.maven.java.project.AppTest.txt b/target/surefire-reports/com.bt.maven.java.project.AppTest.txt
index 89a257c..fcbd6f7 100644
--- a/target/surefire-reports/com.bt.maven.java.project.AppTest.txt
+++ b/target/surefire-reports/com.bt.maven.java.project.AppTest.txt
@@ -1,4 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.bt.maven.java.project.AppTest
-------------------------------------------------------------------------------
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec