Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2621

project-new - Creating from maven archetypes fails with stream closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 3.0.0.Final
    • None
    • None

    Description

      Using 3.0 final and project-new and try to create from maven archetype such as the public camel 2.16.2 archetypes fails with

      [xxx]$ project-new
      ***INFO*** Required inputs not satisfied, entering interactive mode
      * Project name:  foo
      ? Top level package [org.foo]:
      ? Version [1.0.0-SNAPSHOT]:
      ? Final name:
      ? Project location [/opt/forge-distribution-3.0.0.Final/myapp/myapp/xxx]:
      
      [0] (x) war
      [1] ( ) jar
      [2] ( ) parent
      [3] ( ) forge-addon
      [4] ( ) resource-jar
      [5] ( ) ear
      [6] ( ) from-archetype
      [7] ( ) from-archetype-catalog
      [8] ( ) integration
      [9] ( ) django
      [10] ( ) go
      [11] ( ) nodejs
      [12] ( ) rails
      [13] ( ) swift
      [14] ( ) vert.x
      [15] ( ) generic
      
      Press <ENTER> to confirm, or <CTRL>+C to cancel.
      * Project type: [0-15] 6
      
      [0] (x) Maven
      
      Press <ENTER> to confirm, or <CTRL>+C to cancel.
      * Build system: [0] 0
      * Archetype Group Id:  org.apache.camel.archetypes
      * Archetype Artifact Id:  camel-archetype-java
      * Archetype Version:  2.16.2
      ? Archetype repository URL:
      Creating archetype using Maven groupId: org.foo, artifactId: foo, version: 1.0.0-SNAPSHOT in directory: /opt/forge-distribution-3.0.0.Final/myapp/myapp/xxx/foo
      ***ERROR*** Error while executing 'Maven: Choose Archetype'
      ***INFO*** (type "export VERBOSE=true" to enable stack traces)
      ***ERROR*** Stream closed
      [foo]$
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: