bmTas / JRecord

Cobol IO for Java/JVM languages via a Cobol Copybook
GNU Lesser General Public License v3.0
32 stars 25 forks source link

JitPack Build Fails for 0.93.3 #29

Open ThaddeusTreloar opened 4 days ago

ThaddeusTreloar commented 4 days ago

I am trying to pull JRecord via jitpack but Maven fails to pull the dependency. Looking at the build logs on JitPack there is an error with the build for this version:

Build starting...
Start: Thu Aug 22 09:13:01 UTC 2024 f537460e0be9
Git:
0.93.3-0-g0774306
commit 0774306ff969c36128ac4b7328e83ceb25616c9c
Author: Bruce Martin 
Date:   Wed Aug 21 18:05:23 2024 +1000

    Reorganise project

Init SDKMan
Maven wrapper script found
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c)
Maven home: /home/jitpack/.m2/wrapper/dists/apache-maven-3.9.2-bin/3238cb54/apache-maven-3.9.2
Java version: 1.8.0_292, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-13-generic", arch: "amd64", family: "unix"

Running: ./mvnw clean install -DskipTests

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM /home/jitpack/build/Source/pom.xml: /home/jitpack/build/Source/pom.xml (No such file or directory) @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project  (/home/jitpack/build/Source/pom.xml) has 1 error
[ERROR]     Non-readable POM /home/jitpack/build/Source/pom.xml: /home/jitpack/build/Source/pom.xml (No such file or directory)
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Build tool exit code: 0
Looking for artifacts...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Looking for pom.xml in build directory and ~/.m2
Found artifact: net.sf.jrecord:jrecord-examples:0.93.3
Found artifact: net.sf.jrecord:JRecord:0.93.3
2024-08-22T09:13:06.513828875Z
Exit code: 0

⚠️ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/net/sf/jrecord/jrecord-examples/0.93.3

Also, do you have any plans to push JRecord and Cb2XML on Maven Central? If so, what would be the timeline for that.

bmTas commented 3 days ago

I will look at JitPack

Maven Central - maybe, not sure of the time line.