[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6

Michal Matloka (JIRA) jira-events at lists.jboss.org
Fri Dec 14 07:05:17 EST 2012


    [ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741442#comment-12741442 ] 

Michal Matloka commented on SHRINKRES-93:
-----------------------------------------

I've spent some time yesterday to debug this. Updating dependecies to newer versions does not have any influence. Under InteliJ tests fail. I tried to debug offlineProgramatically(org.jboss.shrinkwrap.resolver.impl.maven.integration.OfflineRepositoryTestCase) but it seems that on the side of SHRINKRES everything goes the same in eclipse and intelij. Requests looks the same, repositories also, only aether returns different results. Updating aether does nothing. Running test separately gives the same errors.
                
> Tests fails under windows and RHEL 6
> ------------------------------------
>
>                 Key: SHRINKRES-93
>                 URL: https://issues.jboss.org/browse/SHRINKRES-93
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-5
>         Environment: win7 x64
> RHEL 6
>            Reporter: Michal Matloka
>            Assignee: Andrew Rubinger
>
> I've tried to build today resolvers from both linux and windows.
>  
> On Linux build successfully! On Eclipse on windows all tests passes! but, when building on windows from maven  (cmd/cygwin) some tests fails.
> {noformat}
> Tests in error:
>   shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
>   shouldFailWhileNotReadingReactor(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
>   shouldHaveCentralMavenRepositoryDisabled(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
>   control(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
>   offlineProgramatically(org.jboss.shrinkwrap.resolver.impl.maven.integration.OfflineRepositoryTestCase): Unable to collect dependency tree for given dependencies, reason: Failed to collect dependencies for [junit:junit:jar:3.8.2 (compile)]
> {noformat}
> e.g.
> {noformat}
> shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase)  Time elapsed: 0.696 sec  <<< ERROR!
> org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException: Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> 1/ [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not find artifact org.jboss:jboss-parent:pom:8 in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT, I:\Dev\JBoss\shrinkwrap resolver\pom.xml
> {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 shrinkwrap-issues mailing list