Skip to content

Commit 32bce84

Browse files
Merge Quarkus extension (#127)
* Join Quarkus XBuilder * Add JReleaser
1 parent a66a988 commit 32bce84

File tree

229 files changed

+1742
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+1742
-119
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
CI: true
1515

1616
jobs:
17-
linux-jvm-tests:
17+
test:
1818
name: JDK ${{matrix.java-version}} JVM Tests
1919
strategy:
2020
matrix:
@@ -29,3 +29,18 @@ jobs:
2929
cache: maven
3030
- name: Build with Maven
3131
run: mvn verify
32+
33+
quarkus-extension:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Set up JDK 11
38+
uses: actions/setup-java@v3
39+
with:
40+
java-version: 11
41+
distribution: temurin
42+
cache: maven
43+
- name: Build with Maven
44+
run: mvn -Pnative install
45+
- name: Build with Maven
46+
run: mvn -Pnative-image install -f quarkus-extension/integration-tests/

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
RELEASE_VERSION: ${{ github.event.inputs.version }}
2323
run: |
24-
mvn -B versions:set versions:commit -DnewVersion=$RELEASE_VERSION
24+
mvn -B versions:set versions:commit -DnewVersion=$RELEASE_VERSION -Pprepare-release
2525
git config --global user.email "project.openubl.preview.bot@gmail.com"
2626
git config --global user.name "Project-Openubl Bot"
2727
git commit --allow-empty -a -m "🏁 Releasing version $RELEASE_VERSION"
@@ -76,7 +76,7 @@ jobs:
7676
env:
7777
NEXT_VERSION: ${{ github.event.inputs.next }}
7878
run: |
79-
mvn -B versions:set versions:commit -DnewVersion=$NEXT_VERSION
79+
mvn -B versions:set versions:commit -DnewVersion=$NEXT_VERSION -Pprepare-release
8080
git config --global user.email "project.openubl.preview.bot@gmail.com"
8181
git config --global user.name "Project-Openubl Bot"
8282
git commit -a -m "⬆️ Next version $NEXT_VERSION"

.github/workflows/snaphots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CI: true
1111

1212
jobs:
13-
linux-jvm-tests:
13+
test:
1414
name: JDK JVM Tests
1515
runs-on: ubuntu-latest
1616
steps:
@@ -25,7 +25,7 @@ jobs:
2525

2626
snapshots:
2727
needs: [ linux-jvm-tests ]
28-
name: Snaphots
28+
name: Snapshots
2929
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
3030
runs-on: ubuntu-latest
3131
steps:

core/pom.xml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2019 Project OpenUBL, Inc. and/or its affiliates
5+
and other contributors as indicated by the @author tags.
6+
7+
Licensed under the Apache License - 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
https://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<modelVersion>4.0.0</modelVersion>
23+
24+
<parent>
25+
<groupId>io.github.project-openubl</groupId>
26+
<artifactId>xbuilder-parent</artifactId>
27+
<version>2.0.0-SNAPSHOT</version>
28+
<relativePath>../pom.xml</relativePath>
29+
</parent>
30+
31+
<artifactId>xbuilder</artifactId>
32+
33+
<name>XBuilder</name>
34+
<description>XBuilder library</description>
35+
<packaging>jar</packaging>
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.projectlombok</groupId>
40+
<artifactId>lombok</artifactId>
41+
<version>${lombok.version}</version>
42+
<scope>provided</scope>
43+
</dependency>
44+
<dependency>
45+
<groupId>io.quarkus.qute</groupId>
46+
<artifactId>qute-core</artifactId>
47+
<version>${quarkus.version}</version>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>com.fasterxml.jackson.core</groupId>
52+
<artifactId>jackson-databind</artifactId>
53+
<version>2.13.3</version>
54+
</dependency>
55+
<dependency>
56+
<groupId>io.swagger.core.v3</groupId>
57+
<artifactId>swagger-annotations</artifactId>
58+
<version>2.2.4</version>
59+
</dependency>
60+
61+
<dependency>
62+
<groupId>org.junit.jupiter</groupId>
63+
<artifactId>junit-jupiter-engine</artifactId>
64+
<version>5.9.1</version>
65+
<scope>test</scope>
66+
</dependency>
67+
<dependency>
68+
<groupId>org.xmlunit</groupId>
69+
<artifactId>xmlunit-core</artifactId>
70+
<version>${xmlunit.version}</version>
71+
<scope>test</scope>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.xmlunit</groupId>
75+
<artifactId>xmlunit-matchers</artifactId>
76+
<version>${xmlunit.version}</version>
77+
<scope>test</scope>
78+
</dependency>
79+
<dependency>
80+
<groupId>io.github.project-openubl</groupId>
81+
<artifactId>xsender</artifactId>
82+
<version>${xsender.version}</version>
83+
<scope>test</scope>
84+
</dependency>
85+
</dependencies>
86+
87+
<build>
88+
<plugins>
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-compiler-plugin</artifactId>
92+
<version>${compiler-plugin.version}</version>
93+
<configuration>
94+
<source>${maven.compiler.source}</source>
95+
<target>${maven.compiler.target}</target>
96+
</configuration>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-surefire-plugin</artifactId>
101+
<version>${surefire-plugin.version}</version>
102+
<inherited>true</inherited>
103+
<configuration>
104+
<excludes>
105+
<exclude>**/*KT.java</exclude>
106+
</excludes>
107+
</configuration>
108+
</plugin>
109+
</plugins>
110+
</build>
111+
</project>

src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog.java renamed to core/src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog.java

File renamed without changes.

src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog1.java renamed to core/src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog1.java

File renamed without changes.

src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog10.java renamed to core/src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog10.java

File renamed without changes.

src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog12.java renamed to core/src/main/java/io/github/project/openubl/xbuilder/content/catalogs/Catalog12.java

File renamed without changes.

0 commit comments

Comments
 (0)