File tree Expand file tree Collapse file tree 5 files changed +46
-16
lines changed
src/main/java/ac/simons/oembed Expand file tree Collapse file tree 5 files changed +46
-16
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ build :
11+ name : build
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v1
15+ - name : Set up JDK
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 11
19+ - name : Build with Maven
20+ run : ./mvnw --no-transfer-progress clean verify
21+
22+ sonar :
23+ name : sonar analyse
24+ runs-on : ubuntu-latest
25+ needs : build
26+ steps :
27+ - uses : actions/checkout@v1
28+ - uses : actions/setup-java@v1
29+ with :
30+ java-version : 11
31+ - name : Run SonarCloud analyse
32+ run : >
33+ ./mvnw --batch-mode --no-transfer-progress clean
34+ org.jacoco:jacoco-maven-plugin:prepare-agent verify
35+ org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
36+ -Dsonar.host.url=https://sonarcloud.io
37+ -Dsonar.organization=michael-simons-github
38+ -Dsonar.projectKey=eu.michael-simons:java-oembed
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11h1. Simple oembed implementation for Java based on Apache HttpClient
22
3- !https://travis-ci.org /michael-simons/java-oembed.svg?branch=master !:https://travis-ci.org /michael-simons/java-oembed !https://sonarcloud.io/api/project_badges/measure?project=eu.michael-simons%3Ajava-oembed&metric=coverage!:https://sonarcloud.io/dashboard?id=eu.michael-simons%3Ajava-oembed !https://sonarcloud.io/api/project_badges/measure?project=eu.michael-simons%3Ajava-oembed&metric=alert_status!:https://sonarcloud.io/dashboard?id=eu.michael-simons%3Ajava-oembed !https://maven-badges.herokuapp.com/maven-central/eu.michael-simons/java-oembed/badge.svg(Maven Central)!:https://maven-badges.herokuapp.com/maven-central/eu.michael-simons/java -oembed
3+ !https://github.com /michael-simons/java-oembed/workflows/build/badge .svg!:https://github.com /michael-simons/java-oembed/actions !https://sonarcloud.io/api/project_badges/measure?project=eu.michael-simons%3Ajava-oembed&metric=coverage!:https://sonarcloud.io/dashboard?id=eu.michael-simons%3Ajava-oembed !https://sonarcloud.io/api/project_badges/measure?project=eu.michael-simons%3Ajava-oembed&metric=alert_status!:https://sonarcloud.io/dashboard?id=eu.michael-simons%3Ajava-oembed
44
55This is a very simple Java client for consuming "Oembed":http://www.oembed.com/ enabled sites.
66
Original file line number Diff line number Diff line change 3030 <spring-boot .version>2.1.1.RELEASE</spring-boot .version>
3131 <maven-resources-plugin .version>3.1.0</maven-resources-plugin .version>
3232 <jsoup .version>1.11.3</jsoup .version>
33+ <commons-beanutils .version>1.9.4</commons-beanutils .version>
3334 </properties >
3435 <build >
3536 <pluginManagement >
306307 <dependency >
307308 <groupId >commons-beanutils</groupId >
308309 <artifactId >commons-beanutils</artifactId >
309- <version >1.9.3 </version >
310+ <version >${commons-beanutils.version} </version >
310311 </dependency >
311312 <dependency >
312313 <groupId >junit</groupId >
Original file line number Diff line number Diff line change 5050import org .slf4j .LoggerFactory ;
5151
5252/**
53- * @author Michael J. Simons, 2014-12-31
53+ * @author Michael J. Simons
54+ * @since 2014-12-31
5455 */
5556public class OembedService {
5657
You can’t perform that action at this time.
0 commit comments