mr-m0nst3r/Burpy

编译时报错 rsyntaxtextarea:jar

Closed this issue · 2 comments

➜  Burpy git:(master) mvn package -U
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< me.m0nst3r:burpy >--------------------------
[INFO] Building burpy 2.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/fifesoft/rsyntaxtextarea/2.6.1.edited/rsyntaxtextarea-2.6.1.edited.pom
[WARNING] The POM for com.fifesoft:rsyntaxtextarea:jar:2.6.1.edited is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/com/fifesoft/rsyntaxtextarea/2.6.1.edited/rsyntaxtextarea-2.6.1.edited.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.839 s
[INFO] Finished at: 2020-07-18T01:03:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project burpy: Could not resolve dependencies for project me.m0nst3r:burpy:jar:2.0-SNAPSHOT: Could not find artifact com.fifesoft:rsyntaxtextarea:jar:2.6.1.edited in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[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/DependencyResolutionException

找到原因了
首先下载
https://github.com/federicodotta/RSyntaxTextArea/releases
然后

mvn install:install-file -DgroupId=com.fifesoft -DartifactId=rsyntaxtextarea -Dversion=2.6.1.edited -Dpackaging=jar -Dfile=/Users/usexr/Documents/code/lab/Burpy/rsyntaxtextarea-2.6.1.edited.jar
mvn clean package