Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous hack for gems didn't work #249

Closed
Riduidel opened this issue Oct 3, 2022 · 0 comments
Closed

Previous hack for gems didn't work #249

Riduidel opened this issue Oct 3, 2022 · 0 comments
Assignees

Comments

@Riduidel
Copy link
Owner

Riduidel commented Oct 3, 2022

Weirdly enough, it seems to work ... well, excepted for releases, where

[INFO] WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method java.lang.Class.getConstantPool()
[INFO] WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method java.lang.Class.getEnumConstantsShared()
[INFO] WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method java.lang.Class.casAnnotationType(sun.reflect.annotation.AnnotationType,sun.reflect.annotation.AnnotationType)
[INFO] WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method java.lang.Class.getAnnotationType()
[INFO] WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method java.lang.Class.getDeclaredAnnotationMap()
[INFO] ERROR:  While executing gem ... (Errno::ESRCH)
[INFO]     No such process - No message available
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary for Aadarchi : root POM 0.1.2:
[INFO] [INFO]
[INFO] [INFO] Aadarchi : root POM ................................ SUCCESS [  5.641 s]
[INFO] [INFO] Aadarchi : CDI Config extension .................... SUCCESS [  9.342 s]
[INFO] [INFO] Markdown to Asciidoc converter ..................... SUCCESS [ 10.068 s]
[INFO] [INFO] Aadarchi : Base module ............................. SUCCESS [  9.535 s]
[INFO] [INFO] Aadarchi : GitHub SCM handler ...................... SUCCESS [  7.387 s]
[INFO] [INFO] Aadarchi : Gitlab SCM Handler ...................... SUCCESS [  8.465 s]
[INFO] [INFO] Aadarchi : ADR ticket extractor .................... SUCCESS [  8.256 s]
[INFO] [INFO] Aadarchi : Structurizr components detector ......... SUCCESS [  8.078 s]
[INFO] [INFO] Aadarchi : CDI in Maven helper ..................... SUCCESS [  8.191 s]
[INFO] [INFO] Aadarchi : Maven metadata inferer .................. SUCCESS [ 10.479 s]
[INFO] [INFO] Aadarchi : Maven plugin ............................ FAILURE [ 11.523 s]
[INFO] [INFO] Aadarchi : System documentation generator .......... SKIPPED
[INFO] [INFO] Aadarchi : Spring components detector .............. SKIPPED
[INFO] [INFO] Aadarchi : Sequence diagram generator .............. SKIPPED
[INFO] [INFO] Aadarchi : Archetype ............................... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  01:38 min
[INFO] [INFO] Finished at: 2022-10-03T19:02:07+02:00
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:2.0.1:initialize (install-gems) on project aadarchi-maven-plugin: Execution install-gems of goal de.saumya.mojo:gem-maven-plugin:2.0.1:initialize failed: Java returned: 1 -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR]   mvn <args> -rf :aadarchi-maven-plugin
[INFO] ------------------------------------------------------------

I guess there maybe a way to turn around that one by providing a custom pom for release profile ... but I have to check that first.

@Riduidel Riduidel self-assigned this Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant