- f0f109a 👷 #6 Add release configuration and workflows
- 84180af 👷♀️ #4 Adding GitHub Actions flow to template
- bfadab2 👷♀️ Adding CI
- 31ae0a3 ⚡️ Refactor post-generation Groovy script
- 9f232b0 📦 Creating archetype
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>3.2.0</version> | |
<configuration> | |
<attach>false</attach> | |
<appendAssemblyId>false</appendAssemblyId> | |
<finalName>kcctl-${project.version}-${os.detected.classifier}</finalName> | |
<workDirectory>${project.build.directory}/assembly/work</workDirectory> |
Darwin | |
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) |
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; |
$ jbang --version | |
0.70.0 | |
$ jbang export mavenrepo --force -O target -Dgroup=com.acme -Dartifact=hello -Dversion=0.0.0 hello.java | |
[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 https://www.patreon.com/aalmiray |
$ cat pom.xml | |
<?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>com.acme</groupId> | |
<artifactId>sample</artifactId> | |
<version>0.0.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> |
I hereby claim:
To claim this, I am signing this object:
$ 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: Amazon.com 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 . | |
. |
project: | |
name: app | |
version: 1.0.0-SNAPSHOT | |
description: Sample app | |
longDescription: Sample app | |
website: https://kordamp.org/app | |
authors: | |
- Andres Almiray | |
license: Apache-2 | |
javaVersion: 8 |