]
Issue was automatically transitioned when Amos Feng created pull request #182 in GitHub
---------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
Karaf fails to build in CI
--------------------------
Key: JBTM-2805
URL:
https://issues.jboss.org/browse/JBTM-2805
Project: JBoss Transaction Manager
Issue Type: Task
Components: Build System
Reporter: Tom Jenkinson
Assignee: Amos Feng
We should try to avoid building Karaf in CI.
At this point it fails to build.
{code}
[INFO] --- maven-resources-plugin:2.7:resources (process-resources) @
apache-karaf-minimal ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- karaf-maven-plugin:4.1.0-SNAPSHOT:assembly (process-resources) @
apache-karaf-minimal ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Karaf ....................................... SUCCESS [ 4.795 s]
[INFO] Apache Karaf :: JAAS ............................... SUCCESS [ 0.017 s]
[INFO] Apache Karaf :: JAAS :: Boot ....................... SUCCESS [ 2.413 s]
[INFO] Apache Karaf :: Util ............................... SUCCESS [ 4.843 s]
[INFO] Apache Karaf :: Main ............................... SUCCESS [ 11.143 s]
[INFO] Apache Karaf :: Features ........................... SUCCESS [ 0.012 s]
[INFO] Apache Karaf :: Features :: Extension .............. SUCCESS [ 0.157 s]
[INFO] Apache Karaf :: Service ............................ SUCCESS [ 0.012 s]
[INFO] Apache Karaf :: Service :: Guard ................... SUCCESS [ 8.831 s]
[INFO] Apache Karaf :: Shell .............................. SUCCESS [ 0.010 s]
[INFO] Apache Karaf :: Shell :: Core ...................... SUCCESS [ 6.523 s]
[INFO] Apache Karaf :: Tooling ............................ SUCCESS [ 0.013 s]
[INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin for Services Metadata SUCCESS [
58.898 s]
[INFO] Apache Karaf :: Features :: Core ................... SUCCESS [ 5.522 s]
[INFO] Apache Karaf :: Features :: Command ................ SUCCESS [ 0.845 s]
[INFO] Apache Karaf :: KAR :: Core ........................ SUCCESS [ 0.869 s]
[INFO] Apache Karaf :: JAAS :: Config ..................... SUCCESS [ 7.906 s]
[INFO] Apache Karaf :: JAAS :: Modules .................... SUCCESS [ 18.313 s]
[INFO] Apache Karaf :: Bundle ............................. SUCCESS [ 0.009 s]
[INFO] Apache Karaf :: Bundle :: Core ..................... SUCCESS [ 1.076 s]
[INFO] Apache Karaf :: Bundle :: BlueprintStateService .... SUCCESS [ 0.095 s]
[INFO] Apache Karaf :: Bundle :: SpringStateService ....... SUCCESS [ 8.690 s]
[INFO] Apache Karaf :: ConfigAdmin :: Core ................ SUCCESS [ 0.454 s]
[INFO] Apache Karaf :: Tooling :: Utils ................... SUCCESS [ 2.911 s]
[INFO] Apache Karaf :: Deployer ........................... SUCCESS [ 0.007 s]
[INFO] Apache Karaf :: Deployer :: Blueprint .............. SUCCESS [ 2.328 s]
[INFO] Apache Karaf :: Deployer :: Spring ................. SUCCESS [ 0.166 s]
[INFO] Apache Karaf :: Demos :: Profiles :: Registry ...... SUCCESS [ 0.031 s]
[INFO] Apache Karaf :: Profile :: Core .................... SUCCESS [ 9.123 s]
[INFO] Apache Karaf :: Instance :: Core ................... SUCCESS [ 1.096 s]
[INFO] Apache Karaf :: Package :: Core .................... SUCCESS [ 0.316 s]
[INFO] Apache Karaf :: HTTP :: Core ....................... SUCCESS [ 3.623 s]
[INFO] Apache Karaf :: Service :: Core .................... SUCCESS [ 0.323 s]
[INFO] Apache Karaf :: Log :: Core ........................ SUCCESS [ 4.122 s]
[INFO] Apache Karaf :: Deployer :: Features ............... SUCCESS [ 0.568 s]
[INFO] Apache Karaf :: Deployer :: Karaf Archive (.kar) ... SUCCESS [ 0.491 s]
[INFO] Apache Karaf :: Deployer :: Wrap Non OSGi Jar ...... SUCCESS [ 0.100 s]
[INFO] Apache Karaf :: Shell :: Various Commands .......... SUCCESS [ 0.471 s]
[INFO] Apache Karaf :: Shell :: Console ................... SUCCESS [ 3.362 s]
[INFO] Apache Karaf :: Shell :: Table ..................... SUCCESS [ 0.111 s]
[INFO] Apache Karaf :: Shell :: SSH ....................... SUCCESS [ 2.032 s]
[INFO] Apache Karaf :: JAAS :: Jasypt Encryption .......... SUCCESS [ 2.921 s]
[INFO] Apache Karaf :: JAAS :: Command .................... SUCCESS [ 0.492 s]
[INFO] Apache Karaf :: JAAS :: Blueprint .................. SUCCESS [ 0.007 s]
[INFO] Apache Karaf :: JAAS :: Blueprint :: Config ........ SUCCESS [ 0.081 s]
[INFO] Apache Karaf :: JAAS :: Blueprint :: Jasypt ........ SUCCESS [ 1.509 s]
[INFO] Apache Karaf :: Client ............................. SUCCESS [ 0.164 s]
[INFO] Apache Karaf :: Management ......................... SUCCESS [ 0.008 s]
[INFO] Apache Karaf :: Management ......................... SUCCESS [ 0.212 s]
[INFO] Apache Karaf :: System :: Core ..................... SUCCESS [ 0.329 s]
[INFO] Apache Karaf :: Web :: Core ........................ SUCCESS [ 0.328 s]
[INFO] Apache Karaf :: Wrapper :: Core .................... SUCCESS [ 0.667 s]
[INFO] Apache Karaf :: Web Console ........................ SUCCESS [ 0.007 s]
[INFO] Apache Karaf :: Web Console :: Console ............. SUCCESS [ 3.205 s]
[INFO] Apache Karaf :: Web Console :: Features Plugin ..... SUCCESS [ 0.559 s]
[INFO] Apache Karaf :: Web Console :: Gogo Plugin ......... SUCCESS [ 0.617 s]
[INFO] Apache Karaf :: Web Console :: HTTP Plugin ......... SUCCESS [ 0.567 s]
[INFO] Apache Karaf :: Web Console :: Instance Plugin ..... SUCCESS [ 0.224 s]
[INFO] Apache Karaf :: Exception .......................... SUCCESS [ 0.031 s]
[INFO] Apache Karaf :: Scheduler :: Core .................. SUCCESS [ 3.628 s]
[INFO] Apache Karaf :: Declarative Services (DS) .......... SUCCESS [ 0.007 s]
[INFO] Apache Karaf :: SCR :: Shell Commands .............. SUCCESS [ 3.391 s]
[INFO] Apache Karaf :: SCR :: Management MBeans ........... SUCCESS [ 1.491 s]
[INFO] Apache Karaf :: SCR :: Bundle State ................ SUCCESS [ 0.176 s]
[INFO] Apache Karaf :: SCR :: Examples .................... SUCCESS [ 0.006 s]
[INFO] Apache Karaf :: SCR :: Examples :: Basic Service ... SUCCESS [ 0.060 s]
[INFO] Apache Karaf :: SCR :: Examples :: Managed Services SUCCESS [ 0.076 s]
[INFO] Apache Karaf :: SCR :: Examples :: Component Factories SUCCESS [ 0.063 s]
[INFO] Apache Karaf :: Diagnostic ......................... SUCCESS [ 0.007 s]
[INFO] Apache Karaf :: Diagnostic :: Boot ................. SUCCESS [ 0.096 s]
[INFO] Apache Karaf :: Diagnostic :: Core ................. SUCCESS [ 0.748 s]
[INFO] Apache Karaf :: OBR :: Core ........................ SUCCESS [ 1.771 s]
[INFO] Apache Karaf :: JNDI :: Core ....................... SUCCESS [ 1.765 s]
[INFO] Apache Karaf :: JDBC :: Core ....................... SUCCESS [ 0.410 s]
[INFO] Apache Karaf :: JMS :: Core ........................ SUCCESS [ 6.591 s]
[INFO] Apache Karaf :: Features ........................... SUCCESS [ 0.006 s]
[INFO] Apache Karaf :: JPA :: Parent ...................... SUCCESS [ 0.006 s]
[INFO] Apache Karaf :: JPA :: Hibernate ................... SUCCESS [ 8.436 s]
[INFO] Apache Karaf :: OSGi Services :: Coordinator ....... SUCCESS [ 1.763 s]
[INFO] Apache Karaf :: OSGi Services :: EventAdmin ........ SUCCESS [ 1.511 s]
[INFO] Apache Karaf :: OSGi Services :: Static ConfigAdmin SUCCESS [ 0.087 s]
[INFO] Apache Karaf :: OSGi Services ...................... SUCCESS [ 0.006 s]
[INFO] Apache Karaf :: Subsystem :: Core .................. SUCCESS [ 5.008 s]
[INFO] Apache Karaf :: OSGi Services :: Event ............. SUCCESS [ 1.709 s]
[INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin ...... SUCCESS [ 7.875 s]
[INFO] Apache Karaf :: Assemblies ......................... SUCCESS [ 0.008 s]
[INFO] Apache Karaf :: Assemblies :: Features ............. SUCCESS [ 0.006 s]
[INFO] Apache Karaf :: Assemblies :: Features :: Base ..... SUCCESS [ 3.828 s]
[INFO] Apache Karaf :: Assemblies :: Features :: Framework SUCCESS [ 2.555 s]
[INFO] Apache Karaf :: Assemblies :: Features :: Static ... SUCCESS [ 1.836 s]
[INFO] Apache Karaf :: Assemblies :: Features :: Standard . SUCCESS [01:12 min]
[INFO] Apache Karaf :: Assemblies :: Features :: Spring ... SUCCESS [01:19 min]
[INFO] Apache Karaf :: Assemblies :: Features :: Enterprise SUCCESS [ 42.574 s]
[INFO] Apache Karaf :: Assemblies :: Demos ................ SUCCESS [ 0.075 s]
[INFO] Apache Karaf :: Assemblies :: Minimal Distribution . FAILURE [ 0.097 s]
[INFO] Apache Karaf :: Assemblies :: Default Distribution . SKIPPED
[INFO] Apache Karaf :: Demos .............................. SKIPPED
[INFO] Apache Karaf :: Demos :: Web ....................... SKIPPED
[INFO] Apache Karaf :: Demos :: Branding :: Shell ......... SKIPPED
[INFO] Apache Karaf :: Demos :: Command :: Extend Console . SKIPPED
[INFO] Apache Karaf :: Demos :: Demo Dump provider ........ SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer .................. SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer :: Kar ........... SKIPPED
[INFO] Apache Karaf :: Demos :: Deployer :: Bundle ........ SKIPPED
[INFO] Apache Karaf :: Demos :: Profiles :: Dynamic Assembly SKIPPED
[INFO] Apache Karaf :: Demos :: Profiles :: Static Assembly SKIPPED
[INFO] Apache Karaf :: Demos :: Profiles .................. SKIPPED
[INFO] Apache Karaf :: Archetypes ......................... SKIPPED
[INFO] Apache Karaf :: Archetypes :: Assembly Archetype ... SKIPPED
[INFO] Apache Karaf :: Archetypes :: Command Archetype .... SKIPPED
[INFO] Apache Karaf :: Archetypes :: Feature Archetype .... SKIPPED
[INFO] Apache Karaf :: Archetypes :: Kar Archetype ........ SKIPPED
[INFO] Apache Karaf :: Archetypes :: Bundle Archetype ..... SKIPPED
[INFO] Apache Karaf :: Archetypes :: Blueprint Archetype .. SKIPPED
[INFO] Apache Karaf :: Integration Tests .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:17 min
[INFO] Finished at: 2016-11-29T00:19:34+00:00
[INFO] Final Memory: 165M/1003M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.1.0-SNAPSHOT:assembly (process-resources) on
project apache-karaf-minimal: Unable to parse configuration of mojo
org.apache.karaf.tooling:karaf-maven-plugin:4.1.0-SNAPSHOT:assembly for parameter
pidsToExtract: Cannot assign configuration entry 'pidsToExtract' with value
'!jmx.acl.*,
[ERROR] !org.apache.karaf.command.acl.*,
[ERROR] *' of type java.lang.String to property of type java.util.List
[ERROR] -> [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/PluginConfigurationExcep...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :apache-karaf-minimal
{code}