[jbosstools-issues] [JBoss JIRA] (JBIDE-17100) Cannot create a new project, add Arquillian suport, and run an Arquillian test case

Len DiMaggio (JIRA) issues at jboss.org
Fri Apr 11 15:50:13 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Len DiMaggio updated JBIDE-17100:
---------------------------------

    Environment: 
java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

uname -a
Linux 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux


    
> Cannot create a new project, add Arquillian suport, and run an Arquillian test case
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-17100
>                 URL: https://issues.jboss.org/browse/JBIDE-17100
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.2.0.Beta1
>         Environment: java -version
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
> uname -a
> Linux 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Len DiMaggio
>            Assignee: Snjezana Peco
>            Priority: Blocker
>             Fix For: 4.2.0.Beta2
>
>
> Cannot create a new project, add Arquillian suport, and run an Arquillian test case.
> What I am seeing is:
> * Install eclipse from: eclipse-standard-luna-M6-linux-gtk-x86_64.tar.gz
> * Install Abridged JBoss Tools from: http://download.jboss.org/jbosstools/updates/staging/JBossTools-4.2.0.Beta1.core/
> * Install Arquillian from Central
> ** -Djboss.discovery.directory.url=http://download.jboss.org/jbosstools/discovery/development/4.2.0.Beta1/jbosstools-directory.xml
> ** -Djboss.discovery.site.url=http://download.jboss.org/jbosstools/discovery/development/4.2.0.Beta1/
> * Create a new Maven project
> * Add Arquillian Support to the project: Right-click->Add Arquillian Support
> * Add an Arquillian test to the project: File->New->Other->Arquillian->Arquillian JUnit Test Case
> * Run As->Arquillian JUnit Test Case
> * Dialog is displayed - Arquillian tests are missing an implementation of DeploymentContainer on the project build path. Do you want to configure it?
> * Select Add Arquallian Profiles
> * Select JBOSS_AS_MANAGED_6.X
> This is written to stdout:
> {noformat}
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from central
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from redhat-techpreview-all-repository
> [WARNING] repository metadata for: 'artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6' could not be retrieved from repository: redhat-techpreview-all-repository due to an error: Error transferring file: http://maven.repository.redhat.com/techpreview/all/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml from http://maven.repository.redhat.com/techpreview/all/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from jboss-releases
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from jboss-snapshots-repository
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '7d17e7cbbc1db526595c4970ba409f32c73ad89d'; remote = '94ae8ce6eedd6bbf5c4a5cb202b6992097293b12' - RETRYING
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '7d17e7cbbc1db526595c4970ba409f32c73ad89d'; remote = '94ae8ce6eedd6bbf5c4a5cb202b6992097293b12' - IGNORING
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from jbosstools-experiments
> [WARNING] repository metadata for: 'artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6' could not be retrieved from repository: jbosstools-experiments due to an error: Error transferring file: https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml from https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml
> [INFO] artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6: checking for updates from fuse
> [WARNING] repository metadata for: 'artifact org.jboss.arquillian.container:arquillian-jbossas-managed-6' could not be retrieved from repository: fuse due to an error: Error transferring file: http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml from http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/arquillian/container/arquillian-jbossas-managed-6/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from central
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from redhat-techpreview-all-repository
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-server-manager' could not be retrieved from repository: redhat-techpreview-all-repository due to an error: Error transferring file: http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml from http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from jboss-releases
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from jboss-snapshots-repository
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from jbosstools-experiments
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-server-manager' could not be retrieved from repository: jbosstools-experiments due to an error: Error transferring file: https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml from https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-server-manager: checking for updates from fuse
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-server-manager' could not be retrieved from repository: fuse due to an error: Error transferring file: http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml from http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/jbossas/jboss-server-manager/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from central
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from redhat-techpreview-all-repository
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-as-client' could not be retrieved from repository: redhat-techpreview-all-repository due to an error: Error transferring file: http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jboss-as-client/maven-metadata.xml from http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jboss-as-client/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from jboss-releases
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from jboss-snapshots-repository
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-as-client' could not be retrieved from repository: jboss-snapshots-repository due to an error: Error transferring file: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/jbossas/jboss-as-client/maven-metadata.xml from https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/jbossas/jboss-as-client/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from jbosstools-experiments
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-as-client' could not be retrieved from repository: jbosstools-experiments due to an error: Error transferring file: https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/jbossas/jboss-as-client/maven-metadata.xml from https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/org/jboss/jbossas/jboss-as-client/maven-metadata.xml
> [INFO] artifact org.jboss.jbossas:jboss-as-client: checking for updates from fuse
> [WARNING] repository metadata for: 'artifact org.jboss.jbossas:jboss-as-client' could not be retrieved from repository: fuse due to an error: Error transferring file: http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/jbossas/jboss-as-client/maven-metadata.xml from http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/jbossas/jboss-as-client/maven-metadata.xml
> {noformat}
> * Nothing is written to the workspace/.metadata/.log file
> * User is returned to:
> * Dialog is displayed - Arquillian tests are missinf an implementation of DeploymentContainer on the project build path. Do you want to configure it?
> * Select Add Arquallian Profiles again
> * Attempts to re-select JBOSS_AS_MANAGED_6.X fails - the checkbox is active - but selecting it does nothing
> settings.xml contains:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
>   <profiles>
>       <!-- JBoss Techpreview -->
>       <profile>
>           <id>redhat-techpreview-all-repository</id>
>           <repositories>
>               <repository>
>                   <id>redhat-techpreview-all-repository</id>
>                   <name>Red Hat Tech Preview repository (all)</name>
>                   <url>http://maven.repository.redhat.com/techpreview/all/</url>
>                   <layout>default</layout>
>                   <releases>
>                       <enabled>true</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </releases>
>                   <snapshots>
>                       <enabled>false</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </snapshots>
>               </repository>
>           </repositories>
>           <pluginRepositories>
>               <pluginRepository>
>                   <id>redhat-techpreview-all-repository</id>
>                   <name>Red Hat Tech Preview repository (all)</name>
>                   <url>http://maven.repository.redhat.com/techpreview/all/</url>
>                   <layout>default</layout>
>                   <releases>
>                       <enabled>true</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </releases>
>                   <snapshots>
>                       <enabled>false</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </snapshots>
>               </pluginRepository>
>           </pluginRepositories>
>       </profile>
>    <!-- For Red Deer -->
>    <profile>
>     <id>jboss-maven-repos</id>
>     <repositories>
>       <repository>
>         <id>jboss-releases</id>
>         <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
>         <releases><enabled>true</enabled></releases> <!-- Default: true -->
>       </repository>
>       <repository>
>         <id>jboss-snapshots-repository</id>
>         <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
>         <snapshots><enabled>true</enabled></snapshots> <!-- Default: false -->
>       </repository>
>       <repository>
>         <id>jbosstools-experiments</id>
>         <url>https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/</url>
>         <releases><enabled>true</enabled></releases> <!-- Default: true -->
>         <snapshots><enabled>true</enabled></snapshots> <!-- Default: true -->
>       </repository>
>     </repositories>
>   </profile>
>   <!-- For Fuse 6.1 -->
>       <profile>
>           <id>fuse</id>
>           <repositories>
>               <repository>
>                   <id>fuse</id>
>                   <name>Fuse Repo</name>
>                   <url>http://repo.fusesource.com/nexus/content/repositories/releases</url>
>                   <layout>default</layout>
>                   <releases>
>                       <enabled>true</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </releases>
>                   <snapshots>
>                       <enabled>false</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </snapshots>
>               </repository>
>           </repositories>
>           <pluginRepositories>
>               <pluginRepository>
>                   <id>fuse</id>
>                   <name>fuse</name>
>                   <url>http://repo.fusesource.com/nexus/content/repositories/releases</url>
>                   <layout>default</layout>
>                   <releases>
>                       <enabled>true</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </releases>
>                   <snapshots>
>                       <enabled>false</enabled>
>                       <updatePolicy>never</updatePolicy>
>                   </snapshots>
>               </pluginRepository>
>           </pluginRepositories>
>       </profile>
>   </profiles>
>   <activeProfiles>
>      <activeProfile>redhat-techpreview-all-repository</activeProfile>
>       <activeProfile>jboss-maven-repos</activeProfile>  
>       <activeProfile>fuse</activeProfile>
>   </activeProfiles>
> </settings>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list