Skip to content

Instantly share code, notes, and snippets.

🧰 building cool stuff

Andres Almiray aalmiray

🧰 building cool stuff
View GitHub Profile
View assembly-pom.xml
aalmiray / output.txt
Last active Jun 6, 2021
Java version on Big Sur
View output.txt
ProductName: macOS
ProductVersion: 11.4
BuildVersion: 20F71
Groovy Version: 3.0.8 JVM: 16.0.1 Vendor: Oracle Corporation OS: Mac OS X
Using java version 16.0.1.hs-adpt in this shell.
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
aalmiray /
Last active May 17, 2021
JReleaser configuration for Jbang


🚀 Features

  • d9a4fcd add mavenrepo export option (#769)
  • 0a39c96 add interactive mode for non-jshell (#802)

🐛 Fixes

  • b2b0662 be able to launch editors with space in name (#800)
  • c7b0b59 Fixed template init naming validation
aalmiray /
Last active May 3, 2021
Oracle JDBC + SpringBoot 24.5
package com.acme.todo01;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
aalmiray / jbang.txt
Created Apr 10, 2021
jbang export mavenrepo
View jbang.txt
$ jbang --version
$ jbang export mavenrepo --force -O target -Dgroup=com.acme -Dartifact=hello -Dversion=0.0.0
[jbang] Writing target/com/acme/hello/0.0.0/hello-0.0.0.jar
[jbang] Writing target/com/acme/hello/0.0.0/hello-0.0.0.pom
[jbang] Exported to target
$ pomchecker check-maven-central --file target/com/acme/hello/0.0.0/hello-0.0.0.pom
PomChecker 1.1.0. Consider becoming a patron at
aalmiray / output
Created Mar 25, 2021
reproducible maven
View output
$ cat pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Keybase proof

I hereby claim:

  • I am aalmiray on github.
  • I am aalmiray ( on keybase.
  • I have a public key whose fingerprint is 19E6 A9B8 0701 6704 8DF9 1E53 09FD 6FEB F899 F9FA

To claim this, I am signing this object:

aalmiray / output
Last active Feb 1, 2021
Maven incremental build
View output
$ gm --version
Using maven at '/tmp/sample/mvnw' to run buildFile '/tmp/sample/pom.xml':
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/aalmiray/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
Java version: 1.8.0_272, vendor: Inc., runtime: /Users/aalmiray/.sdkman/candidates/java/8.0.272-amzn/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
aalmiray2:sample aalmiray$ tree .
View jreleaser.yml
name: app
version: 1.0.0-SNAPSHOT
description: Sample app
longDescription: Sample app
- Andres Almiray
license: Apache-2
javaVersion: 8
aalmiray / error
Created Nov 8, 2020
Javadoc error (JPMS)
View error
y$ gm clean build
Using gradle at '/Users/aalmiray/dev/github/bootstrapfx/gradlew' to run buildFile '/Users/aalmiray/dev/github/bootstrapfx/build.gradle':
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
> Task :clean UP-TO-DATE
> Task :bootstrapfx-core:clean
> Task :sampler:clean UP-TO-DATE
> Task :sampler-jpro:clean UP-TO-DATE
> Task :assemble UP-TO-DATE
> Task :check UP-TO-DATE
> Task :build UP-TO-DATE