[
https://issues.jboss.org/browse/FORGE-2621?page=com.atlassian.jira.plugin...
]
Claus Ibsen commented on FORGE-2621:
------------------------------------
It works with CR1
{code}
[forge-distribution-3.0.0.CR1]$ 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.CR1]:
[0] (x) war
[1] ( ) jar
[2] ( ) parent
[3] ( ) forge-addon
[4] ( ) resource-jar
[5] ( ) ear
[6] ( ) from-archetype
[7] ( ) generic
Press <ENTER> to confirm, or <CTRL>+C to cancel.
* Project type: [0-7] 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.CR1/foo
Using replace properties: {maven-resources-plugin-version=2.6, log4j-version=1.2.17,
slf4j-version=1.7.12, maven-compiler-plugin-version=3.3, camel-version=2.16.2,
exec-maven-plugin-version=1.2.1}
***SUCCESS*** Project named 'foo' has been created.
[foo]$
{code}
project-new - Creating from maven archetypes fails with stream
closed
---------------------------------------------------------------------
Key: FORGE-2621
URL:
https://issues.jboss.org/browse/FORGE-2621
Project: Forge
Issue Type: Bug
Affects Versions: 3.0.0.Final
Reporter: Claus Ibsen
Priority: Critical
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
{code}
[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]$
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)