webraybtl/CodeQLpy

这是为啥,依赖下不下来?

Closed this issue · 2 comments

arch -x86_64 codeql database create out/database/XXEDemo --language=java --command="/bin/bash -c /Users/code/python/CodeQLpy/out/decode/run.sh" --overwrite

Initializing database at /Users/code/python/CodeQLpy/out/database/XXEDemo.
Running build command: [/bin/bash, -c, /Users/code/python/CodeQLpy/out/decode/run.sh]
[2023-01-30 16:36:17] [build-stdout] [INFO] Scanning for projects...
[2023-01-30 16:36:18] [build-stdout] [INFO]
[2023-01-30 16:36:18] [build-stdout] [INFO] ---------------------< io.github.talelin:latticy >----------------------
[2023-01-30 16:36:18] [build-stdout] [INFO] Building latticy 0.2.1-RELEASE
[2023-01-30 16:36:18] [build-stdout] [INFO] --------------------------------[ jar ]---------------------------------
[2023-01-30 16:36:19] [build-stdout] [INFO]
[2023-01-30 16:36:19] [build-stdout] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ latticy ---
[2023-01-30 16:36:19] [build-stdout] [INFO] Deleting /Users/code/python/CodeQLpy/target
[2023-01-30 16:36:19] [build-stdout] [INFO]
[2023-01-30 16:36:19] [build-stdout] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ latticy ---
[2023-01-30 16:36:19] [build-stdout] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-01-30 16:36:19] [build-stdout] [INFO] Using 'UTF-8' encoding to copy filtered properties files.
[2023-01-30 16:36:19] [build-stdout] [INFO] skip non existing resourceDirectory /Users/code/python/CodeQLpy/src/main/resources
[2023-01-30 16:36:19] [build-stdout] [INFO] skip non existing resourceDirectory /Users/code/python/CodeQLpy/src/main/java
[2023-01-30 16:36:19] [build-stdout] [INFO]
[2023-01-30 16:36:19] [build-stdout] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ latticy ---
[2023-01-30 16:36:20] [build-stdout] [INFO] No sources to compile
[2023-01-30 16:36:20] [build-stdout] [INFO]
[2023-01-30 16:36:20] [build-stdout] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ latticy ---
[2023-01-30 16:36:20] [build-stdout] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-01-30 16:36:20] [build-stdout] [INFO] Using 'UTF-8' encoding to copy filtered properties files.
[2023-01-30 16:36:20] [build-stdout] [INFO] skip non existing resourceDirectory /Users/code/python/CodeQLpy/src/test/resources
[2023-01-30 16:36:20] [build-stdout] [INFO]
[2023-01-30 16:36:20] [build-stdout] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ latticy ---
[2023-01-30 16:36:20] [build-stdout] [INFO] No sources to compile
[2023-01-30 16:36:20] [build-stdout] [INFO]
[2023-01-30 16:36:20] [build-stdout] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ latticy ---
[2023-01-30 16:36:20] [build-stdout] [INFO] Tests are skipped.
[2023-01-30 16:36:20] [build-stdout] [INFO]
[2023-01-30 16:36:20] [build-stdout] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ latticy ---
[2023-01-30 16:36:20] [build-stdout] [WARNING] JAR will be empty - no content was marked for inclusion!
[2023-01-30 16:36:20] [build-stdout] [INFO] Building jar: /Users/code/python/CodeQLpy/target/latticy-0.2.1-RELEASE.jar
[2023-01-30 16:36:20] [build-stdout] [INFO]
[2023-01-30 16:36:20] [build-stdout] [INFO] --- spring-boot-maven-plugin:2.5.2:repackage (repackage) @ latticy ---
[2023-01-30 16:36:21] [build-stdout] [INFO] ------------------------------------------------------------------------
[2023-01-30 16:36:21] [build-stdout] [INFO] BUILD FAILURE
[2023-01-30 16:36:21] [build-stdout] [INFO] ------------------------------------------------------------------------
[2023-01-30 16:36:21] [build-stdout] [INFO] Total time: 3.989 s
[2023-01-30 16:36:21] [build-stdout] [INFO] Finished at: 2023-01-30T16:36:21+08:00
[2023-01-30 16:36:21] [build-stdout] [INFO] ------------------------------------------------------------------------
[2023-01-30 16:36:21] [build-stdout] [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.5.2:repackage (repackage) on project latticy: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.5.2:repackage failed: Unable to find main class -> [Help 1]
[2023-01-30 16:36:21] [build-stdout] [ERROR]
[2023-01-30 16:36:21] [build-stdout] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2023-01-30 16:36:21] [build-stdout] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-01-30 16:36:21] [build-stdout] [ERROR]
[2023-01-30 16:36:21] [build-stdout] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-01-30 16:36:21] [build-stdout] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[2023-01-30 16:36:22] [build-stdout] Eclipse Compiler for Java(TM) v20160829-0950, 3.12.1

使用maven打包后成功了,不能直接使用源码生成数据库?

如果你是maven的项目,运行的时候不要选择-c的参数