Compare commits
No commits in common. "62569040ae728aecdd76825f3dab4dc358b20be8" and "eb09e65f927f2dfa44ab34f3eddd33a8363da437" have entirely different histories.
62569040ae
...
eb09e65f92
4 changed files with 3 additions and 93 deletions
4
pom.xml
4
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<groupId>eu.m724</groupId>
|
<groupId>eu.m724</groupId>
|
||||||
<artifactId>wtapi</artifactId>
|
<artifactId>wtapi</artifactId>
|
||||||
<version>0.6-SNAPSHOT</version>
|
<version>0.5-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<developerConnection>scm:git:git@git.724.rocks:Minecon724/wtapi.git</developerConnection>
|
<developerConnection>scm:git:git@git.724.rocks:Minecon724/wtapi.git</developerConnection>
|
||||||
<tag>wtapi-0.5</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -1,66 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<groupId>eu.m724</groupId>
|
|
||||||
<artifactId>wtapi</artifactId>
|
|
||||||
<version>0.5-SNAPSHOT</version>
|
|
||||||
|
|
||||||
<properties>
|
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>724rocks</id>
|
|
||||||
<url>https://git.724.rocks/api/packages/Minecon724/maven</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.google.code.gson</groupId>
|
|
||||||
<artifactId>gson</artifactId>
|
|
||||||
<version>2.11.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<version>4.13.2</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.java-websocket</groupId>
|
|
||||||
<artifactId>Java-WebSocket</artifactId>
|
|
||||||
<version>1.5.6</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
|
||||||
<version>3.0.1</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>724rocks</id>
|
|
||||||
<url>https://git.724.rocks/api/packages/Minecon724/maven</url>
|
|
||||||
</repository>
|
|
||||||
<snapshotRepository>
|
|
||||||
<id>724rocks</id>
|
|
||||||
<url>https://git.724.rocks/api/packages/Minecon724/maven</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<scm>
|
|
||||||
<developerConnection>scm:git:git@git.724.rocks:Minecon724/wtapi.git</developerConnection>
|
|
||||||
<tag>HEAD</tag>
|
|
||||||
</scm>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -1,24 +0,0 @@
|
||||||
#release configuration
|
|
||||||
#Mon Jun 10 16:03:28 CEST 2024
|
|
||||||
completedPhase=generate-release-poms
|
|
||||||
exec.pomFileName=pom.xml
|
|
||||||
exec.snapshotReleasePluginAllowed=false
|
|
||||||
pinExternals=false
|
|
||||||
preparationGoals=clean verify
|
|
||||||
project.dev.eu.m724\:wtapi=0.6-SNAPSHOT
|
|
||||||
project.rel.eu.m724\:wtapi=0.5
|
|
||||||
project.scm.eu.m724\:wtapi.developerConnection=scm\:git\:git@git.724.rocks\:Minecon724/wtapi.git
|
|
||||||
project.scm.eu.m724\:wtapi.tag=HEAD
|
|
||||||
projectVersionPolicyConfig=<projectVersionPolicyConfig>${projectVersionPolicyConfig}</projectVersionPolicyConfig>\n
|
|
||||||
projectVersionPolicyId=default
|
|
||||||
pushChanges=true
|
|
||||||
releaseStrategyId=default
|
|
||||||
remoteTagging=true
|
|
||||||
scm.branchCommitComment=@{prefix} prepare branch @{releaseLabel}
|
|
||||||
scm.commentPrefix=[maven-release-plugin]
|
|
||||||
scm.developmentCommitComment=@{prefix} prepare for next development iteration
|
|
||||||
scm.releaseCommitComment=@{prefix} prepare release @{releaseLabel}
|
|
||||||
scm.rollbackCommitComment=@{prefix} rollback the release of @{releaseLabel}
|
|
||||||
scm.tag=wtapi-0.5
|
|
||||||
scm.tagNameFormat=@{project.artifactId}-@{project.version}
|
|
||||||
scm.url=scm\:git\:git@git.724.rocks\:Minecon724/wtapi.git
|
|
|
@ -15,7 +15,7 @@ import eu.m724.wtapi.provider.impl.openweathermap.OpenWeatherMapProvider;
|
||||||
public class OpenWeatherMapTest {
|
public class OpenWeatherMapTest {
|
||||||
@Test
|
@Test
|
||||||
public void openWeatherMapTest() throws InterruptedException, ExecutionException {
|
public void openWeatherMapTest() throws InterruptedException, ExecutionException {
|
||||||
String apiKey = "48ac630acaa5c003316aea1dd7327d05";
|
String apiKey = "f3198d2a4ae3076e0aa47c821a253447";
|
||||||
|
|
||||||
WeatherProvider provider = new OpenWeatherMapProvider(apiKey);
|
WeatherProvider provider = new OpenWeatherMapProvider(apiKey);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue