[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-89) Failed tests when a profile is enabled in user config settings.xml
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Nov 29 15:42:21 EST 2012
[ https://issues.jboss.org/browse/SHRINKRES-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger updated SHRINKRES-89:
-------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 2.0.0-alpha-6
Resolution: Done
Upstream: https://github.com/shrinkwrap/resolver/commit/02ebeb60c79b1035c804cf516f9ab3a7716bf425
> Failed tests when a profile is enabled in user config settings.xml
> ------------------------------------------------------------------
>
> Key: SHRINKRES-89
> URL: https://issues.jboss.org/browse/SHRINKRES-89
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: impl-maven, impl-maven-integration-tests
> Affects Versions: 2.0.0-alpha-5
> Environment: RHEL 6
> Reporter: George Gastaldi
> Assignee: Michal Matloka
> Labels: starter
> Fix For: 2.0.0-alpha-6
>
>
> The following tests fail when a profile is enabled by default in ~/.m2/settings.xml:
> {code}
> Failed tests: shouldHaveCentralMavenRepositoryDisabled(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Expected exception: org.jboss.shrinkwrap.resolver.api.NoResolvedResultException
> Tests in error:
> overrideGlobalSettings(org.jboss.shrinkwrap.resolver.impl.maven.bootstrap.SystemPropertyPrecedenceTestCase): Unable to get artifact from the repository, reason: Could not find artifact org.jboss.shrinkwrap.test:test-deps-c:jar:1.0.0 in jboss-public-repository (https://repository.jboss.org/nexus/content/groups/public/)
> {code}
> These are the profiles I have enabled in my settings.xml:
> {code:xml}
> <profile>
> <id>gpg</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <properties>
> <gpg.useagent>true</gpg.useagent>
> <gpg.executable>gpg2</gpg.executable>
> </properties>
> </profile>
> <profile>
> <id>jboss-public-repository</id>
> <repositories>
> <repository>
> <id>jboss-public-repository</id>
> <name>Repositorio JBoss</name>
> <url>https://repository.jboss.org/nexus/content/groups/public/</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>jboss-public-repository</id>
> <name>JBoss Public Maven Repository Group</name>
> <url>https://repository.jboss.org/nexus/content/groups/public/</url>
> <layout>default</layout>
> <releases>
> <enabled>true</enabled>
> <updatePolicy>never</updatePolicy>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> <updatePolicy>never</updatePolicy>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
> </profile>
> {code}
--
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