[
https://issues.jboss.org/browse/FORGE-1590?page=com.atlassian.jira.plugin...
]
Abhijith Nagarajan commented on FORGE-1590:
-------------------------------------------
Again, cannot completely build the forge 2.
Getting struck with test failure. Please let me know how to build this?
Thanks in advance
Running org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest
Tests run: 8, Failures: 2, Errors: 3, Skipped: 0, Time elapsed: 657.64 sec <<<
FAILURE! - in org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest
testResolveDependencyHierarchy(org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest)
Time elapsed: 233.761 sec <<< ERROR!
org.jboss.forge.addon.dependencies.DependencyException: Could not resolve dependencies for
addon [org.jboss.forge:resources:jar:forge-addon:2.0.0.Alpha3]
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:361)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveDependencyHierarchy(MavenDependencyResolver.java:249)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest.testResolveDependencyHierarchy(MavenDependencyResolverTest.java:125)
testResolveClassifiedArtifact(org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest)
Time elapsed: 0.214 sec <<< ERROR!
java.lang.RuntimeException: Could not resolve dependencies from Query
[org.jboss.forge:resources::forge-addon:2.0.0.Alpha3 - null] due to underlying exception
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:361)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveDependencies(MavenDependencyResolver.java:93)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest.testResolveClassifiedArtifact(MavenDependencyResolverTest.java:54)
testResolveVersions(org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest)
Time elapsed: 63.486 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest.testResolveVersions(MavenDependencyResolverTest.java:78)
testResolveVersionsDependency(org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest)
Time elapsed: 63.589 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest.testResolveVersionsDependency(MavenDependencyResolverTest.java:98)
testResolveMetadata(org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest)
Time elapsed: 0.149 sec <<< ERROR!
org.jboss.forge.addon.dependencies.DependencyException: Unable to resolve any artifacts
for query [org.jboss.forge:resources:jar:forge-addon:2.0.0.Alpha3 - null]
at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:239)
at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:218)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:288)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveDependencyMetadata(MavenDependencyResolver.java:279)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolverTest.testResolveMetadata(MavenDependencyResolverTest.java:116)
Running org.jboss.forge.addon.maven.profiles.ProfileAdapterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
org.jboss.forge.addon.maven.profiles.ProfileAdapterTest
Running org.jboss.forge.addon.maven.profiles.ProfileBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.jboss.forge.addon.maven.profiles.ProfileBuilderTest
Results :
Failed tests:
MavenDependencyResolverTest.testResolveVersions:78 null
MavenDependencyResolverTest.testResolveVersionsDependency:98 null
Tests in error:
MavenDependencyResolverTest.testResolveDependencyHierarchy:125 » Dependency Co...
MavenDependencyResolverTest.testResolveClassifiedArtifact:54 » Runtime Could n...
MavenDependencyResolverTest.testResolveMetadata:116 » Dependency Unable to res...
Tests run: 16, Failures: 2, Errors: 3, Skipped: 0
(Restricted to Patch Contributor role)
Forge2 behind proxy
-------------------
Key: FORGE-1590
URL:
https://issues.jboss.org/browse/FORGE-1590
Project: Forge
Issue Type: Feature Request
Affects Versions: 2.0.0.Final
Environment: Windows
Reporter: Abhijith Nagarajan
Assignee: George Gastaldi
Priority: Critical
Fix For: 2.0.1.Final
Trying to work with Forge 2 behind proxy but not successful.
Proxy configuration in Maven is done and works fine.
Proxy configuration in config.xml in %USER_HOME%/.forge does not work. This use to work
fine with forge 1.x.
Raising this issue as suggested by George Gastaldi
--
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