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

SB2 spring-boot-camel-soap-rest-bridge-archetype can't be instantiated

XMLWordPrintable

      Using

      mvn -B -DarchetypeGroupId=org.jboss.fuse.fis.archetypes -DarchetypeArtifactId=spring-boot-camel-soap-rest-bridge-archetype -DarchetypeVersion=2.2.0.fuse-sb2-770012-redhat-00001 -DgroupId=com.redhat.xpaas.qe -DartifactId=spring-boot-camel-soap-rest-bridge-archetype -Dversion=1.0-SNAPSHOT -Dpackage=com.redhat.xpaas.qe archetype:generate
      

      Error

      [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] --------------------------------[ pom ]---------------------------------
      [INFO]
      [INFO] >>> maven-archetype-plugin:3.1.2:generate (default-cli) > generate-sources @ standalone-pom >>>
      [INFO]
      [INFO] <<< maven-archetype-plugin:3.1.2:generate (default-cli) < generate-sources @ standalone-pom <<<
      [INFO]
      [INFO]
      [INFO] --- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
      [INFO] Generating project in Batch mode
      [WARNING] Archetype not found in any catalog. Falling back to central repository.
      [WARNING] Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere.
      [INFO] ----------------------------------------------------------------------------
      [INFO] Using following parameters for creating project from Archetype: spring-boot-camel-soap-rest-bridge-archetype:2.2.0.fuse-sb2-770012-redhat-00001
      [INFO] ----------------------------------------------------------------------------
      [INFO] Parameter: groupId, Value: com.redhat.xpaas.qe
      [INFO] Parameter: artifactId, Value: spring-boot-camel-soap-rest-bridge-archetype
      [INFO] Parameter: version, Value: 1.0-SNAPSHOT
      [INFO] Parameter: package, Value: com.redhat.xpaas.qe
      [INFO] Parameter: packageInPathFormat, Value: com/redhat/xpaas/qe
      [INFO] Parameter: package, Value: com.redhat.xpaas.qe
      [INFO] Parameter: version, Value: 1.0-SNAPSHOT
      [INFO] Parameter: cxf-version, Value: 3.2.7.fuse-sb2-770005-redhat-00001
      [INFO] Parameter: groupId, Value: com.redhat.xpaas.qe
      [INFO] Parameter: artifactId, Value: spring-boot-camel-soap-rest-bridge-archetype
      [ERROR] ResourceManager.getResource() parse exception
      [ERROR] org.apache.velocity.exception.ParseErrorException: Lexical error,   Encountered: "i" (105), after : "." at archetype-resources/src/test/java/WeatherPortImpl.java[line 28, column 62]
      	at org.apache.velocity.Template.process(Template.java:151)
      	at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:437)
      	at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:352)
      	at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533)
      	at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:343)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processTemplate(DefaultFilesetArchetypeGenerator.java:715)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processFileSet(DefaultFilesetArchetypeGenerator.java:513)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processTemplates(DefaultFilesetArchetypeGenerator.java:757)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processArchetypeTemplates(DefaultFilesetArchetypeGenerator.java:487)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processFilesetProject(DefaultFilesetArchetypeGenerator.java:605)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.processFilesetModule(DefaultFilesetArchetypeGenerator.java:538)
      	at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.generateArchetype(DefaultFilesetArchetypeGenerator.java:206)
      	at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.processFileSetArchetype(DefaultArchetypeGenerator.java:133)
      	at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:104)
      	at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:148)
      	at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:163)
      	at org.apache.maven.archetype.DefaultArchetypeManager.generateProjectFromArchetype(DefaultArchetypeManager.java:75)
      	at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:203)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      

              ldemasi Luigi De Masi
              llowinge@redhat.com Lukas Lowinger
              Salvatore Mongiardo Salvatore Mongiardo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: