This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ gs-serving-web-content --- | |
[INFO] Building jar: /home/kleber/Downloads/gs-serving-web-content-master/complete/target/gs-serving-web-content-0.1.0.jar | |
[INFO] | |
[INFO] --- spring-boot-maven-plugin:1.4.2.RELEASE:repackage (default) @ gs-serving-web-content --- | |
[INFO] | |
[INFO] >>> findbugs-maven-plugin:3.0.4:check (default) > :findbugs @ gs-serving-web-content >>> | |
[INFO] | |
[INFO] --- findbugs-maven-plugin:3.0.4:findbugs (findbugs) @ gs-serving-web-content --- | |
[INFO] Fork Value is true | |
[java] Warnings generated: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- spring-boot-maven-plugin:1.4.2.RELEASE:repackage (default) @ gs-serving-web-content --- | |
[INFO] | |
[INFO] >>> findbugs-maven-plugin:3.0.4:check (default) > :findbugs @ gs-serving-web-content >>> | |
[INFO] | |
[INFO] --- findbugs-maven-plugin:3.0.4:findbugs (findbugs) @ gs-serving-web-content --- | |
[INFO] Fork Value is true | |
[INFO] Done FindBugs Analysis.... | |
[INFO] | |
[INFO] <<< findbugs-maven-plugin:3.0.4:check (default) < :findbugs @ gs-serving-web-content <<< | |
[INFO] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FindBugsFilter> | |
</FindBugsFilter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FindBugsFilter> | |
<Match> | |
<Bug category="SECURITY"/> | |
</Match> | |
</FindBugsFilter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>findbugs-maven-plugin</artifactId> | |
<version>3.0.4</version> | |
<configuration> | |
<effort>Max</effort> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.port=1010 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.kotlin.api | |
import org.springframework.stereotype.Component | |
import javax.ws.rs.GET | |
import javax.ws.rs.Path | |
import javax.ws.rs.Produces | |
import javax.ws.rs.QueryParam | |
import javax.ws.rs.core.MediaType | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.kotlin.config | |
import org.glassfish.jersey.server.ResourceConfig | |
import org.springframework.context.annotation.Configuration | |
/** | |
* Created by Kleber on 04/08/2016. | |
*/ | |
@Configuration | |
open class JerseyConfig : ResourceConfig() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.kotlin | |
import com.fasterxml.jackson.module.kotlin.KotlinModule | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.springframework.context.annotation.Bean | |
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder | |
import org.springframework.web.client.RestTemplate | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
// Neste bloco declare variaveis das versoes das principais dependencias e plugins | |
ext { | |
kotlinVersion = '1.0.3' | |
springBootVersion = '1.4.0.RELEASE' | |
jacksonModuleKotlinVersion = '2.7.5' | |
} | |
// Neste bloco declare onde encontrar dependencias para os plugins | |
repositories { | |
//mavenLocal() |