]
Snjezana Peco commented on JBIDE-17100:
---------------------------------------
{quote}
Can you suggest what the contents of settings.xml should be to support Arquillian in JBT?
{quote}
The issue isn't related either to Arquillian or to JBT.
If you can't reproduce the issue when you remove all the repositories, there is a
problem with some of them or with your local repository.
We can't do anything if a user wants some artifact that exists in a broken
repository.
It is possible that your local repository contains artifacts that haven't been
downloaded completely.
{quote}
It seems that the dialog is waiting for the Updating maven profiles job to finish - that
could take quite a long time and for the user it seems that nothing is happening. Some
kind of progress bar would be useful.
{quote}
I will add a progress monitor.
Cannot create a new project, add Arquillian support, and run an
Arquillian test case - selecting to add Arquillian profiles
---------------------------------------------------------------------------------------------------------------------------
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.Bet...
* 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/c...
from
http://maven.repository.redhat.com/techpreview/all/org/jboss/arquillian/c...
[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-experi...
from
https://repository.jboss.org/nexus/content/repositories/jbosstools-experi...
[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/...
from
http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/...
[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/jbos...
from
http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jbos...
[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-experi...
from
https://repository.jboss.org/nexus/content/repositories/jbosstools-experi...
[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/...
from
http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/...
[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/jbos...
from
http://maven.repository.redhat.com/techpreview/all/org/jboss/jbossas/jbos...
[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/jbo...
from
https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
[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-experi...
from
https://repository.jboss.org/nexus/content/repositories/jbosstools-experi...
[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/...
from
http://repo.fusesource.com/nexus/content/repositories/releases/org/jboss/...
{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&l...
<releases><enabled>true</enabled></releases> <!--
Default: true -->
</repository>
<repository>
<id>jboss-snapshots-repository</id>
<
url>https://repository.jboss.org/nexus/content/repositories/snapshots/...
<snapshots><enabled>true</enabled></snapshots> <!--
Default: false -->
</repository>
<repository>
<id>jbosstools-experiments</id>
<
url>https://repository.jboss.org/nexus/content/repositories/jbosstools...
<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<...
<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<...
<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: