Uploaded image for project: 'WildFly Elytron EE'
  1. WildFly Elytron EE
  2. ELYEE-10

Duplicate dependency in pom.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.Beta3
    • None
    • None
    • None

      In root pom.xml file, the wildfly-elytron-realm dependency is defined twice.

      <dependency>
          <groupId>org.wildfly.security</groupId>
          <artifactId>wildfly-elytron-realm</artifactId>
          <version>${version.org.wildfly.security.elytron}</version>
          <scope>provided</scope>            
      </dependency>
      
      <dependency>
          <groupId>org.wildfly.security</groupId>
          <artifactId>wildfly-elytron-realm</artifactId>
          <version>${version.org.wildfly.security.elytron}</version>                
          <scope>test</scope>
      </dependency>
      

      The only difference between the two is the scope, one of which is provided and the other test. The scope provided also covers test so there is no need to duplicate the dependency.

              fjuma1@redhat.com Farah Juma
              clara0 Clara Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: