title: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.data.hadoop.hive.HiveOperations]
body: <p>My application is combination of hadoop and rest service with spring framework. My aim is to provide results from hive table on request. But when I run application, after completion of mapreduce and hive job I get following error:</p>
  
  <pre><code>java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
          at java.lang.Thread.run(Thread.java:744)
  Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logsRepository': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void hello.logsRepository.logsRepositoryC(org.springframework.data.hadoop.hive.HiveOperations); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.data.hadoop.hive.HiveOperations] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
          at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
          at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)
          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
          at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)
          at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:616)
          at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
          at org.springframework.boot.SpringApplication.run(SpringApplication.java:877)
          at org.springframework.boot.SpringApplication.run(SpringApplication.java:866)
          at hello.Application.main(Application.java:63)
          ... 6 more
  Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void hello.logsRepository.logsRepositoryC(org.springframework.data.hadoop.hive.HiveOperations); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.data.hadoop.hive.HiveOperations] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
          at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:596)
          at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
          at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
          ... 22 more
  Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.data.hadoop.hive.HiveOperations] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
          at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100)
          at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)
          at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855)
          at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:553)
          ... 24 more
  </code></pre>
  
  <p>My code:</p>
  
  <p>application.java</p>
  
  <pre><code>@ComponentScan 
  @EnableAutoConfiguration
  public class Application {
  
      private static final Log log = LogFactory.getLog(Application.class);
  
      public static void main(String[] args) {
  
      private static AbstractApplicationContext ctx;
      public static void main(String[] args) {
  
        ctx = new ClassPathXmlApplicationContext("META-INF/spring/hadoop-context.xml");
        // shut down the context cleanly along with the VM
        ctx.registerShutdownHook();
  
          HiveTemplate template = ctx.getBean(HiveTemplate.class);
          log.info(template.query("show tables;"));
  
          logsRepository repository = ctx.getBean(logsRepository.class);
          repository.processLogFile("/home/hduser/yarn/hive_data");
  
          log.info("Count of password entries = " + repository.count());
  
          SpringApplication.run(Application.class, args); 
      }   
  
  }
  </code></pre>
  
  <p>logsRepository.java</p>
  
  <pre><code>@Repository
  public class logsRepository implements logsRepo {
  
      private String tableName = "getlogs";
  
  
      private HiveOperations hiveOperations;
  
      @Autowired
      public void logsRepositoryC (HiveOperations hiveOperations) {
          this.hiveOperations = hiveOperations;
      }
  
      @Override
      public Long count() {
          return hiveOperations.queryForLong("select count(*) from " + tableName);
      }
  
      @Override
      public void processLogFile(String inputFile) {
          Map&lt;String, String&gt; parameters = new HashMap&lt;String, String&gt;();
          parameters.put("inputFile", inputFile);
          hiveOperations.query("classpath:logs-analysis.hql", parameters);
  
      }
  }
  </code></pre>
  
  <p>hadoop-context.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:hdp="http://www.springframework.org/schema/hadoop"
      xmlns:context="http://www.springframework.org/schema/context"
      xmlns:batch="http://www.springframework.org/schema/batch"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
          http://www.springframework.org/schema/hadoop http://www.springframework.org/schema/hadoop/spring-hadoop.xsd
          http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch.xsd"&gt;
  
          &lt;context:property-placeholder location="hadoop.properties,hive.properties" /&gt;
  
          &lt;context:component-scan base-package="hello" /&gt;
  
          &lt;hdp:configuration&gt;
              fs.defaultFS=${hd.fs}
              yarn.resourcemanager.address=${hd.rm}
              mapreduce.framework.name=yarn
              mapred.job.tracker=${hd.jt}
          &lt;/hdp:configuration&gt;
  
          &lt;hdp:script id="setupScript" location="copy-files.groovy"&gt;
            &lt;hdp:property name="localSourceFile" value="${localSourceFile}"/&gt;
            &lt;hdp:property name="inputDir" value="${inputDir}"/&gt;
            &lt;hdp:property name="outputDir" value="${outputDir}"/&gt;
          &lt;/hdp:script&gt;
  
          &lt;hdp:script id="setupfile" location="copy-to-local.groovy"&gt;
            &lt;hdp:property name="outputDir" value="${outputDir}"/&gt;
          &lt;/hdp:script&gt;
  
          &lt;hdp:job id="getlogsJob" 
              input-path="${inputDir}" 
              output-path="${outputDir}" 
              libs="${LIB_DIR}/gs-rest-service-0.1.0.jar" 
              mapper="hello.GetLogs.Map" 
              reducer="hello.GetLogs.Reduce" /&gt;
  
          &lt;hdp:hive-client-factory host="${hive.host}" port="${hive.port}"/&gt;  
  
          &lt;hdp:hive-template id="hiveTemplate" hive-client-factory-ref="hiveClientFactory" /&gt;     
  
          &lt;hdp:hive-runner id="hiveRunner" hive-client-factory-ref="hiveClientFactory" run-at-startup="false" pre-action="hdfsScript"&gt;
              &lt;hdp:script location="logs-analysis.hql"&gt;
              &lt;/hdp:script&gt;
          &lt;/hdp:hive-runner&gt;
  
          &lt;hdp:script id="hdfsScript" language="groovy" location="set-hive-permissions.groovy"/&gt; 
  
          &lt;hdp:job-runner id="runner" run-at-startup="true" pre-action="setupScript,hdfsScript" post-action="setupfile,hiveRunner"  job-ref="getlogsJob" /&gt; 
  &lt;/beans&gt;
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;gs-rest-service&lt;/artifactId&gt;
      &lt;version&gt;0.1.0&lt;/version&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;1.0.0.RC3&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;hadoop22&lt;/id&gt;
              &lt;properties&gt;
                  &lt;spring.hadoop.version&gt;2.0.0.M5-hadoop22&lt;/spring.hadoop.version&gt;
                  &lt;hadoop.version&gt;2.2.0&lt;/hadoop.version&gt;
                  &lt;hive.version&gt;0.10.0&lt;/hive.version&gt;
                  &lt;hadoop.version.generic&gt;2.0.0-cdh4.1.3&lt;/hadoop.version.generic&gt;
                  &lt;hadoop.version.mr1&gt;2.0.0-mr1-cdh4.1.3&lt;/hadoop.version.mr1&gt;
                  &lt;hadoop.examples&gt;hadoop-mapreduce-examples&lt;/hadoop.examples&gt;
                  &lt;mapreduce.framework&gt;yarn&lt;/mapreduce.framework&gt;
              &lt;/properties&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                      &lt;artifactId&gt;hadoop-mapreduce-client-jobclient&lt;/artifactId&gt;
                      &lt;version&gt;${hadoop.version}&lt;/version&gt;
                      &lt;scope&gt;runtime&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/profile&gt;
          &lt;profile&gt;
              &lt;id&gt;phd1&lt;/id&gt;
              &lt;properties&gt;
                  &lt;spring.hadoop.version&gt;1.0.2.RELEASE-phd1&lt;/spring.hadoop.version&gt;
                  &lt;hadoop.version&gt;2.0.5-alpha-gphd-2.1.0.0&lt;/hadoop.version&gt;
                  &lt;hadoop.examples&gt;hadoop-mapreduce-examples&lt;/hadoop.examples&gt;
                  &lt;mapreduce.framework&gt;yarn&lt;/mapreduce.framework&gt;
              &lt;/properties&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                      &lt;artifactId&gt;hadoop-mapreduce-client-jobclient&lt;/artifactId&gt;
                      &lt;version&gt;${hadoop.version}&lt;/version&gt;
                      &lt;scope&gt;runtime&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;id&gt;config&lt;/id&gt;
                                  &lt;phase&gt;package&lt;/phase&gt;
                                  &lt;configuration&gt;
                                      &lt;tasks&gt;
                                          &lt;copy todir="target/appassembler/data"&gt;
                                              &lt;fileset dir="data"/&gt;
                                          &lt;/copy&gt;
                                          &lt;copy todir="target/appassembler/etc"&gt;
                                              &lt;fileset dir="etc/phd1"/&gt;
                                          &lt;/copy&gt;
                                      &lt;/tasks&gt;
                                  &lt;/configuration&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;run&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;jdk.tools&lt;/groupId&gt;
              &lt;artifactId&gt;jdk.tools&lt;/artifactId&gt;
              &lt;version&gt;${java.version}&lt;/version&gt;
              &lt;scope&gt;system&lt;/scope&gt;
              &lt;systemPath&gt;${JAVA_HOME}/lib/tools.jar&lt;/systemPath&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
              &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
              &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
              &lt;artifactId&gt;spring-data-hadoop&lt;/artifactId&gt;
              &lt;version&gt;2.0.0.M5&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
              &lt;!-- &lt;version&gt;${spring.version}&lt;/version&gt;--&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-test&lt;/artifactId&gt;
              &lt;!-- &lt;version&gt;${spring.version}&lt;/version&gt;--&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
              &lt;!-- &lt;version&gt;${spring.version}&lt;/version&gt;--&gt;
          &lt;/dependency&gt;
          &lt;!--&lt;dependency&gt;
              &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
              &lt;artifactId&gt;hadoop-core&lt;/artifactId&gt;
              &lt;version&gt;2.2.0&lt;/version&gt;
          &lt;/dependency&gt;--&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
              &lt;artifactId&gt;spring-data-hadoop-core&lt;/artifactId&gt;
              &lt;version&gt;2.0.0.M5&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-metastore&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-service&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-common&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-builtins&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-jdbc&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-shims&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-serde&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-contrib&lt;/artifactId&gt;
              &lt;version&gt;0.10.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;properties&gt;
          &lt;java.version&gt;1.7&lt;/java.version&gt;
          &lt;start-class&gt;hello.Application&lt;/start-class&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt; 
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; 
                  &lt;!-- &lt;version&gt;2.3.2&lt;/version&gt; --&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;appassembler-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.2.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;repositoryLayout&gt;flat&lt;/repositoryLayout&gt;
                      &lt;configurationSourceDirectory&gt;src/main/config&lt;/configurationSourceDirectory&gt;
                      &lt;copyConfigurationDirectory&gt;true&lt;/copyConfigurationDirectory&gt;
                      &lt;extraJvmArguments&gt;-Dmr.fw=${mapreduce.framework}&lt;/extraJvmArguments&gt;
                      &lt;programs&gt;
                          &lt;program&gt;
                              &lt;mainClass&gt;hello.Application&lt;/mainClass&gt;
  
                          &lt;/program&gt;
                      &lt;/programs&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;package&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;assemble&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;config&lt;/id&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;configuration&gt;
                              &lt;!-- &lt;tasks&gt;
                                  &lt;copy todir="target/appassembler/data"&gt;
                                      &lt;fileset dir="data"/&gt;
                                  &lt;/copy&gt;
                              &lt;/tasks&gt;--&gt;
                          &lt;/configuration&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;run&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;spring-snapshots&lt;/id&gt;
              &lt;url&gt;http://repo.spring.io/libs-snapshot&lt;/url&gt;
              &lt;snapshots&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;/snapshots&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;spring-snapshots&lt;/id&gt;
              &lt;url&gt;http://repo.spring.io/libs-snapshot&lt;/url&gt;
              &lt;snapshots&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  &lt;/project&gt;
  </code></pre>