[JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6
by Michal Matloka (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plug... ]
Michal Matloka commented on SHRINKRES-93:
-----------------------------------------
Now that is really strange. btw I was trying to debug this for ClasspathWorkspaceReaderTestCase, however in both cases (intelij, eclipse), tests does not find artifacts in classpath (ClasspathWorkspaceReader), but fails during resolution itself - so it seems to be classpath independent in that case. Other possible causes might be - maven configuration, some artifacts cached in local repo or ??. Space in folder name is not the reason - checked.
> 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
11 years, 5 months
[JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plug... ]
Karel Piwko commented on SHRINKRES-93:
--------------------------------------
Michal, exactly the same configuration.
> 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
11 years, 5 months
[JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6
by Michal Matloka (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plug... ]
Michal Matloka commented on SHRINKRES-93:
-----------------------------------------
Karel which JDK7 version do you use?
For me it was oracle jdk7u9, 64bit, maven 3.04
> 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
11 years, 5 months
[JBoss JIRA] (SHRINKDESC-137) Compilation fails under windows
by Andrew Rubinger (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-137?page=com.atlassian.jira.pl... ]
Andrew Rubinger updated SHRINKDESC-137:
---------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 2.0.0-alpha-5
Resolution: Done
Upstream: https://github.com/shrinkwrap/descriptors/commit/e984a950019de2eb56bbfa86...
> Compilation fails under windows
> -------------------------------
>
> Key: SHRINKDESC-137
> URL: https://issues.jboss.org/browse/SHRINKDESC-137
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: gen, metadata-parser
> Affects Versions: 2.0.0-alpha-4
> Environment: win7 x64
> Reporter: Michal Matloka
> Assignee: Michal Matloka
> Priority: Critical
> Fix For: 2.0.0-alpha-5
>
>
> mvn clean install results in
> {noformat}
> [INFO]
> [INFO] --- shrinkwrap-descriptors-metadata-parser:2.0.0-alpha-5-SNAPSHOT:parse (executionJ2ee13) @ shrinkwrap-descriptors-gen ---
> Error at xsl:result-document on line 249 of :
> Resolved URL is malformed: unknown protocol: i
> [INFO] ------------------------------------------------------------------------
> {noformat}
> I've tried to upgrade to saxon-he 9.4, but under that version other error appears:
> {noformat}
> [INFO] --- shrinkwrap-descriptors-metadata-parser:2.0.0-alpha-5-SNAPSHOT:parse (executionJ2ee13) @ shrinkwrap-descriptors-gen ---
> Error on line 246
> XPTY0004: Required item type of value of variable $gVerbose is xs:boolean; supplied value
> has item type xs:string
> at xsl:call-template name="WriteInterface2" (#74)
> at xsl:call-template name="GenerateInterfaces" (#58)
> {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
11 years, 5 months