Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-89

Failed tests when a profile is enabled in user config settings.xml

    Details

      Description

      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>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmatloka Michal Matloka
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: