diff --git a/.travis.yml b/.travis.yml index a275892..3bac34e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ script: - mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify #SONARCLOUD -#- mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=miw-upm-github -Dsonar.login=$SONAR +- mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=miw-upm-github -Dsonar.login=$SONAR #Deploy https://iwvg-ecosystem.herokuapp.com/HelloServlet deploy: diff --git a/src/main/java/es/upm/miw/iwvg/ecosystem/api/Application.java b/src/main/java/es/upm/miw/iwvg/ecosystem/api/Application.java index 8227c1d..f577ebb 100644 --- a/src/main/java/es/upm/miw/iwvg/ecosystem/api/Application.java +++ b/src/main/java/es/upm/miw/iwvg/ecosystem/api/Application.java @@ -6,12 +6,11 @@ import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration; @SpringBootApplication -@EnableAutoConfiguration(exclude = {ErrorMvcAutoConfiguration.class}) // Not: /error +@EnableAutoConfiguration(exclude = {ErrorMvcAutoConfiguration.class}) // Not API: /error public class Application { - // mvn clean spring-boot:run public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(Application.class, args);// mvn clean spring-boot:run } } diff --git a/src/main/java/es/upm/miw/iwvg/ecosystem/git/demos/Story1.java b/src/main/java/es/upm/miw/iwvg/ecosystem/git/demos/Story1.java deleted file mode 100644 index 0109e32..0000000 --- a/src/main/java/es/upm/miw/iwvg/ecosystem/git/demos/Story1.java +++ /dev/null @@ -1,8 +0,0 @@ -package es.upm.miw.iwvg.ecosystem.git.demos; - -public class Story1 { - - public String method1() { - return "Story1:method"; - } -}