Open
Description
jackson-databind, jersey 등의 dependency인 jackson core 버전 충돌로 인해 발생하는 이슈로 core 버전을 올려 pr을 통해 master에 반영 되어 있는 것으로 알고 있습니다.
ref #946
현재 2.20.0 버전에는 반영 전으로 테스트를 위해 버전 업을 하고 maven 을 통해 jar를 생성할 때 OS, IDE 환경에 따라 정상적으로 생성되지 않는 이슈가 발생 하였습니다.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] --------------< io.github.scouter-project:scouter-webapp >--------------
[INFO] Building scouter.webapp 2.20.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ scouter-webapp ---
[INFO] Copying 61 resources from src\main\resources to target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.336 s
[INFO] Finished at: 2024-03-19T14:02:34+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources) on project scouter-webapp: filtering C:\Users\imjh\IdeaProjects\scouter\scouter.webapp\src\main\resources\webroot\swagger\fonts\DroidSans-Bold.ttf to C:\Users\imjh\IdeaProjects\scouter\scouter.webapp\target\classes\webroot\swagger\fonts\DroidSans-Bold.ttf failed with MalformedInputException: Input length = 1 -> [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/MojoExecutionException
Process finished with exit code 1
위 오류를 해결하기 위해 pom 에 maven-resources-plugin을 추가 하였습니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.0</version>
</plugin>
Metadata
Metadata
Assignees
Labels
No labels