Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8310

Repackaged Fuse spring-boot-maven-plugin is not recognized by fabric8-maven-plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.1
    • fuse-7.0
    • FIS-Fabric8
    • None
    • Fuse 7.1 Sprint 32

      Error:

      llowinge@llowinge-mac camel-leader-election (master) $ mvn clean fabric8:deploy
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective settings
      [WARNING] 'profiles.profile[fusewin].repositories.repository.id' must be unique but found duplicate repository with id fuse-all @ /Users/llowinge/.m2/settings.xml
      [WARNING] 'profiles.profile[fusewin].pluginRepositories.pluginRepository.id' must be unique but found duplicate repository with id fuse-all @ /Users/llowinge/.m2/settings.xml
      [WARNING] 
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ---------------< me.nicolaferraro:camel-leader-election >---------------
      [INFO] Building camel-leader-election 1.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-leader-election ---
      [INFO] Deleting /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target
      [INFO] 
      [INFO] >>> fabric8-maven-plugin:7.0.0.fuse-000027-redhat-1:deploy (default-cli) > install @ camel-leader-election >>>
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-leader-election ---
      [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
      [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] Copying 1 resource
      [INFO] 
      [INFO] --- fabric8-maven-plugin:7.0.0.fuse-000027-redhat-1:resource (default) @ camel-leader-election ---
      [INFO] F8: Running in OpenShift mode
      [INFO] F8: Using docker image name of namespace: llowinge
      [INFO] F8: using resource templates from /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/src/main/fabric8
      [INFO] F8: fmp-revision-history: Adding revision history limit to 2
      [INFO] F8: f8-icon: Adding icon for deployment
      [INFO] F8: validating /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/openshift/camel-leader-election-deploymentconfig.yml resource
      [WARNING] F8: Invalid Resource : /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/openshift/camel-leader-election-deploymentconfig.yml
      [message=.spec.template.spec.containers: is missing but it is required, violation type=required]
      [INFO] F8: validating /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/kubernetes/camel-leader-election-sa.yml resource
      [INFO] F8: validating /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/kubernetes/camel-leader-election-deployment.yml resource
      [WARNING] F8: Invalid Resource : /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/kubernetes/camel-leader-election-deployment.yml
      [message=.spec.template.spec.containers: is missing but it is required, violation type=required]
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ camel-leader-election ---
      [INFO] Changes detected - recompiling the module!
      [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
      [INFO] Compiling 2 source files to /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-leader-election ---
      [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/src/test/resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ camel-leader-election ---
      [INFO] No sources to compile
      [INFO] 
      [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ camel-leader-election ---
      [INFO] No tests to run.
      [INFO] 
      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ camel-leader-election ---
      [INFO] Building jar: /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/camel-leader-election-1.0-SNAPSHOT.jar
      [INFO] 
      [INFO] --- spring-boot-maven-plugin:7.0.0.fuse-000027-redhat-1:repackage (default) @ camel-leader-election ---
      [INFO] 
      [INFO] --- fabric8-maven-plugin:7.0.0.fuse-000027-redhat-1:build (default) @ camel-leader-election ---
      [INFO] F8: Using OpenShift build with strategy S2I
      [WARNING] F8: No image build configuration found or detected
      [INFO] 
      [INFO] --- maven-install-plugin:2.4:install (default-install) @ camel-leader-election ---
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/camel-leader-election-1.0-SNAPSHOT.jar to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT.jar
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/pom.xml to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT.pom
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/openshift.yml to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT-openshift.yml
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/openshift.json to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT-openshift.json
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/kubernetes.yml to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT-kubernetes.yml
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/classes/META-INF/fabric8/kubernetes.json to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT-kubernetes.json
      [INFO] Installing /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/camel-leader-election-is.yml to /Users/llowinge/.m2/repository/me/nicolaferraro/camel-leader-election/1.0-SNAPSHOT/camel-leader-election-1.0-SNAPSHOT-is.yml
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.126 s
      [INFO] Finished at: 2018-05-23T17:02:09+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project camel-leader-election: Failed to install artifact me.nicolaferraro:camel-leader-election:yml:is:1.0-SNAPSHOT: /Users/llowinge/Documents/Redhat/xpaas-openshift/tmp/camel-leader-election/target/camel-leader-election-is.yml (No such file or directory) -> [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
      

              nicolaferraro Nicola Ferraro (Inactive)
              llowinge@redhat.com Lukas Lowinger
              Lukas Lowinger Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: