[FEAT] use Maven a build system root tool

This commit is contained in:
Edouard DUPIN 2024-06-07 09:26:18 +02:00
parent eb5455693e
commit 594e7b95e0
4 changed files with 10 additions and 10 deletions

View File

@ -7,13 +7,13 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="src" output="out/maven/classes" path="src"> <classpathentry including="**/*.java" kind="src" output="out/maven/classes" path="src">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>

10
pom.xml
View File

@ -1,6 +1,6 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>jatria-soft</groupId> <groupId>org.atriasoft</groupId>
<artifactId>aknot</artifactId> <artifactId>aknot</artifactId>
<version>0.1.0</version> <version>0.1.0</version>
<properties> <properties>
@ -14,23 +14,23 @@
<repositories> <repositories>
<repository> <repository>
<id>gitea</id> <id>gitea</id>
<url>https://gitea.atria-soft.org/api/packages/jatria-soft/maven</url> <url>https://gitea.atria-soft.org/api/packages/org.atriasoft/maven</url>
</repository> </repository>
</repositories> </repositories>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>gitea</id> <id>gitea</id>
<url>https://gitea.atria-soft.org/api/packages/jatria-soft/maven</url> <url>https://gitea.atria-soft.org/api/packages/org.atriasoft/maven</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>gitea</id> <id>gitea</id>
<url>https://gitea.atria-soft.org/api/packages/jatria-soft/maven</url> <url>https://gitea.atria-soft.org/api/packages/org.atriasoft/maven</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>jatria-soft</groupId> <groupId>org.atriasoft</groupId>
<artifactId>etk</artifactId> <artifactId>etk</artifactId>
<version>0.1.0</version> <version>0.1.0</version>
</dependency> </dependency>

View File

@ -571,7 +571,7 @@ public class ReflectTools {
if (empppe.length > paramId) { if (empppe.length > paramId) {
if (empppe[paramId] instanceof final ParameterizedType plopppppp) { if (empppe[paramId] instanceof final ParameterizedType plopppppp) {
final Type[] realType = plopppppp.getActualTypeArguments(); final Type[] realType = plopppppp.getActualTypeArguments();
//Log.info("ppplllppp: " + realType.length); //LOGGER.info("ppplllppp: " + realType.length);
if (realType.length > 0) { if (realType.length > 0) {
LOGGER.trace(" -->> {}", realType[0]); LOGGER.trace(" -->> {}", realType[0]);
internalModelClass = Class.forName(realType[0].getTypeName()); internalModelClass = Class.forName(realType[0].getTypeName());

View File

@ -17,7 +17,7 @@ public class IntrospectionPropertyMethodGetter implements IntrospectionPropertyG
// if (getter != null) { // if (getter != null) {
// type = getter.getReturnType(); // type = getter.getReturnType();
// if (Enum.class.isAssignableFrom(type)) { // if (Enum.class.isAssignableFrom(type)) {
// Log.verbose("Find an enum ..."); // LOGGER.trace("Find an enum ...");
// } else { // } else {
// Type empppe = getter.getGenericReturnType(); // Type empppe = getter.getGenericReturnType();
// if (empppe instanceof ParameterizedType plopppppp) { // if (empppe instanceof ParameterizedType plopppppp) {
@ -40,7 +40,7 @@ public class IntrospectionPropertyMethodGetter implements IntrospectionPropertyG
// if (empppe[0] instanceof ParameterizedType plopppppp) { // if (empppe[0] instanceof ParameterizedType plopppppp) {
// Type[] realType = plopppppp.getActualTypeArguments(); // Type[] realType = plopppppp.getActualTypeArguments();
// if (realType.length > 0) { // if (realType.length > 0) {
// Log.warning(" -->> " + realType[0]); // LOGGER.warn(" -->> " + realType[0]);
// internalModelClass = Class.forName(realType[0].getTypeName()); // internalModelClass = Class.forName(realType[0].getTypeName());
// } // }
// } // }