Open digital-shokunin opened 10 years ago
[feedback] model $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7.X --testframework
***INFO*** The command [setup] takes [0] unnamed argument(s), but found [1].
***INFO*** Swallowed unknown token [--testframework] for command [setup].
Which version of Arquillian do you want to install?
1 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0-SNAPSHOT]
2 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Beta1]
3 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Beta2]
4 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR1]
5 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR1-as734-SNAPSHOT]
6 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR2]
7 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR3]
8 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR4]
9 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR5]
10 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR6]
11 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR7]
12 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR8]
13 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Final]
14 - [org.jboss.arquillian:arquillian-bom:pom::1.0.1.Final]
15 - [org.jboss.arquillian:arquillian-bom:pom::1.0.2.Final]
16 - [org.jboss.arquillian:arquillian-bom:pom::1.0.3.Final]
17 - [org.jboss.arquillian:arquillian-bom:pom::1.0.4.Final]
18 - [org.jboss.arquillian:arquillian-bom:pom::1.1.0.Final]
19 - [org.jboss.arquillian:arquillian-bom:pom::1.1.1.Final]
20 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final]
21 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final-wildfly-1]
22 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final-wildfly-2]
23 - [org.jboss.arquillian:arquillian-bom:pom::1.1.3.Final]
24 - [org.jboss.arquillian:arquillian-bom:pom::1.1.4.Final]
25 - [org.jboss.arquillian:arquillian-bom:pom::1.1.5.Final]*
? Choose an option by typing the number of the selection [*-default] [0] 19
Which version of [junit] would you like to install?
1 - [junit:junit:::3.7]
2 - [junit:junit:::3.8]
3 - [junit:junit:::3.8.1]
4 - [junit:junit:::3.8.2]
5 - [junit:junit:::3.8.2-brew]
6 - [junit:junit:::4.0]
7 - [junit:junit:::4.1]
8 - [junit:junit:::4.2]
9 - [junit:junit:::4.3]
10 - [junit:junit:::4.3.1]
11 - [junit:junit:::4.4]
12 - [junit:junit:::4.5]
13 - [junit:junit:::4.6]
14 - [junit:junit:::4.7]
15 - [junit:junit:::4.8]
16 - [junit:junit:::4.8.1]
17 - [junit:junit:::4.8.2]
18 - [junit:junit:::4.9]
19 - [junit:junit:::4.10]
20 - [junit:junit:::4.11-beta-1]
21 - [junit:junit:::4.11]
22 - [junit:junit:::4.12-beta-1]
23 - [junit:junit:::4.12-beta-2]
24 - [junit:junit:::4.12-beta-3]*
25 - [junit:junit:::4.12-SNAPSHOT]
? Choose an option by typing the number of the selection [*-default] [0] 21
***SUCCESS*** Installed [arq.testframework.junit] successfully.
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
***ERROR*** Exception encountered: Container not recognized (type "set VERBOSE true" to enable stack traces)
[feedback] model $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7.X --testframework
***INFO*** The command [setup] takes [0] unnamed argument(s), but found [1].
***INFO*** Swallowed unknown token [--testframework] for command [setup].
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
***ERROR*** Exception encountered: Container not recognized (type "set VERBOSE true" to enable stack traces)
I am running JBoss Developer Studio 7.1.1 GA with jdk1.7.0_45
The problem seems to start when I start using Arquillian, below is the full output of all the steps in Forge.
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|___/
JBoss Forge, version [ 1.4.3.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
[no project] JBoss $ set ACCEPT_DEFAULTS true;
[no project] JBoss $ new-project --named feedback --topLevelPackage org.cedj.ch03.feedback
***SUCCESS*** Created project [feedback] in new working directory [C:\workspaces\JBoss\feedback]
Wrote C:\workspaces\JBoss\feedback
Wrote C:\workspaces\JBoss\feedback\pom.xml
Wrote C:\workspaces\JBoss\feedback\src\main\java
Wrote C:\workspaces\JBoss\feedback\src\test\java
Wrote C:\workspaces\JBoss\feedback\src\main\resources
Wrote C:\workspaces\JBoss\feedback\src\test\resources
Wrote C:\workspaces\JBoss\feedback\src\main\java\org\cedj\ch03\feedback
[feedback] feedback $ new-project --named feedback --topLevelPackage org.cedj.ch03.feedback --projectFolder feedback
***SUCCESS*** Created project [feedback] in new working directory [C:\workspaces\JBoss\feedback\feedback]
Wrote C:\workspaces\JBoss\feedback\feedback
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java
Wrote C:\workspaces\JBoss\feedback\feedback\src\test\java
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\resources
Wrote C:\workspaces\JBoss\feedback\feedback\src\test\resources
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback
[feedback] feedback $ persistence setup --provider HIBERNATE --container JBOSS_AS7;
***SUCCESS*** Installed [forge.spec.jpa] successfully.
***INFO*** Setting transaction-type="JTA"
***INFO*** Using example data source [java:jboss/datasources/ExampleDS]
***SUCCESS*** Persistence (JPA) is installed.
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\resources\META-INF\persistence.xml
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
Change persistence.xml in src/main/resources/META-INF/ to
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="forge-default" transaction-type="JTA">
<description>Forge Persistence Unit</description>
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.transaction.flush_before_completion" value="true"/>
</properties>
</persistence-unit>
</persistence>
Then continue:
[feedback] feedback $ validation setup --provider HIBERNATE_VALIDATOR
***SUCCESS*** Installed [forge.spec.validation] successfully.
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\resources\META-INF\validation.xml
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
[feedback] feedback $ validation setup --provider HIBERNATE_VALIDATOR
***SUCCESS*** Installed [forge.spec.validation] successfully.
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\resources\META-INF\validation.xml
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
[feedback] feedback $ entity --named FeedbackEntry;
Created @Entity [org.cedj.ch03.feedback.model.FeedbackEntry]
Picked up type <JavaResource>: org.cedj.ch03.feedback.model.FeedbackEntry
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\model\FeedbackEntry.java
[feedback] FeedbackEntry.java $ field string --named twitterHandle;
Added field to org.cedj.ch03.feedback.model.FeedbackEntry: @Column private String twitterHandle;
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\model\FeedbackEntry.java
[feedback] FeedbackEntry.java $ constraint NotNull --onProperty twitterHandle;
Constraint NotNull has been successfully added on property named 'twitterHandle'
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\model\FeedbackEntry.java
[feedback] FeedbackEntry.java $ field string --named feedback;
Added field to org.cedj.ch03.feedback.model.FeedbackEntry: @Column private String feedback;
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\model\FeedbackEntry.java
[feedback] FeedbackEntry.java $ constraint NotNull --onProperty feedback;
Constraint NotNull has been successfully added on property named 'feedback'
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\model\FeedbackEntry.java
[feedback] FeedbackEntry.java $ scaffold setup
***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
***SUCCESS*** Installed [forge.spec.ejb] successfully.
***SUCCESS*** Installed [forge.spec.cdi] successfully.
***SUCCESS*** Installed [forge.spec.servlet] successfully.
***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
***SUCCESS*** Installed [faces] successfully.
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\WEB-INF\beans.xml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\WEB-INF\faces-config.xml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\favicon.ico
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\scaffold\paginator.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\scaffold\pageTemplate.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\index.html
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\index.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\error.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\add.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\bootstrap.css
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\false.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\favicon.ico
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\forge-logo.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\forge-style.css
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\remove.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\search.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\true.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\jboss-community.png
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\WEB-INF\web.xml
[feedback] FeedbackEntry.java $ scaffold from-entity org.cedj.feedback.model.*;
***INFO*** Using currently installed scaffold [faces]
***SUCCESS*** Generated UI for [org.cedj.ch03.feedback.model.FeedbackEntry]
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\view\FeedbackEntryBean.java
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\feedbackEntry\create.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\feedbackEntry\view.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\feedbackEntry\search.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\resources\scaffold\pageTemplate.xhtml
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\java\org\cedj\ch03\feedback\view\ViewUtils.java
Wrote C:\workspaces\JBoss\feedback\feedback\src\main\webapp\WEB-INF\classes\META-INF\forge.taglib.xml
[feedback] FeedbackEntry.java $ forge install-plugin arquillian
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: arquillian
***INFO*** Checking out plugin source files to [C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005] via 'git'
***INFO*** Switching to branch/tag [refs/heads/1.4.0.Final]
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building arquillian-plugin 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ arquillian-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ arquillian-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ arquillian-plugin ---
[INFO] Compiling 25 source files to C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ arquillian-plugin ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ arquillian-plugin ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ arquillian-plugin ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ arquillian-plugin ---
[INFO] Building jar: C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005\target\arquillian-plugin-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.833 s
[INFO] Finished at: 2014-11-18T17:33:11-05:00
[INFO] Final Memory: 20M/226M
[INFO] ------------------------------------------------------------------------
***INFO*** Installing plugin artifact.
***INFO*** Cleaning up temp workspace [C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005]
***SUCCESS*** Installed from [https://github.com/forge/plugin-arquillian.git] successfully.
Wrote C:\Users\ud3996v\.forge\httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\arquillian-plugin.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\module.xml
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26
Wrote C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005\pom.xml
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\velocity-1.7.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\commons-collections-3.2.1.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\commons-lang-2.4.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\jackson-core-asl-1.9.1.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\jackson-mapper-asl-1.9.1.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\arquillian\forge\arquillian-plugin\dependencies\1.0.0-SNAPSHOT-c0e6ecee-dc97-42cc-b415-c560e8218f26\module.xml
Deleted C:\Users\ud3996v\AppData\Local\Temp\forgetemp6707220154883521005
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|___/
JBoss Forge, version [ 1.4.3.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
[feedback] model $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7.X --testframework
***INFO*** The command [setup] takes [0] unnamed argument(s), but found [1].
***INFO*** Swallowed unknown token [--testframework] for command [setup].
Which version of Arquillian do you want to install?
1 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0-SNAPSHOT]
2 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Beta1]
3 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Beta2]
4 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR1]
5 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR1-as734-SNAPSHOT]
6 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR2]
7 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR3]
8 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR4]
9 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR5]
10 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR6]
11 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR7]
12 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.CR8]
13 - [org.jboss.arquillian:arquillian-bom:pom::1.0.0.Final]
14 - [org.jboss.arquillian:arquillian-bom:pom::1.0.1.Final]
15 - [org.jboss.arquillian:arquillian-bom:pom::1.0.2.Final]
16 - [org.jboss.arquillian:arquillian-bom:pom::1.0.3.Final]
17 - [org.jboss.arquillian:arquillian-bom:pom::1.0.4.Final]
18 - [org.jboss.arquillian:arquillian-bom:pom::1.1.0.Final]
19 - [org.jboss.arquillian:arquillian-bom:pom::1.1.1.Final]
20 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final]
21 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final-wildfly-1]
22 - [org.jboss.arquillian:arquillian-bom:pom::1.1.2.Final-wildfly-2]
23 - [org.jboss.arquillian:arquillian-bom:pom::1.1.3.Final]
24 - [org.jboss.arquillian:arquillian-bom:pom::1.1.4.Final]
25 - [org.jboss.arquillian:arquillian-bom:pom::1.1.5.Final]*
? Choose an option by typing the number of the selection [*-default] [0] 19
Which version of [junit] would you like to install?
1 - [junit:junit:::3.7]
2 - [junit:junit:::3.8]
3 - [junit:junit:::3.8.1]
4 - [junit:junit:::3.8.2]
5 - [junit:junit:::3.8.2-brew]
6 - [junit:junit:::4.0]
7 - [junit:junit:::4.1]
8 - [junit:junit:::4.2]
9 - [junit:junit:::4.3]
10 - [junit:junit:::4.3.1]
11 - [junit:junit:::4.4]
12 - [junit:junit:::4.5]
13 - [junit:junit:::4.6]
14 - [junit:junit:::4.7]
15 - [junit:junit:::4.8]
16 - [junit:junit:::4.8.1]
17 - [junit:junit:::4.8.2]
18 - [junit:junit:::4.9]
19 - [junit:junit:::4.10]
20 - [junit:junit:::4.11-beta-1]
21 - [junit:junit:::4.11]
22 - [junit:junit:::4.12-beta-1]
23 - [junit:junit:::4.12-beta-2]
24 - [junit:junit:::4.12-beta-3]*
25 - [junit:junit:::4.12-SNAPSHOT]
? Choose an option by typing the number of the selection [*-default] [0] 21
***SUCCESS*** Installed [arq.testframework.junit] successfully.
Wrote C:\workspaces\JBoss\feedback\feedback\pom.xml
***ERROR*** Exception encountered: Container not recognized (type "set VERBOSE true" to enable stack traces)
[feedback] model $ arquillian create-test --class org.cedj.ch03.feedback.model.FeedbackEntry.java
Picked up type <JavaResource>: org.cedj.ch03.feedback.model.FeedbackEntryTest
Wrote C:\workspaces\JBoss\feedback\feedback\src\test\java\org\cedj\ch03\feedback\model\FeedbackEntryTest.java
[feedback] FeedbackEntryTest.java $ build --notest --profile arq-jboss_as_remote_7.x;
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building feedback 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ feedback ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ feedback ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\workspaces\JBoss\feedback\feedback\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ feedback ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ feedback ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ feedback ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ feedback ---
[INFO] Packaging webapp
[INFO] Assembling webapp [feedback] in [C:\workspaces\JBoss\feedback\feedback\target\feedback]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\workspaces\JBoss\feedback\feedback\src\main\webapp]
[INFO] Webapp assembled in [109 msecs]
[INFO] Building war: C:\workspaces\JBoss\feedback\feedback\target\feedback.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ feedback ---
[INFO] Installing C:\workspaces\JBoss\feedback\feedback\target\feedback.war to C:\Users\ud3996v\.m2\repository\org\cedj\ch03\feedback\feedback\1.0.0-SNAPSHOT\feedback-1.0.0-SNAPSHOT.war
[INFO] Installing C:\workspaces\JBoss\feedback\feedback\pom.xml to C:\Users\ud3996v\.m2\repository\org\cedj\ch03\feedback\feedback\1.0.0-SNAPSHOT\feedback-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.362 s
[INFO] Finished at: 2014-11-18T17:39:03-05:00
[INFO] Final Memory: 16M/219M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "arq-jboss_as_remote_7.x" could not be activated because it does not exist.
[feedback] FeedbackEntryTest.java $ forge install-plugin jboss-as-7
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: jboss-as-7
***INFO*** Checking out plugin source files to [C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820] via 'git'
***INFO*** Switching to branch/tag [refs/tags/1.2.0.Final]
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin-jboss-as7 1.2.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.pom
1/10 KB 5/10 KB 9/10 KB 10/10 KB Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.pom (10 KB at 21.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.jar
1/41 KB 5/41 KB 9/41 KB 13/41 KB 15/41 KB 15/41 KB 19/41 KB 23/41 KB 27/41 KB 29/41 KB 31/41 KB 33/41 KB 35/41 KB 36/41 KB 37/41 KB 41/41 KB Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.jar (41 KB at 404.6 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ plugin-jboss-as7 ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ plugin-jboss-as7 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ plugin-jboss-as7 ---
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.0/maven-shared-incremental-1.0.pom
1/5 KB 5/5 KB Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.0/maven-shared-incremental-1.0.pom (5 KB at 72.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.0/plexus-compiler-api-2.0.pom
865/865 B Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.0/plexus-compiler-api-2.0.pom (865 B at 13.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.0/plexus-compiler-2.0.pom
1/4 KB 4/4 KB Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.0/plexus-compiler-2.0.pom (4 KB at 53.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.0/plexus-compiler-manager-2.0.pom
690/690 B Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.0/plexus-compiler-manager-2.0.pom (690 B at 11.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.0/plexus-compiler-javac-2.0.pom
769/769 B Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.0/plexus-compiler-javac-2.0.pom (769 B at 13.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.0/plexus-compilers-2.0.pom
1/2 KB 2/2 KB Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.0/plexus-compilers-2.0.pom (2 KB at 19.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.0/maven-shared-incremental-1.0.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.0/plexus-compiler-javac-2.0.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.0/plexus-compiler-api-2.0.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.0/plexus-compiler-manager-2.0.jar
1/13 KB 5/13 KB 9/13 KB 13/13 KB 13/13 KB 1/19 KB 13/13 KB 5/19 KB 13/13 KB 8/19 KB 13/13 KB 11/19 KB 13/13 KB 12/19 KB 13/13 KB 13/19 KB Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.0/maven-shared-incremental-1.0.jar (13 KB at 140.3 KB/sec)
13/19 KB 1/25 KB 4/5 KB 13/19 KB 1/25 KB 4/5 KB 13/19 KB 5/25 KB 5/5 KB 13/19 KB 5/25 KB 5/5 KB 13/19 KB 9/25 KB 5/5 KB 13/19 KB 13/25 KB 5/5 KB 15/19 KB 13/25 KB 5/5 KB 15/19 KB 13/25 KB 5/5 KB 16/19 KB 13/25 KB 5/5 KB 17/19 KB 13/25 KB 5/5 KB 19/19 KB 13/25 KB 5/5 KB 19/19 KB 13/25 KB 5/5 KB 19/19 KB 15/25 KB 5/5 KB 19/19 KB 15/25 KB 5/5 KB 19/19 KB 16/25 KB 5/5 KB 19/19 KB 17/25 KB 5/5 KB 19/19 KB 19/25 KB 5/5 KB 19/19 KB 23/25 KB 5/5 KB 19/19 KB 25/25 KB Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.0/plexus-compiler-manager-2.0.jar (5 KB at 45.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.0/plexus-compiler-javac-2.0.jar (19 KB at 179.0 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.0/plexus-compiler-api-2.0.jar (25 KB at 214.0 KB/sec)
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 23 source files to C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ plugin-jboss-as7 ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ plugin-jboss-as7 ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ plugin-jboss-as7 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ plugin-jboss-as7 ---
[INFO] Building jar: C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820\target\plugin-jboss-as7.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.068 s
[INFO] Finished at: 2014-11-18T17:40:17-05:00
[INFO] Final Memory: 23M/223M
[INFO] ------------------------------------------------------------------------
***INFO*** Installing plugin artifact.
***INFO*** Cleaning up temp workspace [C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820]
***SUCCESS*** Installed from [https://github.com/forge/plugin-jboss-as.git] successfully.
Wrote C:\Users\ud3996v\.forge\httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\plugin-jboss-as7.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\module.xml
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d
Wrote C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820\pom.xml
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\junit-4.8.1.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-as-controller-client-7.1.1.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-as-protocol-7.1.1.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-marshalling-1.3.11.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\xnio-nio-3.0.3.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-dmr-1.1.1.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-logging-3.1.0.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-threads-2.0.0.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-as-build-config-7.1.1.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-as-cli-7.1.1.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jline-0.9.94.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\staxmapper-1.1.0.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-sasl-1.0.0.Final.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\jboss-remoting-3.2.12.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\xnio-api-3.0.7.GA.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\commons-compress-1.4.1.jar
Wrote C:\Users\ud3996v\.forge\plugins\org\jboss\as\plugin-jboss-as7\dependencies\1.2.0.Final-36780d0b-7f07-4e1f-89fc-75d09c11202d\module.xml
Deleted C:\Users\ud3996v\AppData\Local\Temp\forgetemp6793618654949255820
As stated above when running
[feedback] feedback $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7.X --testframework
I got
java.lang.RuntimeException: Container not recognized
A little bit of Google-fu and I discovered this issue. https://issues.jboss.org/browse/FORGEPLUGINS-153
From which I learned that tab completion will fix show available options, and 7.X was not a valid option as indicated in the book.
[feedback] feedback $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_
JBOSS_AS_REMOTE_4.2 JBOSS_AS_REMOTE_5 JBOSS_AS_REMOTE_5.1 JBOSS_AS_REMOTE_6 JBOSS_AS_REMOTE_7
So that was fixed by taking .X off the end of the container name.
[feedback] feedback $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7 --testFramework
What version of jboss-as-arquillian-container-remote do you want to use?
1 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.0.Beta1]
2 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.0.Beta2]
3 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.0.Beta3]
4 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.0.CR1]
5 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.0.Final]
6 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.1.Final]
7 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.2.Final]
8 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0-alrwebinar-SNAPSHOT]
9 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.Alpha1-SNAPSHOT]
10 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.Beta1]
11 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.Beta1b]
12 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.CR1]
13 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.CR1b]
14 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.0.Final]
15 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.1.Final]
16 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.2.Final]
17 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.1.3.Final]
18 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.2.0.Final]*
? Choose an option by typing the number of the selection [*-default] [0] 15
Wrote C:\workspaces\JBoss\feedback\pom.xml
Wrote C:\workspaces\JBoss\feedback\src\test\resources\arquillian.xml
This creates a profile in the pom.xml called:
arquillian-jbossas-remote-7
Likewise, I change the build command that I had issue with to reflect this profile instead.
build --notest --profile arquillian-jbossas-remote-7;
So this fixes the issue. I don't know if that means the directions are inaccurate, or they simply do not apply to all environments.
Looks like we need to take your excellent sleuthing into account and fix either the instructions or the build; thank you for this and I'll reopen until we can schedule it in. :)
Missing a step? It
I run this:
build --notest --profile arq-jboss_as_remote_7.x;
I get this:Earlier I ran this:
[feedback] feedback $ arquillian setup --containerType REMOTE --containerName JBOSS_AS_REMOTE_7.X --testframework
I get this: