-
Bug
-
Resolution: Done
-
Major
-
2.0.0-alpha-5
The following tests fail when a profile is enabled by default in ~/.m2/settings.xml:
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/)
These are the profiles I have enabled in my settings.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>