Compare commits

...

2 commits

Author SHA1 Message Date
62569040ae
[maven-release-plugin] prepare for next development iteration 2024-06-10 16:05:07 +02:00
63e6578bdd
updating this 2024-06-10 16:04:38 +02:00
4 changed files with 93 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<groupId>eu.m724</groupId> <groupId>eu.m724</groupId>
<artifactId>wtapi</artifactId> <artifactId>wtapi</artifactId>
<version>0.5-SNAPSHOT</version> <version>0.6-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>HEAD</tag> <tag>wtapi-0.5</tag>
</scm> </scm>
</project> </project>

66
pom.xml.releaseBackup Normal file
View file

@ -0,0 +1,66 @@
<?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>

24
release.properties Normal file
View file

@ -0,0 +1,24 @@
#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

View file

@ -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 = "f3198d2a4ae3076e0aa47c821a253447"; String apiKey = "48ac630acaa5c003316aea1dd7327d05";
WeatherProvider provider = new OpenWeatherMapProvider(apiKey); WeatherProvider provider = new OpenWeatherMapProvider(apiKey);