split random number and uuid generator modules
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 10m15s
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 10m15s
This commit is contained in:
parent
15c6263395
commit
0ae750fc0c
13 changed files with 29 additions and 5 deletions
|
@ -15,3 +15,9 @@ Quarkus Commons
|
|||
This repository contains modules with common classes and utilities
|
||||
that can be used by Quarkus applications.
|
||||
|
||||
The modules are:
|
||||
|
||||
* `quarkus-clock-service`
|
||||
* `quarkus-random-number-generator`
|
||||
* `quarkus-uuid-generator`
|
||||
|
||||
|
|
3
pom.xml
3
pom.xml
|
@ -10,7 +10,8 @@
|
|||
|
||||
<modules>
|
||||
<module>quarkus-clock-service</module>
|
||||
<module>quarkus-random-generator</module>
|
||||
<module>quarkus-random-number-generator</module>
|
||||
<module>quarkus-uuid-generator</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
|
|
16
quarkus-random-number-generator/pom.xml
Normal file
16
quarkus-random-number-generator/pom.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?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>
|
||||
|
||||
<parent>
|
||||
<groupId>ch.phoenixtechnologies.quarkus</groupId>
|
||||
<artifactId>quarkus-commons</artifactId>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>quarkus-random-number-generator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
</project>
|
|
@ -10,7 +10,7 @@
|
|||
<version>0.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>quarkus-random-generator</artifactId>
|
||||
<artifactId>quarkus-uuid-generator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
|
@ -1,4 +1,4 @@
|
|||
package ch.phoenixtechnologies.quarkus.commons.random;
|
||||
package ch.phoenixtechnologies.quarkus.commons.uuid;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.UUID;
|
|
@ -1,4 +1,4 @@
|
|||
package ch.phoenixtechnologies.quarkus.commons.random;
|
||||
package ch.phoenixtechnologies.quarkus.commons.uuid;
|
||||
|
||||
import com.fasterxml.uuid.Generators;
|
||||
import io.quarkus.arc.DefaultBean;
|
|
@ -1,5 +1,6 @@
|
|||
package ch.phoenixtechnologies.quarkus.commons.random;
|
||||
package ch.phoenixtechnologies.quarkus.commons.uuid;
|
||||
|
||||
import ch.phoenixtechnologies.quarkus.commons.uuid.UUIDGeneratorImpl;
|
||||
import io.quarkus.test.junit.QuarkusTest;
|
||||
import jakarta.inject.Inject;
|
||||
import org.junit.jupiter.api.Test;
|
Loading…
Add table
Add a link
Reference in a new issue