Hi there, Currently, when I use maven to build the project I have this problem. I have 2 projects: desk_post and desk_post_test (required desk_post) When I run for desk_post -> mvn clean install -> successful -> created: desk_post-1.00.08.00-SNAPSHOT.iar -> the resources folder already included in iar file Then I run for desk_post_test -> mvn clean test -X -> not successful I open the folder desk_post_test\target\ivyBuildApp\iarJars\ I can not find the resources anymore (see the picture) Unfortunately, I have to use that resource I used: Ivy 6.3.0 Do you have any idea? This is one log in command line:
asked 07.06.2017 at 08:22 khanh11166 |
I just checked in the newest code base. And I agree that resources will never be accessible in dependent projects. The reason is exactly the log line you mentioned. We build a simple jar with minimal contents (classes + embedded jars). Unfortunately we do not consider static resources. As short fix you could pack all resources into a JAR file, copy this JAR into the ivyProject and add it to the classpath. Then the resources should be accessible by the maven build. answered 07.06.2017 at 08:56 Reguel Werme... ♦♦ Hi Reguel, This short fix is OK for me. At least I have one way to fix this. Thanks, DK
(13.06.2017 at 02:42)
khanh11166
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 07.06.2017 at 08:22
Seen: 4,310 times
Last updated: 14.06.2017 at 02:59