Skip to content

Commit a378d20

Browse files
committed
Bump bld to version 2.3.0
1 parent c0c6c14 commit a378d20

7 files changed

Lines changed: 33 additions & 35 deletions

File tree

.github/workflows/bld.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: bld-ci
22

3-
on: [ push, pull_request, workflow_dispatch ]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
build-bld-project:
@@ -9,8 +9,8 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
java-version: [ 17, 21, 24 ]
13-
os: [ ubuntu-latest, windows-latest, macos-latest ]
12+
java-version: [17, 21, 24]
13+
os: [ubuntu-latest, windows-latest, macos-latest]
1414

1515
runs-on: ${{ matrix.os }}
1616

@@ -40,7 +40,7 @@ jobs:
4040
run: rm -rf pom.xml
4141

4242
- name: SonarCloud Scan
43-
uses: sonarsource/sonarcloud-github-action@master
43+
uses: SonarSource/sonarqube-scan-action@v5.2.0
4444
if: success() && matrix.java-version == env.COVERAGE_JDK && matrix.os == 'ubuntu-latest'
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.idea/libraries/bld.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"java.configuration.updateBuildConfiguration": "automatic",
1010
"java.project.referencedLibraries": [
11-
"${HOME}/.bld/dist/bld-2.2.1.jar",
11+
"${HOME}/.bld/dist/bld-2.3.0.jar",
1212
"lib/**/*.jar",
1313
]
1414
}

README.md

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause)
44
[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
5-
[![bld](https://img.shields.io/badge/2.2.1-FA9052?label=bld&labelColor=2392FF)](https://rife2.com/bld)
5+
[![bld](https://img.shields.io/badge/2.3.0-FA9052?label=bld&labelColor=2392FF)](https://rife2.com/bld)
66
[![Release](https://img.shields.io/github/release/ethauvin/httpstatus.svg)](https://github.com/ethauvin/httpstatus/releases/latest)
7-
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/net.thauvin.erik.httpstatus/httpstatus.svg?label=sanpshot&server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/httpstatus/httpstatus/)
87
[![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik.httpstatus/httpstatus.svg?color=blue)](https://central.sonatype.com/artifact/net.thauvin.erik.httpstatus/httpstatus)
8+
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fnet%2Fthauvin%2Ferik%2Fhttpstatus%2Fhttpstatus%2Fmaven-metadata.xml&label=snapshot)](https://github.com/ethauvin/HttpStatus/packages/2260867/versions)
99

1010
[![Known Vulnerabilities](https://snyk.io/test/github/ethauvin/httpstatus/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/ethauvin/httpstatus?targetFile=pom.xml)
1111
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_HttpStatus&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ethauvin_HttpStatus)
@@ -18,8 +18,8 @@ A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag
1818

1919
- [Examples](#examples)
2020
- [Usage](#usage)
21-
- [Gradle](#gradle)
2221
- [bld](#bld)
22+
- [Gradle](#gradle)
2323
- [Maven](#maven)
2424
- [JSP Tags](#jsp-tags)
2525
- [hs:cause](#hscause)
@@ -62,12 +62,28 @@ Not Implemented
6262

6363
## Usage
6464

65+
### [bld](https://rife2.com/bld)
66+
67+
Include the following in your `bld` build file:
68+
69+
```java
70+
repositories = List.of(MAVEN_CENTRAL, CENTRAL_SNAPSHOTS);
71+
72+
scope(compile).include(
73+
dependency("net.thauvin.erik.httpstatus","httpstatus", version(1, 1, 1))
74+
);
75+
```
76+
6577
### [Gradle](https://gradle.org/)
6678

6779
Include the following in your `build.gradle` file:
6880

6981
```gradle
7082
repositories {
83+
maven {
84+
name = 'Central Portal Snapshots'
85+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
86+
}
7187
mavenCentral()
7288
}
7389
@@ -76,27 +92,9 @@ dependencies {
7692
}
7793
```
7894

79-
### [bld](https://rife2.com/bld)
80-
81-
Include the following in your `bld` build file:
82-
83-
```java
84-
scope(compile).include(
85-
dependency("net.thauvin.erik.httpstatus","httpstatus", version(1, 1, 0))
86-
);
87-
```
88-
89-
### [Maven](http://maven.apache.org/)
90-
91-
As a `Maven` artifact:
95+
### Maven
9296

93-
```xml
94-
<dependency>
95-
<groupId>net.thauvin.erik.httpstatus</groupId>
96-
<artifactId>httpstatus</artifactId>
97-
<version>1.1.1</version>
98-
</dependency>
99-
```
97+
Instructions for using with Maven, Ivy, etc. can be found on [Maven Central](https://central.sonatype.com/artifact/net.thauvin.erik.httpstatus/httpstatus).
10098

10199
## JSP Tags
102100

lib/bld/bld-wrapper.jar

-6 Bytes
Binary file not shown.

lib/bld/bld-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ bld.extension-exec=com.uwyn.rife2:bld-exec:1.0.5
55
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.11-SNAPSHOT
66
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.3.1
77
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES,MAVEN_LOCAL,RIFE2_SNAPSHOTS
8-
bld.version=2.2.1
8+
bld.version=2.3.0

src/bld/java/net/thauvin/erik/httpstatus/HttpStatusBuild.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public HttpStatusBuild() {
9393
.link("https://jakarta.ee/specifications/platform/9/apidocs/");
9494

9595
publishOperation()
96-
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS_LEGACY.location())
97-
.withCredentials(property("sonatype.user"), property("sonatype.password"))
98-
: repository(SONATYPE_RELEASES_LEGACY.location())
99-
.withCredentials(property("sonatype.user"), property("sonatype.password")))
96+
.repository(version.isSnapshot() ? repository(CENTRAL_SNAPSHOTS.location())
97+
.withCredentials(property("central.user"), property("central.password"))
98+
: repository(CENTRAL_RELEASES.location())
99+
.withCredentials(property("central.user"), property("central.password")))
100100
.repository(repository("github"))
101101
.info(new PublishInfo()
102102
.groupId(pkg)

0 commit comments

Comments
 (0)