[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:48:13 EDT 2014


Len DiMaggio created JBIDE-17100:
------------------------------------

             Summary: 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
            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